| This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
Hi,
I wanna ask about FFI integration of Kony Visualizer (I used Kony Visualizer Version 8 Service Pack 2 Fix Pack 37). When I integrated the FFI to Kony Visualizer I got some trouble.
Some of them were solved by following the steps from this discussion (I got same issues as the author got). Here were some steps I followed:
- The FFI class extended KonyApplication instead of Application.
- Modified tag entries by adding this snippet (the android:name of my Kony was com.orgname.newVidCall)
tools:replace="android:name"
android:name="com.myApps.vCallApp"
After the build process succeed, I installed the .apk file through adb command, and when I launched the application it suddenly force closed.
The error I got from the log was like this:
--------- beginning of crash
02-06 20:55:47.744 16130-16130/com.orgname.newVidCall E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.orgname.newVidCall, PID: 16130
java.lang.RuntimeException: Unable to instantiate application com.myApps.vCallApp: java.lang.ClassNotFoundException: Didn't find class "com.myApps.vCallApp" on path: DexPathList[[zip file "/data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/base.apk"],nativeLibraryDirectories=[/data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/lib/arm, /data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
at android.app.LoadedApk.makeApplication(LoadedApk.java:997)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5869)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1711)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:192)
at android.app.ActivityThread.main(ActivityThread.java:6671)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.myApps.vCallApp" on path: DexPathList[[zip file "/data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/base.apk"],nativeLibraryDirectories=[/data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/lib/arm, /data/app/com.orgname.newVidCall-StsFGltshleZDNvPeRcKjA==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.Instrumentation.newApplication(Instrumentation.java:1093)
at android.app.LoadedApk.makeApplication(LoadedApk.java:991)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5869)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1711)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:192)
at android.app.ActivityThread.main(ActivityThread.java:6671)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:818) Is there any possible way to solve this issue?
I would be glad if anyone could help or give me some hints, because I already stuck for 2 days with the same issue.
Thank you. 🙇