Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic