Mikael Gyth
Topic Author
Posts: 33
Joined: 15 Aug 2013, 12:53

Android Crashes

16 Oct 2014, 08:52

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)
 
picpic2006
Posts: 71
Joined: 07 Nov 2013, 15:59

Re: Android Crashes

16 Oct 2014, 08:59

Hi,

Do you set the noesis setting deploy to android to ?
 
Mikael Gyth
Topic Author
Posts: 33
Joined: 15 Aug 2013, 12:53

Re: Android Crashes

16 Oct 2014, 09:32

Yes, I have DX9 and Android set as Build platforms.
 
User avatar
sfernandez
Site Admin
Posts: 3154
Joined: 22 Dec 2011, 19:20

Re: Android Crashes

16 Oct 2014, 19:48

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.
 
Mikael Gyth
Topic Author
Posts: 33
Joined: 15 Aug 2013, 12:53

Re: Android Crashes

17 Oct 2014, 12:06

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
 
User avatar
sfernandez
Site Admin
Posts: 3154
Joined: 22 Dec 2011, 19:20

Re: Android Crashes

17 Oct 2014, 12:52

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.
 
Mikael Gyth
Topic Author
Posts: 33
Joined: 15 Aug 2013, 12:53

Re: Android Crashes

19 Oct 2014, 16:29

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.
 
User avatar
sfernandez
Site Admin
Posts: 3154
Joined: 22 Dec 2011, 19:20

Re: Android Crashes

20 Oct 2014, 12:05

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.
 
Mikael Gyth
Topic Author
Posts: 33
Joined: 15 Aug 2013, 12:53

Re: Android Crashes

21 Oct 2014, 11:10

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.

Who is online

Users browsing this forum: Google [Bot] and 2 guests