在 Proguard 混淆无法从 jar 中找到资源后, 我收到以下错误
Caused by: java.lang.NoClassDefFoundError: Could not initialize class mypackege.MyClass
最佳答案
可以在 Link 上找到
<adaptresourcefilenames filter = "file_filter" />
Rename the specified resource files, based on the obfuscated names of the corresponding class files.
<adaptresourcefilecontents filter = "file_filter" />
Update the contents of the specified resource files, based on the obfuscated names of the processed classes.
关于java - 为什么Proguard混淆后找不到这个资源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12284860/