Android studio--幾個生成文件的區別:Make Project、Make Module、Build apk、Signed apk


參考資料:

https://stackoverflow.com/questions/35334319/difference-between-make-project-make-module-app-build-apk-and-generate-signed

 

Make Project:- Means you create a real aplication which is working on device and has a executable file like apk.

Make Module:- means you create a library project for you aplication which is executed with that project and has no executable file like apk but has jar files which work as a library.

Build apk: when you normally run your application an apk file is generated locally which is like a zipfile and is easily unzipable no security is implemented and you can get the code from that apk file. It is used basically for local testing.

Signed apk: it is that apk you can create with a password and security and it is not easily unzipable and is used for production.

share improve this answer
 
 
 

According to IntelliJ :

Project:

In the IntelliJ Platform, a project encapsulates all your source code, libraries, and build instructions into a single organizational unit. Everything you do using the IntelliJ Platform SDK is done within the context of a project. A project defines collections referred to as modules and libraries. Depending on the logical and functional requirements to the project, you can create a single-module or a multi-module project.

Module:

A module is a discrete unit of functionality that can be run, tested, and debugged independently. Modules includes such things as source code, build scripts, unit tests, deployment descriptors, etc. In the project, each module can use a specific SDK or inherit SDK defined on the project level (see the SDK section later in this document). A module can depend on other modules of the project.

signed APK:

signed packages to deploy and run your applications on physical devices. Based on this signature, the Android system identifies the author of every deployed application. You do not need to apply for a personal signature to any authority, a signature generated by IntelliJ IDEA is quite sufficient.

Build APK:

In debug mode, you sign your app with a debug certificate generated by the Android SDK tools. This certificate has a private key with a known password, so you can run and debug your app without typing the password every time you make a change to your project.

Android Studio signs your app in debug mode automatically when you run or debug your project from the IDE.

share improve this answer
 
 
 
 未簽名的apk不能安裝,只能調試
 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM