Android JAR 파일에 ProGuard 적용중 This will likely cause problems with obfuscated mixed-case class names

ProGuard, version 4.7
Reading program jar [D:\obfuscationjartest\obfuscationjartest.jar]
Reading library jar [D:\adt-bundle-windows-x86_64-20130219\sdk\platforms\android-17\android.jar]
Reading library jar [D:\adt-bundle-windows-x86_64-20130219\sdk\extras\android\support\v4\android-support-v4.jar]
Note: you're writing the processed class files to a directory [D:\obfuscationjartest\proguard_result].
      This will likely cause problems with obfuscated mixed-case class names.
      You should consider writing the output to a jar file, or otherwise
      specify '-dontusemixedclassnames'.
Preparing output directory [D:\obfuscationjartest\proguard_result]
  Copying resources from program jar [D:\obfuscationjartest\obfuscationjartest.jar]
Processing completed successfully

 JAR 파일에 프로가드 적용중 위와 같은 로그가 나왔지만 문제가 될 수 있다는 경고의 메세지고 프로가드가 적용이 되긴합니다.

 프로가드 GUI를 사용한다면 그림과 같이 난독화 메뉴인 Obfuscation의 옵션중 Use mixed-case class names를 체크 해제해줍니다.

 파일을 직접 수정중이시라면 -dontusemixedcaseclassnames 옵션을 추가합니다.

댓글

이 블로그의 인기 게시물

'xxx.exe' 프로그램을 시작할 수 없습니다. 지정된 파일을 찾을 수 없습니다.

goorm IDE에서 node.js 프로젝트로 Hello World Simple Server 만들어 띄워보기

애드센스 수익을 웨스턴 유니온으로 수표대신 현금으로 지급 받아보자.