"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

App Chrashes After Starting

Hi, i need help again :-) Evreytime i try build an app it closes right after the screen is getting dark and a message appears. Which says something like "sadly your app is closed" (Translation from German Android version). Even when i try to Build one of the sample app´s "Frame Markers" for example The device is a Samsung Galaxy Nexus Android version 4.0.4 Vuforia version: 1.5.9 Thanks, Ihno

DavidBeard

Tue, 05/08/2012 - 00:58

To confirm, are you running ndk-build on the samples before attempting to install them? Can you provide a log file of your build and run session? - you can get this from Eclipse or via ADB ( adb logcat -d > logcat.txt ) from a command line.

Ok... This works... but i dont know how i can build my Projekt like this... I always build out of Unity... If i try Eclipse tells me: Choose a valid Android code directory (AndroidManifest.xml not found in XXXXXX.) Unity´s build´s are still closing...

DavidBeard

Tue, 05/08/2012 - 05:04

OK. So you are using the Unity Extension, and not the native Android SDK. In that case, you should build and run from Unity. Try opening Eclipse before you attempt to build from Unity. Your device should appear in the DDMS view.

DavidBeard

Tue, 05/08/2012 - 20:06

This is the culprit.. [CODE]05-08 07:17:05.828: E/AndroidRuntime(3157): FATAL EXCEPTION: main 05-08 07:17:05.828: E/AndroidRuntime(3157): java.lang.NoSuchMethodError: com.unity3d.player.UnityPlayer.windowFocusChanged 05-08 07:17:05.828: E/AndroidRuntime(3157): at com.qualcomm.QCARUnityPlayer.QCARP