About Store Forum Documentation Contact



Post Reply 
Android Error [Runtime error]
Author Message
ronghester Offline
Member

Post: #1
Android Error [Runtime error]
After build when app is trying to run..It crashes with following error.

Time(12:57:32), App(AndroidRuntime): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.comp.game/com.raxis.busystreet.EsenthelActivity}: java.lang.IllegalArgumentException: Unable to load native library: /data/app/com.comp.game-1/lib/arm/libProject.so

System Info is attached.

Thanks
(This post was last modified: 06-11-2018 05:36 AM by ronghester.)
06-10-2018 02:26 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Android Error [Runtime error]
Hi,

What's your :
1) Android device model?
2) Android device OS version?
3) Android SDK and NDK version?
4) Can you run any of the Editor's tutorial projects on your android?
5) Full name of your Application Package Name? (from Application properties)
6) Are you building the app through Esenthel Editor or somehow manually?
06-11-2018 12:52 AM
Find all posts by this user Quote this message in a reply
ronghester Offline
Member

Post: #3
RE: Android Error [Runtime error]
Thing is the setup i have was working with older version of editor but since i upgraded the editor build ..it is giving this problem.

1) Android device model?
1+
2) Android device OS version?
5.1.1
3) Android SDK and NDK version?
SDK Version (r22.6.2) Due to zip align problem i had installed it as suggested in this thread. (http://www.esenthel.com/forum/showthread.php?tid=7866)
I had to install API level 18 since that was minimum SDK required. Then I have API level 24-26.
NDK - r13b
4) Can you run any of the Editor's tutorial projects on your android?
No..
5) Full name of your Application Package Name? (from Application properties)
com.mycompany.thetouchapp
6) Are you building the app through Esenthel Editor or somehow manually?
Yes, using Esenthel Editor only.
06-11-2018 05:54 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Android Error [Runtime error]
Hi,

Quote:1) Android device model?
1+
Sorry I don't understand, what Android device is this?

Please try updating Android NDK and SDK to latest versions.
After that:
in Esenthel Editor do "Build\Clean All" and rebuild the app.

Let me know how it goes.
06-11-2018 06:13 AM
Find all posts by this user Quote this message in a reply
ronghester Offline
Member

Post: #5
RE: Android Error [Runtime error]
Hi Esenthel,

1+ is OnePlus android Phone. The error was related to NDK, I think the newer version of editor needs the latest NDK. SO i downloaded new NDK and problem was solved.

Also noticed that there are only lib for arm64 & arm, so support for X86 is dropped ? what is harm in keeping the X86 library.

Thanks
(This post was last modified: 06-11-2018 04:50 PM by ronghester.)
06-11-2018 04:40 PM
Find all posts by this user Quote this message in a reply
Post Reply