Good afternoon,
I know, this is an old thread from myself. But this question is related to this thread ...
In the meantime, the Problems which I have described above, where solved. Citrix developed an update and the Problems were gone. But now, Citrix again deployed an update and I have a new Problems. After compiling my App and convert it to the Citrix-Format, my app crashes. I found the following Errors in the log:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{b4a.example/b4a.example.main}: java.lang.ClassNotFoundException: Didn't find class "b4a.example.main" on path: DexPathList[[zip file "/data/app/b4a.example-1.apk"],nativeLibraryDirectories=[/data/app-lib/b4a.example-1, /vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
at android.app.ActivityThread.access$900(ActivityThread.java:174)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "b4a.example.main" on path: DexPathList[[zip file "/data/app/b4a.example-1.apk"],nativeLibraryDirectories=[/data/app-lib/b4a.example-1, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at com.citrix.mdx.b.b.a(Unknown Source)
at com.citrix.mdx.b.b.loadClass(Unknown Source)
at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2296)
... 11 more
Before I open a call at Citrix, I want to ask you, what this means?
I think, the MAIN-activity is lost, right?
Is there a possibility to add an additional "special entry" to the manifest, which explicitly defines the MAIN?
Is the manifest, which is created from Basic4Android different from the one, created with Android Studio?
Sorry, I have no great Knowledge of JAVA- and Android-programming.
Thank you for your time!
Kind regards,
Wolfgang