x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Cant get app to run on Android

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

Product Version: Not Selected
Tags:
more ▼

asked Jul 10 '14 at 10:40 PM in Packaging & Deployment

avatar image

invayne
37 8 14 18

avatar image Shadowriver Jul 10 '14 at 10:42 PM

java.lang.ClassNotFoundException: Didn't find class "com.nissyokugames.ue4.GameActivity" on path: /mnt/asec/com.nissyokugames.HootyHoot-1/pkg.apk at

I think there might be some class naming issues on java side

avatar image invayne Jul 10 '14 at 10:44 PM

Would that be the android side or my side im not good with java so no idea what any of these errors mean

avatar image invayne Jul 11 '14 at 09:28 AM

bumping to hopefully get an answer

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thanks!

more ▼

answered Dec 02 '14 at 05:32 PM

avatar image

[Epic] Gribbs ♦♦ STAFF
11.8k 292 14 76

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question