Android build error - Resource ID not found
I recently bought NoesisGUI, and I created a simple .xaml file in Blend along with a new Unity project to load it. It works fine when I play it in the editor, but it crashes when I try to run it on an Android device. The log shows:
In Unity, that file is located in the "gui" directory under the main Assets folder. It looks like the resource ID should be 'Unity/Assets/gui/...' instead (or possibly just 'Assets/gui/...').
I'm running the latest version (v1.1.10) with Unity 4.5.3. Am I missing something simple?
thanks,
Phong
Code: Select all
08-26 07:22:42.258: E/Noesis(27981): NS_ERROR: [ANDROID] Resource ID for 'Unity/Unity/gui/UserControl1.xaml' not found
I'm running the latest version (v1.1.10) with Unity 4.5.3. Am I missing something simple?
thanks,
Phong
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Re: Android build error - Resource ID not found
Probably you forgot to build resources for the Android platform.
If you take a look at the First Steps with NoesisGUI in Unity, the section Configuring NoesisGUI talks about NoesisGUI Settings window, where you can select the platforms that will be built when generating a standalone. And in the section Building on Android (1. Optimize deployed data) we explain how to optimize the the size of the standalone by including only the resources built for the Android platform.
We want to improve this for a future release, to make this process automatic.
If you take a look at the First Steps with NoesisGUI in Unity, the section Configuring NoesisGUI talks about NoesisGUI Settings window, where you can select the platforms that will be built when generating a standalone. And in the section Building on Android (1. Optimize deployed data) we explain how to optimize the the size of the standalone by including only the resources built for the Android platform.
We want to improve this for a future release, to make this process automatic.
Re: Android build error - Resource ID not found
You're right! I had not checked the Android box in the NoesisGUI settings. Thanks for the quick response!
Who is online
Users browsing this forum: Ahrefs [Bot], MaskARRA and 22 guests