proguard problem after updating to android gradle plugin 3.5

后端 未结 2 1364
有刺的猬
有刺的猬 2021-01-18 01:10

I save the json presentation of some objects as cache in my app. I had no problem after updating each release of the app and json objects was corre

2条回答
  •  无人共我
    2021-01-18 01:26

    I also got the same error.

    And I found that it's an error of enabledR8 which is used to reduce app size.

    and It is true predefined. So by set value, a false error was gone.


    Set it value false of r8 in gradle.properties file.

    android.enableR8=false

提交回复
热议问题