Page 1 of 1
Android Crashes
Posted: 16 Oct 2014, 08:52
by Mikael Gyth
Hello.
I have been having trouble with deploying to Android. I have tried with just adding the NoesisGUIPanel with a Xaml and without a Xaml and the result is the same. The application crashes immediately after the Unity loading screen is done.
-I have the setting set to the recommended values as per the documentation (Android 2.3.3 and GL 2.0)
-I have the latest SDKs for Android.
-I have the latest version of Java.
-I have the latest version of NoesisGUI.
- It builds and rund fine in the editor and the standalone version
-The device that I am deploying to is Android 4.3. ( it also chrashes on AVDs)
Re: Android Crashes
Posted: 16 Oct 2014, 08:59
by picpic2006
Hi,
Do you set the noesis setting deploy to android to ?
Re: Android Crashes
Posted: 16 Oct 2014, 09:32
by Mikael Gyth
Yes, I have DX9 and Android set as Build platforms.
Re: Android Crashes
Posted: 16 Oct 2014, 19:48
by sfernandez
Do you have problems with the scenes we provide in our package?
In that case we will need the logcat (you can use
mLogcat) to see if any error is being logged.
Re: Android Crashes
Posted: 17 Oct 2014, 12:06
by Mikael Gyth
Hello.
The samples provided run fine, when I start them from a fresh project. When I run them from the same project as the "problem" project they crash too. So I'm guessing there is some problem with the settings somewhere.
Logfile from logcat, run on an emulator
Re: Android Crashes
Posted: 17 Oct 2014, 12:52
by sfernandez
There is an error trying to initialize our GL ES renderer:
Noesis : NS_ERROR: BGRA888 extension not found: com.a3ds.eggit
It seems emulator does not provide a device with enough capabilities to run our software.
We will investigate this issue and let you know if we can manage an alternative.
Re: Android Crashes
Posted: 19 Oct 2014, 16:29
by Mikael Gyth
OK. If it helps the emulator was running the default AVD for Nexus-5.
I rebuilt the project from the ground up and the problem went away. I am still not sure what caused it. Noesis was working fine in the editor and standalone, but crashed on Android.
Re: Android Crashes
Posted: 20 Oct 2014, 12:05
by sfernandez
Sorry, I'm a bit confused... did your project initially crash on an Android device or only using the AVD?
Are you saying that after starting a new project from scratch you are able again to run any sample in your Android device? Also in the AVD?
Can we get a copy of the failing project to figure out what was wrong with it?
Thanks for your collaboration.
Re: Android Crashes
Posted: 21 Oct 2014, 11:10
by Mikael Gyth
Hello.
Initially the project crashed on all Android devices AVD and Physical.
And yes, after rebuilding the project we where able to run it without any problems.
If you PM me an email address, i can send you a download link to the troubled project.