So i cooked my app using the android package choice so that i can make my game available to all android versions problem is from the 2.3 version all the way to the lastest version the game wont start. just crashes an says it cant find path. now i uploaded both the apk file an added the .obb file as a expanion file but its just not working no matter how many times i cook it. now in order to sign an align the .apk file i had to use cmd console because UE4 only signs an aligns in debugg mode not in release mode. im using C:\NVPACK\jdk1.6.0_45\bin\jarsigner -verbose -keystore key/donate.keystore -signedjar HootyHoot-Android-Shipping-armv7_signed.apk HootyHoot-Android-Shipping-armv7.apk donate.keystore to sign the .apk though cmd an then i use zipalign -v 4 with my file paths to align the .apk an that all works fine no errors intill it makes it to a android phone. an so the code below is what is getting reported from the phones.
Latest version: Android version Android 4.1
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nissyokugames.HootyHoot/com.nissyokugames.ue4.GameActivity}: java.lang.ClassNotFoundException: Didn’t find class “com.nissyokugames.ue4.GameActivity” on path: /mnt/asec/com.nissyokugames.HootyHoot-1/pkg.apk
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2155)
at android.app.ActivityThread.access$700(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5062)
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:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.nissyokugames.ue4.GameActivity” on path: /mnt/asec/com.nissyokugames.HootyHoot-1/pkg.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2032)
oldest version: Android version Android 2.3.3 - 2.3.7
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nissyokugames.HootyHoot/com.nissyokugames.ue4.GameActivity}: java.lang.ClassNotFoundException: com.nissyokugames.ue4.GameActivity in loader dalvik.system.PathClassLoader[/data/app/com.nissyokugames.HootyHoot-1.apk]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1580)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1674)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3728)
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:931)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.nissyokugames.ue4.GameActivity in loader dalvik.system.PathClassLoader[/data/app/com.nissyokugames.HootyHoot-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1572)
If you need more information just ask. if you need me to cook my app again an attach the output file i can do that as well.
Any help on this would be great!
Thanks in advance