Hi Simon,
All devices need different versions of java.....
What's your workaround for this?
GK
On Oct 20, 8:49 pm, Simon MacDonald <
simon.macdon...@gmail.com> wrote:
> What Java compiler are you using? The reason I ask is that the
> Android SDK will only work with one from Sun (Oracle).
>
> Simon Mac Donaldhttp://
hi.im/simonmacdonald
>
> On Wed, Oct 20, 2010 at 8:42 PM, Kudy <
kevinm...@gmail.com> wrote:
> > I've verified that I have my path sorted out, and my variables
> > correct, and I am still getting an error, this time this:
>
> > "BUILD FAILED
> > java.lang.NoClassDefFoundError: gnu/classpath/Configuration"
>
> > followed by a series of java compile errors. I think I must be
> > missing something simple. Thanks again for all of the help so far!
>
> > On Oct 14, 3:07 am, Dave Johnson <
d...@nitobi.com> wrote:
> >> The android-sdk/tools folder should also be in your path.
> >> On Oct 14, 2010 12:45 AM, "Kudy" <
kevinm...@gmail.com> wrote:
>
> >> > I think I've had a problem with ANDROID_HOME - I've set it in /etc/
> >> > environment and in ~/.bashrc but stillnothad the command "android"
> >> > recognized - what can I do to ensure that it is working, and what
> >> > might I be doing wrong in Ubuntu to set ANDROID_HOME?
>
> >> > I really appreciate all of the help.
>
> >> > On Oct 12, 11:31 am, Dave Johnson <
d...@nitobi.com> wrote:
> >> >> If an androidanttask cannot befoundthen I think that ANDROID_HOME
> >> >> env variable mustnotbe correct...
>
> >> >> On Tue, Oct 12, 2010 at 4:39 AM, Kudy <
kevinm...@gmail.com> wrote:
> >> >> > Dave, thank you very much! Your tips here have helped. I am now
> >> >> > seeing a different error message:
>
> >> >> > "BUILD FAILED
> >> >> > /home/kevin/phonegap-android/framework/build.xml:49: taskdef class
> >> >> > com.android.ant.SetupTask cannot befound"
>
> >> >> > and then it complains that phonegap.jar is missing - I believe this
> >> >> > might be related to the java issue I mentioned in my first post,
> >> >> > something is wrong with my java install that makes itnotcompile
> >> >> > phonegap.jar?
>
> >> >> > Thanks!
>
> >> >> > On Oct 7, 12:55 pm, Dave Johnson <
d...@nitobi.com> wrote:
> >> >> >> There needs to be an index.html file in the folder you specify in
> >> >> >> droidgap create. I think you can try the example folder in the
> >> >> >> phonegap-android folder like "ruby bin/droidgap create example"
>
> >> >> >> In general if you add the bin folder of phonegap-android to your path,
> >> >> >> you should be able to run
>
> >> >> >> "droidgap gen test_app" from wherever you want to create the test_app
> >> >> >> folder. Then from in the test_app folder you can run "droidgap create"
> >> >> >> and it will create a sibling folder called test_app_android.
>
> >> >> >> On Thu, Oct 7, 2010 at 4:41 AM,Kudy<
kevinm...@gmail.com> wrote:
> >> >> >> > I have been trying to get phonegap working for a few weeks now, on
> >> >> >> > Ubuntu. I've finally gotten all of the issues with environment
> >> >> >> > variables and ruby ironed out, but I've run into a problem I haven't
> >> >> >> > seen mentioned elsewhere, and I amnotfamiliar enough with this
> >> stuff
> >> >> >> > to recognize what might be the root of the problem.
>
> >> >> >> > If I run the "new" command ("$ ruby bin/droidgap create test_app"),
> >> I
> >> >> >> > get this error message:
>
> >> >> >> > /home/kevin/phonegap-android/lib/create.rb:32:in `guess_paths': No
> >> >> >> > index.htmlfound! (RuntimeError)
> >> >> >> > from /home/kevin/phonegap-android/lib/create.rb:7:in
> >> `initialize'
> >> >> >> > from bin/droidgap:24:in `new'
> >> >> >> > from bin/droidgap:24:in `<main>'
>
> >> >> >> > If I run the "classic" command ("$ ruby bin/droidgap classic "/home/
> >> >> >> > kevin/android-sdk-linux_86" test_app com.upc.test_app "example/" "/
> >> >> >> > home/kevin/phonegap-android/test_app") I get this error message:
>
> >> >> >> > BUILD FAILED
> >> >> >> > java.lang.NoClassDefFoundError: gnu/classpath/Configuration
> >> >> >> > at com.sun.tools.javac.Main.<clinit>(Main.java:66)
> >> >> >> > at java.lang.Class.forName0(Native Method)
> >> >> >> > at java.lang.Class.forName(Class.java:169)
> >> >> >> > .... [lots more lines with "at blah blah blah"]
>
> >> >> >> > Basically, I think it's failing when building the phonegap.jar file.
> >> >> >> > If I try and run "$antjar" in the framework directory, I get the