해커가 내 코드를 쉽게 디 컴파일하지 못하도록 proguard를 사용하여 apk 파일을 보호하려고합니다. 나는 이것을하는 방법에 대한 온라인 튜토리얼을 많이 따라 왔지만, 온라인으로 조언을 따를 때 나의 애플리케이션은 부서진다.안드로이드에 실패한 proguard 활성화
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-18
android.library.reference.1=..\\appcompat_v7
android.library.reference.2=../../adt-bundle-windows-x86_64-20140702/sdk/extras/google /google_play_services/libproject/google-play-services_lib
내가하려고 할 때 :
Enabling ProGuard in Eclipse for Android
http://proguard.sourceforge.net/manual/examples.html#androidapplication
이http://dominoc925.blogspot.com/2013/12/how-to-obfuscate-android-apk-file-using.html
내 소스 디렉토리의 project.properties 파일은 다음과 같습니다 내가 따랐다 자습서에있는 서명 된 apk를 내 보내면 콘솔에 다음 오류가 표시됩니다.
[2014-11-14 12:41:18 - SMART calculator] Proguard returned with error code 1. See console
[2014-11-14 12:41:18 - SMART calculator] proguard.ParseException: Unknown option '(' in argument number 14
[2014-11-14 12:41:18 - SMART calculator] at proguard.ConfigurationParser.parse(ConfigurationParser.java:191)
[2014-11-14 12:41:18 - SMART calculator] at proguard.ProGuard.main(ProGuard.java:484)
[2014-11-14 12:41:29 - SMART calculator] Proguard returned with error code 1. See console
라인 (14)은 라인 = 안드로이드 18 project.properties 파일 대상이다.
누구든지 제가이 오류를 해결할 수 있도록 도와주세요. :) D
여전히 같은 오류가 발생합니다. 변화가 도움이되지 못했습니다. 무엇이 잘못되었을 수 있습니까? – nyatsimbamutota
앱을 내보내는 중에 오류가 발생하면 ... – Arunkumar
은 프로젝트 이름, 클래스 이름 또는 폴더 이름에 공백 또는 '(' – Arunkumar