android异常Call requires API level 16 (current min is 15): android.view.View#setBackground

参考https://blog.csdn.net/bigtree_mfc/article/details/70843698

Call requires API level 16 (current min is 15): android.view.View#setBackground 

意思是build.gradle中的minSdkVersion就可以了

如下图将 15改成16后 页面顶部有一行提示,点击最右边Sync_now即可

猜你喜欢

转载自blog.csdn.net/losedguest/article/details/89044134