类型'libcore.io.Memory'在Android工作室中生成签名apk时未找到
2022-09-02 10:59:55
文件中有一个支持保护的规则,如:proguard-rules.pro
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
我在这里删除了某人提到的那行。
然后我又得到了一个错误:
找不到引用的类org.codehaus.mojo.animal_sniffer。忽略JRE要求
然后我尝试了这里有人提到的这个代码。
尝试上述代码后,现在还有另一个错误::
Type `libcore.io.Memory` was not found, it is required for default or static interface methods desugaring of `void com.google.android.gms.internal.ads.auh$a.a(long, byte)`
Message{kind=WARNING, text=Type `libcore.io.Memory` was not found, it is required for default or static interface methods desugaring of `void com.google.android.gms.internal.ads.auh$a.a(long, byte)`, sources=[D:\Wallprix\Wallprix\app\build\intermediates\transforms\proguard\release\0.jar], tool name=Optional.of(D8)}
请帮我修复这个错误,因为我不知道我现在应该实现什么。
详:
我正在使用滑动模块
我已经实现了Admob插页式代码
生成签名的APK时出错,但在真实设备上测试应用时未出错。