I try to package xx.jar into my apk. But when I compile my code , it will say
"Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing."
"Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete"
"Error: Const-method-handle are only supported starting with Android P (--min-api 28)".
I try search this problem with Google , but no result about this question.
How can I fix it? Thx!