Unknown classes ILicensingService notes when obfuscating Android project

后端 未结 1 702
轻奢々
轻奢々 2021-01-04 04:40

I\'m trying to build an Android release with Ant and ProGuard. I uncommented the following line in project.properties, despite the comment in said file noting that you shoul

相关标签:
1条回答
  • 2021-01-04 05:07

    The setting "-dontnote com.google.vending.licensing.ILicensingService" is fine. In fact, it could have been part of the default configuration file.

    1. The -keep option may be necessary for projects that use the library.
    2. The -dontnote option may be nice to suppress the note about the -keep option, for projects that don't use the library. The note is just a gentle reminder that the configuration file could contain a typo, because the specified class doesn't seem to exist. It doesn't affect the processing.
    0 讨论(0)
提交回复
热议问题