Proguard and Android :(

后端 未结 2 762
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 19:40

I am trying to run Proguard on my Android app and running into issues.

I am using SpongyCastle jar (copy and past of full bouncy castle with package renamed so it d

相关标签:
2条回答
  • 2021-01-04 20:22

    I don't think there is a need to add rt.jar to your libs. You need to make sure you are referencing it properly in your proguard script. Take a look here for an example. This line in section 2 is the money maker:

    -libraryjars ${java.home}/lib/rt.jar
    

    Although, that syntax changes if you use the xml notation for proguard. If you post the part of the ant script that is responsible I can try to be of more assistance. Hope this helps!

    0 讨论(0)
  • 2021-01-04 20:34

    Add the following, -dontwarn javax.naming.** , to your Proguard configuration.

    They are just warnings, and ignoring them shouldn't be an issue.

    0 讨论(0)
提交回复
热议问题