When I try to crash a project in Android Studio on Ubuntu 14 32 bit I get an error

Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands

build.gradle

 apply plugin: 'com.android.application' apply plugin: 'me.tatarka.retrolambda' android { compileSdkVersion 25 buildToolsVersion '25.0.2' defaultConfig { applicationId "com.common.app" minSdkVersion 15 targetSdkVersion versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' testCompile 'junit:junit:4.12' //RebbitMQ compile files('libs/commons-cli-1.1.jar') compile files('libs/commons-io-1.2.jar') compile files('libs/rabbitmq-client.jar') //Retrofit compile 'com.squareup.retrofit2:retrofit:2.3.0' //require gson compile 'com.google.code.gson:gson:2.7' compile 'com.squareup.retrofit2:converter-gson:2.1.0' //required for support RxJava compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' //Picasso compile 'com.squareup.picasso:picasso:2.5.2' //Butterknife compile 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' //Dager 2 compile 'com.google.dagger:dagger:2.4' annotationProcessor "com.google.dagger:dagger-compiler:2.4" //RxJava compile 'io.reactivex.rxjava2:rxjava:2.0.1' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' retrolambdaConfig 'net.orfjackal.retrolambda:retrolambda:+' //ORMLite compile 'com.j256.ormlite:ormlite-android:4.45' //Azure compile 'com.microsoft.azure.android:azure-storage-android:1.2.0@aar' } 

    2 answers 2

    Go to File->Project Structure... (or press Ctrl + Shift + Alt + S ).

    On the left sidebar, click Project (in the SDK Location section) and change the Gradle version (to something like 3.2 ) and change the Android Plugin Version (something like 2.2.0 or 2.2.2 ).

    This will roll back your AndroidStudio to version 2.3 so that you can continue to evolve until Google starts to fix everything that is wrong with 2.3 . Then you can also change buildToolsVersion to 23.0.3 to avoid the error

    Error: The SDK Build Tools Revision (23.0.3) is too low for project: app:

    and your project should compile again.

    https://stackoverflow.com/questions/42625804/error-creating-a-project-on-android-studio-2-3

    • I also saw a similar solution, but if I do this, then the application just doesn't work. It just shows the line of the build, but it doesn't end, it's already 20 minutes. - Kirill Stoianov
    • In general, I solved the problem by installing Ubuntu 64 bit instead of Ubuntu 32 bit. I don't know why, but it worked! - Kirill Stoianov

    In this case, the problem was solved by installing Ubuntu 64 bit instead of Ubuntu 32 bit .