简体   繁体   English

intelliJ的apk输出有哪些不同?

[英]What are the different apk outputs from intelliJ?

What is the difference between the different .apk outputs when building a signed apk from IntelliJ IDEA? 从IntelliJ IDEA构建签名的apk时,不同的.apk输出之间有什么区别?

When I do a signed apk build from IntelliJ Idea (13.1.2) I get three different apk files. 当我从IntelliJ Idea(13.1.2)执行签名的apk构建时,我得到了三个不同的apk文件。

  • ../myApp.apk (921 KB) ../myApp.apk(921 KB)
  • ../out/production/myApp/myApp.apk (914 KB) ../out/production/myApp/myApp.apk(914 KB)
  • ../out/production/myApp/myApp.unaligned.apk (1412 KB) ../out/production/myApp/myApp.unaligned.apk(1412 KB)

My guess is unaligned is non compressed and shouldn't be used in the play store. 我的猜测是未压缩未压缩,因此不应在Play商店中使用。 Which one should be used in the playstore? Playstore应该使用哪一个?

Note: I am using proguard but not using Ant or Maven. 注意:我正在使用proguard,但未使用Ant或Maven。

Use the one you find at .../out/production/Your App name/yourapp.apk 使用您在.../out/production/Your App name/yourapp.apk

Yet again, in properties of the project you can set the custom location for your APK. 同样,在项目的属性中,您可以设置APK的自定义位置。 But I suggest you get used to the default ones since it will be a pain to set up your path each time. 但我建议您习惯默认设置,因为每次设置路径都会很麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio:从 Run 'app' 安装的应用程序和从 build/outputs/apk/debug/app-debug.apk 安装的应用程序是不同的 - Android Studio: The application installed from Run 'app' and application installed from build/outputs/apk/debug/app-debug.apk are different 可以从IntelliJ检查APK大小吗? - Possible to check APK size from IntelliJ? 是否可以从 IntelliJ IDEA 运行现有的 APK? - Is it possible to run an existing APK from IntelliJ IDEA? Playstore APK与Signed APK不同? - Playstore APK different from Signed APK? Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有什么区别? - Flutter: What is the difference between the apk/release directory and flutter-apk directory under build/app/outputs? APK从不同的密钥库更新 - APK Update from different keystore 绑定来自其他APK的服务 - Binding a service from a different APK 通过Android Studio生成新的.apk时,从输出文件夹中删除旧的.apk - Delete old .apk from outputs folder when new .apk is generated via Android studio Google Play上apk文件的package-archive和package-delta之间有什么区别 - what's different between package-archive and package-delta for apk file from google play IntelliJ IDEA创建签名的最终apk,其中没有来自/ assets的图像 - IntelliJ IDEA creates signed final apk with no images from /assets
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM