- Home /
Problem with UnityPlayer extending QCARPlayerActivity
Good afternoon everybody,
I'm trying to extend a Unity Android Activity ((that contains AR content with QCAR)) and adding my custom views in Eclipse.
I've used Unity3d 4.0 Pro Trial Version to export a project to Eclipse and force the Android tarjet to v2.2.
I've followed this guide https://developer.vuforia.com/resources/dev-guide/extending-unity-android-activity-and-adding-custom-views-eclipse.
On Unity I can generate the .APK with my own 3d model and it run perfectly in my Android device. Then, after build tha Android library based on /StartingArea folder from Unity project and build an Android project to call this library as the guide says, Elcipse show me the next errors at Run time::
02-19 17:03:58.070: W/dalvikvm(1469): ERROR: Unable to find decl for native Lcom/unity3d/player/UnityPlayer;.nativeKeysPressed:(Ljava/lang/String;)V 02-19 17:03:58.070: E/dalvikvm(1469): JNI posting fatal error: com/unity3d/player/UnityPlayer 02-19 17:03:58.070: E/dalvikvm(1469): VM aborting
Anyone can help me please?¿
This is the AndroidProject's file system ready to call the library:: https://www.dropbox.com/s/prq2jhyrh4a2wl4/androidProject.png
and this is the library project file system on Eclipse https://www.dropbox.com/s/qm9wzrr79t95kug/libProject.png
Thanks in advance.,