Android Studio 4.0.0 process unexpectedly exit 100% Solution



how to Solve
"Process Unexpectedly exit" problem in  android Studio

Step 1:Change  classpath "com.android.tools.build:gradle:4.0.0"

Into  classpath "com.android.tools.build:gradle:3.3.2"


Step 2:Add this code in Dependencies in the build.gradle(module:app) file

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

Step 3:Change in the file gradle wrapper properties  distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

Into  distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip


Share on Google Plus

About Rabia tufail

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment