简体   繁体   English

IntelliJ IDEA创建签名的最终apk,其中没有来自/ assets的图像

[英]IntelliJ IDEA creates signed final apk with no images from /assets

I was very happy when I found ability to create release signed and proguarded apk in my IntelliJ IDEA 11. But created apk is very small ( 6 MB) against 33 MB of all files in "production\\out\\mygame" I guess images from /assets were not included to this final apk. 当我发现可以在IntelliJ IDEA 11中创建签名并受保护的apk的功能时,我感到非常高兴。但是相对于“ production \\ out \\ mygame”中所有文件的33 MB,创建的apk很小(6 MB)资产未包含在此最终apk中。 Or should I upload somehow classes.dex, mygame.apk.res to GooglePlay? 还是应该以某种方式将classes.dex,mygame.apk.res上传到GooglePlay? Thanks. 谢谢。

I was able to export the signed apk from the provided project and run it on my device. 我能够从提供的项目中 导出签名的APK ,并在我的设备上运行它。 Try to disable Proguard option, it didn't work for me, probably because your project needs different configuration for obfuscation. 尝试禁用Proguard选项,它对我不起作用,可能是因为您的项目需要不同的配置来进行混淆。

The signed APK contains all the images from /assets . 签名的APK包含/assets中的所有图像。

Finally I am not right. 最后我是不对的。 IntelliJ works okay. IntelliJ工作正常。 It is just impossible to install unsigned apk on device (what I tryed to do). 根本不可能在设备上安装未签名的APK(我尝试这样做)。 Thanks 谢谢

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM