Android Studio 3.0 : canary 6 : android.content.res.Resources$NotFoundException inside Launching activity

前端 未结 4 1556
无人共我
无人共我 2020-12-28 13:51

I update android-studio 3.0 from canary 5 to canary 6 and suddenly My app gives crash on KitKat(API 19) with below stacktrace.

The Main2Activity.java:10 line is the

4条回答
  •  长情又很酷
    2020-12-28 14:29

    I have the same issue.

    put

    android.enableAapt2=false

    AAPT2. We are continuing to stabilize AAPT2 which enables incremental resource processing. If your build fails due to resource processing issue, please send us a bug report. To temporarily disable AAPT, set android.enableAapt2=false in your gradle.properties file. Roboelectric is currently not compatible with AAPT2

    follow the below link

    https://androidstudio.googleblog.com/2017/06/android-studio-30-canary-5-is-now.html

提交回复
热议问题