Home > Mobile >  Android studio
Android studio

Time:09-24

Application of Android studio developed using qq to them after installation failure, how to solve? Everyone a great god for answers

CodePudding user response:

Everyone a great god, help me! I am a beginner, don't know much about these things

CodePudding user response:

The generated apk need signature.

CodePudding user response:

Studio3.0 version, run run the generated apk its application will have testOnly="true" attribute, and testOnly software installed only by the adb,
Method a
If the apk from studio, not by the adb install, then through Build> Build the Bundle (s)/APK (s) & gt; Build APK (s) to generate the APK,
Way two
In gradle. The properties (project root directory or gradle global configuration directory ~/. Gradle/) file to add an android. After injected. TestOnly=false, run the generated apk can directly use the

CodePudding user response:

Under the Build toolbar options, please select Generate Signed Apk function, then in the pop-up dialog box to select the signature file (Choose existing), if there is no signature file select Create new to Create a new signature file, and then enter the password corresponding to the signature file, alias, alias password and then click the Next, and Choose the V1 and V2 or selection can be, after the Apk exists in "project drive: \ project folder name \ app \ release" directory, the folder of the app - the Apk file can be sent to you friends,

CodePudding user response:

To be specially compiled into apk, compiled cannot send someone to install directly, to Build - & gt; Build the Bundle (s)/APK (s) & gt; After Build APK (s), the APK send someone else to use

CodePudding user response:

Are you a real machine simulation, and then send the app using QQ to others? Suggest take a look at this https://blog.csdn.net/woaichimahua/article/details/54427528

CodePudding user response:

According to the installation times wrong clew to solve, generally is signed,