Its not finding the anndroid.jar via the sdk..

Go to googlecode and in the search box type autoandroid..its the ant
library most developers use once that is set up it detects your SDK
home location and handles that..



On Dec 10, 4:41 am, tharun <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When try to build on Ant, I'm facing this problem,
>
> D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin>ant -
> buildfile C:\myAndroid\build.xml
> Buildfile: C:\myAndroid\build.xml
>
> dirs:
>      [echo] Creating output directories if needed...
>
> resource-src:
>      [echo] Generating R.java / Manifest.java from the resources...
>
> aidl:
>      [echo] Compiling aidl files into Java classes...
>
> compile:
>     [javac] Compiling 2 source files to C:\myAndroid\bin\classes
>
> dex:
>      [echo] Converting compiled files and external libraries into
> bin/
> classes.de
> x...
>
> package-res:
>
> package-res-no-assets:
>      [echo] Packaging resources...
>
> debug:
>      [echo] Packaging bin/HelloAndroid-debug.apk, and signing it with
> a debug ke
> y...
>      [exec] java.lang.NoClassDefFoundError: com/android/prefs/
> AndroidLocation$An
> droidLocationException
>      [exec] Exception in thread "main"
>
> BUILD FAILED
>
> Exception error is occurring.
>
> How to resolve this?
>
> Regards,
> Tharun
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to