Android Question R8 compiler error with AppCompat

divinglog

Member
Licensed User
Longtime User
I tried the new R8 compiler and this is one of the errors I get:

Code: Copy
:null,0
java.lang.ClassNotFoundException: de.amberhome$objects$appcompat$AppCompatBase
    at anywheresoftware.b4a.shell.Shell.getCorrectClassName(SourceFile:89)
    at anywheresoftware.b4a.shell.Shell.createObject(SourceFile:10)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(SourceFile:491)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(SourceFile:12)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(SourceFile:264)
    ...

I tried this, but it does not work:

Code: Copy
AddProguardText(
    -keep class de.amberhome.** { *; }
)
 
Back
Top