1. 程式人生 > >警告:App is not indexable by Google Search; consider adding at least one Activity

警告:App is not indexable by Google Search; consider adding at least one Activity

 App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details. less... (Ctrl+F1)  Adds URLs to get your app into the Google index, to get installs and traffic to your app from Google Search. 在app檔案下的bulid.gradle中新增如下程式碼就行了

lintOptions {  
        disable 'GoogleAppIndexingWarning'  
    }