• 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.

    shareimprove 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.

    shareimprove this answer
     
     
     
     未签名的apk不能安装,只能调试
     
  • 相关阅读:
    Jenkins发布遇到的问题
    js相关问题总结
    代码洁癖症轻度患者-页面显示状态判断解决方案
    eclipse没有打断点,项目确仍然要进入断点的问题。
    liunx新装tomcat之后,tomcat不能识别新发布的项目
    phpstorm+xdebug单步调试的配置
    laravel 路由前缀,路由名称前缀区别
    Specified key was too long ... 767 bytes
    postman 自动化测试
    Linux top输出st 的值过高导致系统负载过高
  • 原文地址:https://www.cnblogs.com/maogefff/p/7830964.html
Copyright © 2020-2023  润新知