Android项目中嵌套unity出现your hardware does not support this application,sorry!
来源:互联网 发布:安卓手机vb6.0编程软件 编辑:程序博客网 时间:2024/05/29 16:31
**
最近遇见这个问题 卡了我好几天 今天终于解决了 下面把解决办法分享给大家
**
问题是打开app直接弹出下面的弹框 点击ok 就退出!
遇到这样的问题 是因为libs文件夹的so文件出现了问题:
**
解决办法 一
我们公司unity导出来的so文件,只有v7a和x86这两个文件夹, 而我的项目中,引入的module中,有一个module的libs里边有v8a,x86,v7a,x86_64的,然后我只留下x86和v7a的(只留下文件夹名字相同的文件夹),其他的文件夹都删掉(我这里删除的是v8a,x86_64),然后clean一下,运行就可以了**
下面我把项目中的libs文件夹贴出来:
解决办法二
编辑app目录下的build.gradle文件,为其添加以下代码:
sourceSets { main { jniLibs.srcDirs = ['libs'] } }
添加完之后的代码:
apply plugin: 'com.android.application'android { compileSdkVersion 20 buildToolsVersion "20.0.0" defaultConfig { minSdkVersion 9 targetSdkVersion 20 versionCode 1 versionName "1.0" } buildTypes { release { runProguard false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main { jniLibs.srcDirs = ['libs'] } }}
这两种方法是在我自己项目中亲自试过的 通过这两种方法我的问题解决利了 希望这两种解决办法能帮助到您!
3 0
- Android项目中嵌套unity出现your hardware does not support this application,sorry!
- Unity3D的android项目启动报错:your hardware does not support this application
- Unity3D的android项目启动报错:your hardware does not support this application
- Unity3D的android项目启动报错:your hardware does not support this application
- Unity3D android项目启动:your hardware does not support this application
- Your CPU does not support required features (VT-x or SVM).This computer does not support VT-x.
- SharePoint-- Your client does not support opening this list with Windows Explorer
- Your browse does not support frame!
- Your browse does not support frame!
- your cpu does not support NX
- jstl core中出现"value" does not support runtime expressions
- Your ID is under ID protection. Your current version does not support this function. Please download the latest Simplified Chine
- this instrument does not support osx
- This cache store does not support tagging
- This cache store does not support tagging.
- package android.hardware.fm does not exist
- 给trac安装accountmanager时出现“This password store does not support listing users”
- 错误-Android-OpenCV-It seems that your device does not support camera(or it is locked)
- 多线程执行父类和子类中的同步方法的结论
- Spark开发笔记(2017-05-04)
- mysql sql语句大全
- Android屏幕values-sw适配
- 实时监控系统
- Android项目中嵌套unity出现your hardware does not support this application,sorry!
- input required字段;django input输入框不填写会自动变红如何修改
- 关于图片加载框架Glide
- 类装载
- ES6 -- 最佳代理:Proxy
- hive中的TextFile转为SequenceFile
- android manifest merge failed 依赖第三方库存在 android:name=".VideoApplication"
- 小白笔记2
- web service接口 wsdl和asmx有什么区别