美文网首页
unity 导出android项目遇到的问题

unity 导出android项目遇到的问题

作者: 成少天地 | 来源:发表于2019-03-22 11:09 被阅读0次

1 gradle 版本不统一,修改gradle版本

image.png image.png

2 解决Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle.
在Project/build.gradle脚本 配置 maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}
buildscript {
repositories {
google()
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
}}
allprojects {
repositories {
google()
maven{
url'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
}}
注意必须在jcenter()方法之上

3
The minSdk version should not be declared in the android manifest file.

解决方案 把manifest.xml 里的sdk最小版本设置都删掉 Androidstudio3.0 以后 不能在manifest.xml 设置这些 必须在 gradle里设置

相关文章

网友评论

      本文标题:unity 导出android项目遇到的问题

      本文链接:https://www.haomeiwen.com/subject/dyllvqtx.html