About Store Forum Documentation Contact



Post Reply 
Ineisis on Android - Crash at start
Author Message
Ozmodian Offline
Member

Post: #1
Ineisis on Android - Crash at start
Hi There,

I am trying to compile the Ineisis Client on my Google Nexus 7 but it crashes as soon as it tries to load. The Log output is below.

Any idea what I am doing wrong? I have downloaded all the most up to date files. It runs fine in on Windows, just not Android.

Also, looks like google released SDK version 21.0.1 and 16.01 and EE does not handle this yet. Can you please update the engine to handle the new?

Thanks as always for the support.


Quote:Time(22:27:08), App(ActivityManager): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.RBD.Ineisis/android.app.NativeActivity} from pid 810
Time(22:27:08), App(ActivityManager): Start proc com.RBD.Ineisis for activity com.RBD.Ineisis/android.app.NativeActivity: pid=11576 uid=10094 gids={50094, 1015, 3003, 1028}
Time(22:27:08), App(libOpenSLES): class OutputMix interface 0 requested but unavailable MPH=28
Time(22:27:08), App(libOpenSLES): Leaving Engine::CreateListener (SL_RESULT_FEATURE_UNSUPPORTED)
Time(22:27:08), App(libEGL): loaded /system/lib/egl/libEGL_tegra.so
Time(22:27:08), App(ActivityManager): Displayed com.RBD.Ineisis/android.app.NativeActivity: +123ms
Time(22:27:08), App(libEGL): loaded /system/lib/egl/libGLESv1_CM_tegra.so
Time(22:27:08), App(InputMethodManagerService): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4195f2e0 (uid=10035 pid=810)
Time(22:27:08), App(libEGL): loaded /system/lib/egl/libGLESv2_tegra.so
Time(22:27:08), App(Esenthel): Can't load "Main"
Time(22:27:08), App(ActivityManager): Process com.RBD.Ineisis (pid 11576) has died.
Time(22:27:08), App(WindowState): WIN DEATH: Window{41ac4880 u0 com.RBD.Ineisis/android.app.NativeActivity}
Time(22:27:08), App(ActivityManager): Force removing ActivityRecord{41826af8 u0 com.RBD.Ineisis/android.app.NativeActivity}: app died, no saved state
Time(22:27:08), App(InputMethodManagerService): Got RemoteException sending setActive(false) notification to pid 11576 uid 10094
Time(22:27:08), App(Zygote): Process 11576 exited cleanly (255)
01-03-2013 08:50 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Ineisis on Android - Crash at start
Hi,

The error is "Time(22:27:08), App(Esenthel): Can't load "Main""
which means shaders loading failed, perhaps you didn't add engine.pak or didn't load it from the codes?

I have SDK version 21.0.1 and 16.01 and it works correctly. Please provide more info if is fails to compile.
01-03-2013 02:44 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #3
RE: Ineisis on Android - Crash at start
Thanks for the quick reply. That was stupid of me, i didn't realize i needed to move my pointer to the Android version of EE. Ok, got that part resolved but now I am getting a compilations error in the Android NDK. I have attached screenshots of the output below.


   

   

   

   
01-04-2013 04:07 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Ineisis on Android - Crash at start
Hello

1) Are you using latest EE Android SDK?
2) Did you modify anything in the EE Android SDK folder (like replace some header files)?
01-04-2013 05:03 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #5
RE: Ineisis on Android - Crash at start
As far as I know I am using the latest EE Android SDK. I will try re-downloading and trying again. No, i didn't modify anything. Using a clean build of Ineisis and EE. I will try some things again tomorrow.

Thanks again for the help and sorry if i am just doing something stupid.
01-06-2013 05:53 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #6
RE: Ineisis on Android - Crash at start
My EE Android SDK was a few days out of date. I re-downloaded it and it compiled. Thanks!
01-09-2013 06:47 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #7
RE: Ineisis on Android - Crash at start
Hi There,

Ok, so i am again able to compile but still get the same error i originally posted when it tries to start Esenthel Client on my Android Tablet. You said "you didn't add engine.pak " but i don't know how to do that. How do you add engine.pak to the Ineisis client?

Again, sorry if this is a silly question. I am still trying to get a handle on all this.

Regards

Sorry, just to add 1 more thing. I am pretty sure my engine.pak is there: see attached


Attached File(s) Image(s)
   
(This post was last modified: 01-10-2013 05:55 AM by Ozmodian.)
01-10-2013 05:35 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Ineisis on Android - Crash at start
Please check if the file has pak extension

You add paks in the InitPre function
Please verify that you have Paks.add("engine.pak") ; there
01-15-2013 10:19 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #9
RE: Ineisis on Android - Crash at start
Hi Esenthel,

