Proguard and Android :(

后端 未结 2 764
隐瞒了意图╮
隐瞒了意图╮ 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条回答
  •  -上瘾入骨i
    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!

提交回复
热议问题