Android Question Error library

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
I created a library (with B4A) and then I compiled it to the Additional Library folder.

Today I changed the package name of this library, but I can't compile my app.
Log is:

B4X:
LogCat connected to: 0123456789ABCDEFG
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
** Activity (main) Create, isFirst = true **
java.lang.NoClassDefFoundError: b4a.example.iresize
    at b4a.example.icontrol._label_create(icontrol.java:83)
    at it.android.imgspa.and_GestPrj.main._activity_create(main.java:351)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
    at it.android.imgspa.and_GestPrj.main.afterFirstLayout(main.java:98)
    at it.android.imgspa.and_GestPrj.main.access$100(main.java:16)
    at it.android.imgspa.and_GestPrj.main$WaitForLayout.run(main.java:76)
    at android.os.Handler.handleCallback(Handler.java:725)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:153)
    at android.app.ActivityThread.main(ActivityThread.java:5297)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    at dalvik.system.NativeStart.main(Native Method)

I have already eliminated the oldest library (jar and xml) and replaced them with the same, after compiling with: Project -> Compile to library

The oldest package name was: b4a.example
The new is: it.android.imgspa.iResize
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Ok solved.
I compiled 2 library that they were both with the package name incorrect.
 
Upvote 0
Top