Android Question only ALL_SAVE_FLAGS is allowed

Discussion in 'Android Questions' started by arastoo, Aug 5, 2019.

  1. arastoo

    arastoo Active Member Licensed 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)




    Code:
    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)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    What is BezelImageView?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice