unity 导出android项目遇到的问题

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里设置

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容