无法找到QCARWrapper [英] Unable to find QCARWrapper
问题描述
我创建一个团结QCAR项目,我可以成功地在Android上的统一运行。不过,我遇到它导出到Eclipse Android项目的一个问题。我按照从<一的说明href=\"http://unity3d.com/support/documentation/Manual/Android-Integrating%20Unity%20With%20Eclipse.html\"相对=nofollow>这里但是当我尝试运行应用程序我碰到下面的错误在logcat中
I've created a QCAR project in Unity which I can successfully run on Android from Unity. However, I'm encountering a problem exporting it to an Eclipse android project. I have followed the instructions from here but when I try to run the app I get the following error in the logcat
01-19 16:20:42.521: D/dalvikvm(30361): Trying to load lib /data/data/com.my.app/lib/libQCARWrapper.so 0x4824dce8
01-19 16:20:42.521: I/dalvikvm(30361): Unable to dlopen(/data/data/com.my.app/lib/libQCARWrapper.so): Cannot load library: find_library[1188]: 2389 'libQCARWrapper.so' failed to load previously
01-19 16:20:42.521: E/Unity(30361): Unable to find QCARWrapper
丢失的文件是在我的图书馆项目,但不是我的Android项目。我试图把它直接在我的项目和不同的构建路径组合,但没有成功。
The missing file is in my library project but not my Android project. I have tried putting it directly in my project and various build path combinations but with no success.
推荐答案
与Eclipse集成,并与特别是如果你使用的是OBB分路器/ APK扩展包冲突的AndroidManifest.xml文件引起的,当我有同样的问题。诀窍在于搜索结果
1)取当您导入Vuforia的统一包装进口舱单文件的备份。结果
2)取一个备份谷歌OBB下载包添加到项目后。结果
3)这些两个文件合并成一个AndroidManifest.xml文件确保realted的所有活动,以UnityPlayerXXXXX.activity和QcarUnityPlayerXXXXXX.activity是在清单中声明。
搜索结果
瞧!!! ...
I had the same issue when integrating with Eclipse and is caused with a conflicting AndroidManifest.xml file especially if you are using an OBB splitter/APK Expansion pack. The trick is to
1) Take a backup of the Manifest file imported when you import Vuforia's Unity package.
2) Take a backup after the Google OBB Downloader package is added to the project.
3) Merge these both files into one AndroidManifest.xml file ensuring that all activities realted to "UnityPlayerXXXXX.activity" and "QcarUnityPlayerXXXXXX.activity" are declared in the manifest.
and Voila !!!...
这篇关于无法找到QCARWrapper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!