简体   繁体   中英

What could be the reason a file (app-release-unsigned.apk from Android Studio) does not open on an android phone from g-mail?

The file is in the build->outputs->apk folder from a project I built in Android Studio. What I've done prior to sending that file is open Run/Debug configurations, chose the gradle project and task "assemble", then Apply, Ok, and run the project.

Android requires that all APKs be digitally signed with a certificate before they can be installed.

https://developer.android.com/studio/publish/app-signing.html

This has instructions for how to sign the unsigned application.

The official documentation does not say anything about whether allowing unknown sources permits unsigned applications to be installed, but this question suggests this is the case: What is the differences between `export signed` and `unsigned` .apk file?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM