Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How compile samples?

 
Andrzej Borucki
Ranch Hand
Posts: 83
1
  • Mark post as helpful
  • send pies
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic