The following error appeared when I enabled minifyEnabled in android studio v1.1.0
Grade:
package com.example.FFmpegBridge; public class FFmpegBridge { static { System.loadLibrary("xxx"); } public native void init(AVOptions options, int audio) throws IOException; static public class AVOptions { } }
proguard-rules.pro by default:
# Add project specific ProGuard rules here.
Error:
19:55:06.080 [INFO] [system.out] Note: the configuration keeps the entry point 'com.example.FFmpegBridge { void init(com.example.FFmpegBridge$AVOptions,int); }', but not the descriptor class 'com.example.FFmpegBridge$AVOptions' 19:55:06.086 [INFO] [system.out] Note: there were 2 references to unknown classes. 19:55:06.086 [INFO] [system.out] You should check your configuration for typos. 19:55:06.086 [INFO] [system.out] (http://proguard.sourceforge.net/manual/troubleshooting.html
How to solve a compilation error?
source share