본문 바로가기
Programming/Android Java

[Tool]Android sqlCipher Proguard 오류시

by 개Foot/Dog발?! 2014. 3. 13.

URL : http://caliou.tistory.com/256





When I develop this integration, it seems ProGuard hasn't tested with SQLCipher yet. So I have to exclude SQLCipher libraries in ProGuard configuration.

 

     -keep public class info.guardianproject.database.** {

         *;

     }

 

     -libraryjars libs/commons-codec.jar

     -libraryjars libs/guava-r09.jar

     -libraryjars libs/jsr305-1.3.9.jar

     -libraryjars libs/sqlcipher.jar

     -libraryjars assets/icudt46l.zip

 

If you find errors similar with insertWithOnConflict or Verifier rejected class from SQLCipherpackage, you should upgrade your ProGuard libraries in your android-sdk.