Solution to APK packaging failure under Android studio

Solution to APK packaging failure under Android studio

Today, I encountered a strange problem. The program that was originally running well on Android studio 1.4 failed to package on my updated Android studio 2.1, but running it directly with a debugger is no problem.

Finally, the following code is added to build.gradle under app:

The reason seems to be that the project is checked during packaging, and our project cannot pass if there are improper operations. Of course, the packaging fails, and the solution is to ignore these checks.

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>