2017-06-20 7 views
0

Android Studio 3.0 Canary 4をインストールした後私はプロジェクトをビルドできず、私の古いプロジェクトをビルドできませんAndroidのメーカーのバージョン2.3.2Android Studio 3.0をダウンロードした後、私はAndroid Studio 2.3.2でプロジェクトをコンパイルできません。

私はgradle.propertiesは、次の点

  1. 追加にこのラインを試してみました -
  2. が.gradleフォルダを削除しようとしたgradle.jvmargs = -Xmx1024m
  3. Androidスタジオを管理者として実行しようとしました
  4. 試してみてくださいファイル>キャッシュを無効/再起動してください。

これは、任意のヘルプがかなりあるスクリーンショットscreenshot

です。私の組織はそのせいでのファイアウォールを遮断いくつかのファイルであるコモドインターネットセキュリティあるアンチウイルスをインストールしているので、 おかげ

build.gradle

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 26 
    buildToolsVersion "25.0.2" 
    defaultConfig { 
     applicationId "com.android.ucssurvey" 
     minSdkVersion 19 
     targetSdkVersion 26 
     versionCode 1 
     versionName "1.0" 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
     multiDexEnabled true 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
    repositories { 
     mavenCentral() 
    } 
} 

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:26.0.0-beta2' 
    compile 'com.android.support:design:26.0.0-beta2' 
    compile 'com.android.support.constraint:constraint-layout:1.0.2' 
    testCompile 'junit:junit:4.12' 
} 
+0

私はAndroid Studioを再インストールして、1つのバージョンしか保存しませんでした。 –

+0

'プロジェクトをrebuild'して、あなたの質問 – Dennis

+0

@Rakshitを打つ:ビルドファイル –

答えて

0

は、この問題が起こっていました更新中ではありません。 ウイルス対策ソフトウェアのアンインストールを要求した後、問題は解決されます。

関連する問題