Keep facing Process unexpectedly exit in Android Studio 3.4.1

后端 未结 5 1642
野趣味
野趣味 2021-01-07 08:22

After an update of Java facing an issue of Process unexpectedly exit while creating the build for Android. I was using Android Studio 3.3

5条回答
  •  离开以前
    2021-01-07 09:01

    This error shows up because of latest version of AAPT library. Just add below code in your Project gradle file under allprojects section.

     configurations.matching { it.name == '_internal_aapt2_binary' }.all { config ->
            config.resolutionStrategy.eachDependency { details ->
                details.useVersion("3.3.2-5309881")
            }
        }
    

提交回复
热议问题