问题描述
这是我在Android的工作室的第一个项目,和我的应用程序还没有在code进行模糊处理...使用即时通讯在build.gradle文件此配置:
This is my first project in Android Studio, and my apps hasn't a obfuscate in the code...Im using this configuration in build.gradle file:
我使用的是构建>生成签名APK ......与运行Proguard的检查。而且,当我使用Apk_OneClick.v4.2已经测试了,我的code是完全地易于阅读:
I'm using the Build > Generate Signed APK... with the Run Proguard checked.And, when I have tested using the Apk_OneClick.v4.2, my code is completly easy to read:
请,帮-我。 :(
推荐答案
你可能没有真正签署APK的发布版本通过签署向导。您可以从与该命令的命令行构建发布APK:
You're probably not actually signing the release build of the APK via the signing wizard. You can either build the release APK from the command line with the command:
./gradlew assembleRelease
您也可以选择通过构建变体查看释放变异和GUI构建它:
or you can choose the release variant from the Build Variants view and build it from the GUI:
这篇关于如何使用Android的工作室ProGuard的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!