右键项目文件--->properties--->android 选择对应版本 保存 如还不生效 打开项目文件project.properties ,修改 target=android-10 //(对应版本,不过一般都自动修改了)