Project Package Generation APK process:
1. Generate signature file and specify location
2. Use the generated signature file to create an APK for project packaging
This article address: http://www.cnblogs.com/wuyudong/p/5903312.html, reprint please indicate source address.
Generate a signature file and specify where
Project Right click-->androidtools-->export Android Application
Next
Next
Next
Use the generated signature file to generate an APK for your project package
Done, the resulting apk will be saved to the desktop
The resulting mobilesafe.apk is then placed on the server, which is the root of Tomcat.
Run the project
The print logs during the download process are as follows:
09-24 03:43:21.962:i/splashactivity (2411): Download .....
09-24 03:43:21.962:i/splashactivity (2411): total = 326733
09-24 03:43:21.962:i/splashactivity (2411): current = 0
09-24 03:43:22.290:i/splashactivity (2411): Download .....
09-24 03:43:22.290:i/splashactivity (2411): total = 326733
09-24 03:43:22.290:i/splashactivity (2411): current = 12026
09-24 03:43:23.838:i/splashactivity (2411): Download .....
09-24 03:43:23.838:i/splashactivity (2411): total = 326733
09-24 03:43:23.838:i/splashactivity (2411): current = 113174
09-24 03:43:26.734:i/splashactivity (2411): Download .....
09-24 03:43:26.734:i/splashactivity (2411): total = 326733
09-24 03:43:26.734:i/splashactivity (2411): current = 285158
09-24 03:43:26.846:i/splashactivity (2411): Download .....
09-24 03:43:26.846:i/splashactivity (2411): total = 326733
09-24 03:43:26.846:i/splashactivity (2411): current = 326733
09-24 03:43:26.846:i/splashactivity (2411): Download Successful
The download is successful and the APK installation will be implemented in the next article
Android Phone Defender--Package build APK maintenance to server