• Post Reply Bookmark Topic Watch Topic
  • New Topic

How compile samples?  RSS feed

Andrzej Borucki
Ranch Hand
Posts: 90
  • 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
Boost this thread!