2017-03-19 7 views
0

新しいAndroid Studioをインストールして新しいプロジェクトを作成しようとしました。しかし、私はこの奇妙なエラーを取得します。私は32ビットLinuxシステムを使用しています。新しいAndroidStudio 2.3のエラー

Error:Execution failed for task ':app:mergeDebugResources'.

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

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

Information:Total time: 14.838 secs

Information:2 errors

Information:0 warnings Information:See complete output in console

なぜこのエラーが発生するのかわかりません。

のGradle

apply plugin: 'com.android.application' 

android { 
compileSdkVersion 25 
buildToolsVersion "25.0.2" 
defaultConfig { 
    applicationId "com.example.sandesh.testing" 
    minSdkVersion 15 
    targetSdkVersion 25 
    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(dir: 'libs', include: ['*.jar']) 
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.0' 
compile 'com.android.support.constraint:constraint-layout:1.0.2' 
testCompile 'junit:junit:4.12' 
} 

のGradle(プロジェクト)

buildscript { 
repositories { 
    jcenter() 
} 
dependencies { 
    classpath 'com.android.tools.build:gradle:2.3.0' 

    // NOTE: Do not place your application dependencies here; they belong 
    // in the individual module build.gradle files 
} 
} 

allprojects { 
repositories { 
    jcenter() 
} 
} 

task clean(type: Delete) { 
delete rootProject.buildDir 
} 
+0

gradleファイル –

+0

@JaydeepPatel、追加してください。 – Naroju

+0

メインプロジェクトのgradleファイルまたはバージョンをチェックしてください。 –

答えて

0

あなたのケースでは、問題は、Android Studioは32ビットのみのシステム上で実行されません最新です。ダウンロードページでも、要件を確認することができます:

64-bit distribution capable of running 32-bit applications

最新バージョンは32ビットをサポートしていません。私はあなたが一つの解決策で試すべきだと思いますが、私はそれが動作するどのくらい知らない:

Step1.Go to terminal 
Step2.type gedit .profile 
Step3.paste the below line at end of the page 
Step4.export ANDROID_EMULATOR_FORCE_32BIT=true 
Step5.type source .profile in terminal or restart system 

これもそう、そのより良いあなたがbit64またはダウングレードに移動する必要があるサポートを停止ことが将来のAndroid STDIOであってもよく覚えておいてくださいあなたのアンドロイドスタジオのバージョン。

関連する問題