Thanks as always for the help. I have added the following line to

Client InitPre()

Paks.add("engine.pak");

Now however i am getting a different error.

"Time(00:11:15), App(ActivityManager): Displayed com.RBD.Ineisis/android.app.NativeActivity: +347ms
Time(00:11:15), App(libEGL): loaded /system/lib/egl/libEGL_tegra.so
Time(00:11:15), App(libEGL): loaded /system/lib/egl/libGLESv1_CM_tegra.so
Time(00:11:15), App(libEGL): loaded /system/lib/egl/libGLESv2_tegra.so
Time(00:11:15), App(Esenthel): Can't load "gui/style/win_bar_grey.gfx"
Time(00:11:15), App(WindowState): WIN DEATH: Window{418c1928 u0 com.RBD.Ineisis/android.app.NativeActivity}
Time(00:11:15), App(ActivityManager): Process com.RBD.Ineisis (pid 15468) has died.
Time(00:11:15), App(ActivityManager): Force removing ActivityRecord{419d95b8 u0 com.RBD.Ineisis/android.app.NativeActivity}: app died, no saved state
Time(00:11:15), App(Zygote): Process 15468 exited cleanly (255)"
01-16-2013 09:15 AM
Find all posts by this user Quote this message in a reply
Skykill Offline
Member

Post: #10
RE: Ineisis on Android - Crash at start
Can't load "gui/style/win_bar_grey.gfx"

Make sure the "Data" folder path is set to the correct specified location.
01-16-2013 03:56 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #11
RE: Ineisis on Android - Crash at start
Yeah, i still feel dumb


I feel like i have added the 2 .PAK files correctly, but i still get the error below at run time. It compiles fine for windows, just not Android. And i can run the Android default project ok on my device. I am clearly doing something very stupid... sorry for all the posts.

   
   


Time(21:32:00), App(ActivityManager): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.RBD.Ineisis/android.app.NativeActivity} from pid 832
Time(21:32:00), App(ActivityManager): Start proc com.RBD.Ineisis for activity com.RBD.Ineisis/android.app.NativeActivity: pid=15621 uid=10109 gids={50109, 1015, 3003, 1028}
Time(21:32:00), App(libOpenSLES): class OutputMix interface 0 requested but unavailable MPH=28
Time(21:32:00), App(libOpenSLES): Leaving Engine::CreateListener (SL_RESULT_FEATURE_UNSUPPORTED)
Time(21:32:00), App(ActivityManager): Displayed com.RBD.Ineisis/android.app.NativeActivity: +233ms
Time(21:32:00), App(libEGL): loaded /system/lib/egl/libEGL_tegra.so
Time(21:32:01), App(libEGL): loaded /system/lib/egl/libGLESv1_CM_tegra.so
Time(21:32:01), App(libEGL): loaded /system/lib/egl/libGLESv2_tegra.so
Time(21:32:01), App(Esenthel): Can't load "gui/style/win_bar_grey.gfx"
Time(21:32:01), App(WindowState): WIN DEATH: Window{4196e8c8 u0 com.RBD.Ineisis/android.app.NativeActivity}
Time(21:32:01), App(ActivityManager): Process com.RBD.Ineisis (pid 15621) has died.
Time(21:32:01), App(ActivityManager): Force removing ActivityRecord{418cd5f8 u0 com.RBD.Ineisis/android.app.NativeActivity}: app died, no saved state
Time(21:32:01), App(Zygote): Process 15621 exited cleanly (255)
Time(21:32:01), App(InputMethodManagerService): Got RemoteException sending setActive(false) notification to pid 15621 uid 10109
01-17-2013 06:39 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
RE: Ineisis on Android - Crash at start
Hi,

Your data.pak file seems suspiciously too small size.
Please check if it actually contains the required files.
Ineisis Data should be around 32MB, did you download from the store both source plus data package? first try to run it on windows platform.

Also: engine.pak is copied to assets folder automatically.
custom paks should not be dropped into assets folder, but should be dropped into code editor project (just looked at your screen and you have there the data.pak so it should be ok)

I just think you haven't included the files in the data.pak
01-18-2013 04:33 PM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #13
RE: Ineisis on Android - Crash at start
Hi Esenthel,

You have the patience of a saint. I didn't realize i had to zip up the Esenthel data file, i was using the data file from the android sdk (yeah, really stupid now that i can put it all together).

Sorry for all the wasted time, i have it working now.

Thanks again for your help.
01-18-2013 05:41 PM
Find all posts by this user Quote this message in a reply
Post Reply