• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How compile samples?

 
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have Eclipse Mars+ADT+Android SDK. I choose File->New->Project->Android Sample Project, Next.
I can only compile "Legacy" projects, for example Spinner. Is problem when I try other.
I try compile ApiDemos, but it have import com.google.android.mms.pdu.*
This is in http://www.java2s.com/Code/Jar/a/Downloadandroidsrcjar.htm in android-src.jar but is source, not class. Where are classes? or how to use source java in my project?
I use "Add External JAR" but imports are still bad.
android-src.jar is obsolete.
I try download from http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/5.1.0_r1 but at left side is tree with com.google but such folder is not in jar!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic