Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包出来的apk,在安卓9.0 第一次安装时,提示“此应用转为旧安卓打造” #8

Open
lqz opened this issue Sep 24, 2019 · 2 comments

Comments

@lqz
Copy link

lqz commented Sep 24, 2019

查了资料说是,这种问题,是从Android9开始,操作系统对minSdk进行了限制造成的
解决方法是,在gradle中调高minSdkVersion即可

但有时调高minSdkVersion也解决不了问题,原因是其它原因间接导致了minSdkVersion过低
比如多个模块在资源合并时,发生了错误,造成了minSdkVersion丢失,使得最终的minSdkVersion等于0。

检查了Unity工程本身,应该没有问题,因为直接用unity编辑器打包出来是不存在问题的。

所以想问下,咱们的这个工程里有没有设置 minSdkVersion的地方。我修改一下。

微信图片_20190924144249

@lqz
Copy link
Author

lqz commented Sep 27, 2019

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants