1.Session 'app': Error Installing Apk
The currently selected variant "debug" uses split APKs, but none of the 1 split apks are compatible with the current device with density "320" and ABIs "x86".
Error while Installing APK
這個啟動失敗的問題 我解決的方法是
因為之前解決 java.lang.UnsatisfiedLinkError 錯誤的時候 在app文件夾下的build.gradle里面的Android的defaultConfig倆面添加了這
ndk{
abiFilters "armeabi"
}
所以只要把這句先注釋掉就好了其监。
2.build.gradle里面報下面這個警告滞乙,對于有強迫癥的為怎么會不把他消滅掉届谈。
'dependencies' cannot be applied to '(groovy.lang.Closure)' less... (Ctrl+F1) This inspection reports assignments with incompatible types
解決辦法很簡單
到設(shè)置界面(ctrl+alt +s) 選中build,execution... --- build tools ---gradle 改成下圖這樣的就好了魔吐,
路徑是Android Studio安裝目錄下的gradle/gradle--2.10(看自己裝的修改)
有問題留言,
有新問題再更新综慎。
博客地址:http://blog.csdn.net/lxk_1993/article/details/51579816
如果你喜歡我的博客涣仿,請關(guān)注我。