1.
android
养成注意查看各类提示的好习惯,从log中找出各类有效的线索来解决问题。架构
问题:昨晚还能跑起来,早上不能跑了app
报错,查看Event log 提示以下:ui
11:21:24 Gradle build finished with 16 error(s) in 1m 2s 328ms
11:21:26 Session 'app': Error Installing APKspa
查看Console提示以下:
.net
04/14 11:23:10: Launching app
The currently selected variant "debug" uses split APKs, but none of the 1 split apks are compatible with the current device with density "480" and ABIs "x86, armeabi-v7a".
Error while Installing APKdebug
忽然想起设定过:code
ndk { //设置支持的SO库架构 abiFilters 'armeabi' //, 'x86' , 'armeabi-v7a', 'x86_64', 'arm64-v8a' }
马上将x86释放出来,问题得意解决。blog
2.ip
http://blog.csdn.net/hyr83960944/article/details/41825087
颇有效