android studio运行时报错the selected device is incompatible

来源:互联网 发布:淘宝如何修改收货地址 编辑:程序博客网 时间:2024/05/08 11:39

android项目在真机上测试时,提示


android the selected device is incompatible:所选设备不兼容。

原因是项目要求的最小SDK版本比真机的SDK版本高。

解决方法:修改项目的minSdkVersion。

在项目build.gradle文件中,修改minSdkVersion为真机Android版本,此处真机版本为17,


好了,一切OK!



4 0
原创粉丝点击