Windows XP and ClassNotFoundException with Titanium Dev 1.2.1
Hi All,
I'm running into troubles I hope someone can shed light on.
My system: Windows XP SP3 patched, Titanium Developer 1.2.1, latest Android SDK R05 (fully downloaded and installed yesterday 10 april).
At first I was running into the project not getting Android bug, but replacing the android.py seemed to fix that.
Now, the app seems to be created (for APIs 2.1) and installed into the emulator.
Running ddm.bat lets me see that my app is loaded, and the home screen shows up, but I get the exception "java.lang.RuntimeException: Unable to instantiate application com.fb.test4.Test4Application: java.lang.ClassNotFoundException: com.fb.test4.Test4Application in loader dalvik.system.PathClassLoader…"
So it seems that the generation of the supporting java classes is having troubles for some reason…
The trace from Titanium Developer is: http://pastie.org/913885
The full log from the emulator is:
http://pastie.org/913887
3 Answers
-
Ah, I saw on another post that the minimum JDK is 1.6. I had the jre 1.6, and the jdk 1.5, so obviously no go. I'm downloading the latest JDK right now.
It would have been nice for Titanium Developer to check the versions of required software and complain if the requisite software were not present, rather than to fail with obscure errors.
-Ken
-
Just for the record, upgrading to the latest java seemed to fix this just peachy.
-Ken
-
Ken, I agree see Ticket 681