国产精在线-国产精欧美一区二区三区-国产精视频-国产精品 日韩-一级黄色片在线看-一级黄色片在线播放

Android Studio 關閉Lint檢測

在高版本的 Android studio 中新建項目,在 Manifest.xml 文件中會有黃色警告:

App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter.

這個是 Google search 功能,卵用沒有,需要在gradle文件中關閉。

找到app的gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.ghpym.study"
        minSdkVersion 15
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    lintOptions {
        disable 'GoogleAppIndexingWarning'
        baseline file("lint-baseline.xml") // your choice of filename/path here
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

上面代碼已經添加lintOptions

lintOptions {
        disable 'GoogleAppIndexingWarning'
        baseline file("lint-baseline.xml") // your choice of filename/path here
    }

 

THE END
主站蜘蛛池模板: 91久久亚洲精品一区二区 | 午夜免费福利网站 | 免费一级毛片无毒不卡 | 杨幂精品国产专区91在线 | 国产三级a三级三级三级 | 国产欧美亚洲三区久在线观看 | 欧美一级特黄aa大片 | 成人免费午间影院在线观看 | 久久精品国产精品青草不卡 | 亚洲视频综合网 | 国产精品欧美亚洲 | 亚洲欧美字幕 | 性色欧美xo影院 | 国产亚洲视频在线播放大全 | 网红主播大尺度精品福利视频 | 免费看又黄又爽又猛的网站 | 三级全黄的视频 | 成人毛片免费视频 | 国产精选莉莉私人影院 | 欧美国产91 | 欧美国产综合在线 | 欧美色视频日本片高清在线观看 | 精品中文字幕在线观看 | 亚洲综合色一区二区三区小说 | 99国产精品久久久久久久成人热 | 欧美一级高清毛片aaa | 最刺激黄a大片免费网站 | 毛片视频网站 | 欧美一级大片在线观看 | 成人手机在线 | 国产成人精品高清在线 | 成人欧美一区二区三区在线观看 | 高清毛片aaaaaaaaa片 | 午夜mm131美女做爰视频 | 制服丝袜在线视频香蕉 | 久久香蕉国产线看免费 | 国产精品毛片在线更新 | 色偷偷在线刺激免费视频 | 国产在线视频网址 | 好湿好紧好痛a级是免费视频 | 国产99精品在线观看 |