Hello,
I am trying to learn how to create my first library and I have followed the video on how to do it (Basic4android Tutorial - Creating a library - YouTube).
I seem to get to the point to test it on my device but the app hangs and closes and the Log says:
I can't seem to work out what I have done wrong?
(think it has something to do with some class missing?)
I have attached my example to this post hoping someone might know why it's not working.
(this is my first time using eclipse, so hope I have included the correct files.)
(Whops, noticed that there is a 'Libraries developers questions' forum, maybe I should of posted this in there)
I am trying to learn how to create my first library and I have followed the video on how to do it (Basic4android Tutorial - Creating a library - YouTube).
I seem to get to the point to test it on my device but the app hangs and closes and the Log says:
LogCat connected to: B4A-Bridge: samsung GT-I9210T-359629040192745
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
Streams_terminated
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
running waiting messages (2)
** Activity (main) Resume **
Installing file.
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:b4a.example
main_process_globals (java line: 318)
java.lang.NoClassDefFoundError: anywheresoftware.b4a.trial.Trial
at b4a.example.main._process_globals(main.java:318)
at b4a.example.main.initializeProcessGlobals(main.java:288)
at b4a.example.main.afterFirstLayout(main.java:81)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:72)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Resume **
I can't seem to work out what I have done wrong?
(think it has something to do with some class missing?)
I have attached my example to this post hoping someone might know why it's not working.
(this is my first time using eclipse, so hope I have included the correct files.)
(Whops, noticed that there is a 'Libraries developers questions' forum, maybe I should of posted this in there)
Attachments
Last edited: