android 中apk如何防止反编译?
16lz
2021-01-23
android 2.3以上:
很简单的一句话"在default.properties文件最后添加proguard.config=proguard.cfg"
android2.3及以下:
复制下面default.properties文件到你的工程目录即可,注意target的版本号:
- #ThisfileisautomaticallygeneratedbyAndroidTools.
- #Donotmodifythisfile--YOURCHANGESWILLBEERASED!
- #
- #ThisfilemustbecheckedinVersionControlSystems.
- #
- #TocustomizepropertiesusedbytheAntbuildsystemuse,
- #"build.properties",andoverridevaluestoadaptthescripttoyour
- #projectstructure.
- #Projecttarget.
- target=android-9
- proguard.config=proguard.cfg
更多相关文章
- Android Studio项目应该提交哪些文件到GitHub上
- Android下文件操作模式(含SDCard的读写)
- JNI基础实验一:调用.so文件--友善之臂Tiny210 android 串口/pwm/A
- Android媒体文件metadata是如何实现跟解码器结合获取的
- android获取手机型号和系统版本号
- Android 读取U盘或SD卡中的所有.txt文件
- gif文件导出png
- Android获取SD卡上图片和视频文件及其缩略图
- Android搜索手机文件