android studio運行時報錯the selected device is incompatible

Android項目在真機上測試時,提示android

android the selected device is incompatible:所選設備不兼容。測試

緣由是項目要求的最小SDK版本比真機的SDK版本高。gradle

解決方法:修改項目的minSdkVersion。ui

在項目build.gradle文件中,修改minSdkVersion爲真機Android版本,此處真機版本爲17,.net

好了,一切OK!get

相關文章
相關標籤/搜索