2017-03-28 7 views
1

レンダリングの問題の警告を永久に回避または削除するには 私はを使用しています。Androidスタジオ2.2.3アンドロイドスタジオの永久レンダリング警告を削除します

イムは、私のコントロールのいずれか、または設計 人は、この問題 を解決し、可能な場合、どのように私は永久にこれらをブロックすることができますを教えしようとする私を助けて表示していない私のXMLファイル と私のレイアウトファイルのほとんどの問題をレンダリング取得します警告。

これはあなたがAndroidのメーカーに警告を抑制することができ、私のGradleファイル

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 25 
    buildToolsVersion '25.0.2' 
    defaultConfig { 
     applicationId "design.ray.com.finalproject" 
     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(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.1.1' 
    compile 'com.android.support:design:25.3.1' 
    compile 'de.hdodenhof:circleimageview:2.1.0' 
    // compile 'com.android.support:cardview-v7:25.0.1' 
    compile 'com.android.support:palette-v7:25.2.0' 
    compile 'com.android.support.constraint:constraint-layout:1.0.1' 
    compile 'com.github.bumptech.glide:glide:3.7.0' 
    //compile 'de.hdodenhof:circleimageview:2.1.0' 
    compile 'com.android.support:cardview-v7:25.2.0' 
    compile 'com.android.support:recyclerview-v7:25.2.0' 
    testCompile 'junit:junit:4.12' 
} 

答えて

0

です。

Analyze > Inspect Codeあなたが抑制したい警告を見つけてクリックすると、Alt+Enterが表示されます。

+1

ありがとうございます@ Egek92は私のために働いています –

関連する問題