Android Question only ALL_SAVE_FLAGS is allowed

SMOOTSARA

Active Member
Licensed User
Longtime User
Hello guys
I get an error on Android 9 phones

B$A ver 9.01.2
C:\Program Files\Java\jdk-10.0.2\bin\javac.exe
C:\Android\platforms\android-P\android.jar

manifest:

AddManifestText(
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)




B4X:
java.lang.IllegalArgumentException: Invalid Layer Save Flag - only ALL_SAVE_FLAGS is allowed
    at android.graphics.Canvas.checkValidSaveFlags(Canvas.java:378)
    at android.graphics.Canvas.saveLayer(Canvas.java:455)
    at com.mikepenz.materialdrawer.view.BezelImageView.onDraw(BezelImageView.java:209)
    at android.view.View.draw(View.java:20207)
    at android.view.View.updateDisplayListIfDirty(View.java:19082)
    at android.view.View.draw(View.java:19935)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4112)
    at android.view.View.updateDisplayListIfDirty(View.java:19073)
    at android.view.View.draw(View.java:19935)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4112)
    at android.view.View.draw(View.java:20210)
    at android.view.View.updateDisplayListIfDirty(View.java:19082)
    at android.view.View.draw(View.java:19935)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4112)
    at android.view.View.updateDisplayListIfDirty(View.java:19073)
    at android.view.View.draw(View.java:19935)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
    at android.widget.ListView.drawChild(ListView.java:3590)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4112)
    at android.widget.AbsListView.dispatchDraw(AbsListView.java:2639)
    at android.widget.ListView.dispatchDraw(ListView.java:3585)
    at android.view.View.draw(View.java:20210)
    at android.widget.AbsListView.draw(AbsListView.java:4320)
    at android.view.View.updateDisplayListIfDirty(View.java:19082)
    at android.view.View.draw(View.java:19935)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4333)
 
Top