小编jdk*_*jdk的帖子

Android Lint错误地认为min SDK版本为1

Eclipse拒绝构建我的Android项目.在包浏览器中,项目根节点具有小红色错误符号,但其中没有任何其他内容具有此符号."问题"选项卡显示Lint检测到的错误:

Call requires API level 3 (current min is 1): android.os.AsyncTask#<init>   
Call requires API level 3 (current min is 1): android.view.GestureDetector#<init>   
Call requires API level 3 (current min is 1): android.view.inputmethod.InputMethodManager#hideSoftInputFromWindow   
Call requires API level 3 (current min is 1): android.view.inputmethod.InputMethodManager#hideSoftInputFromWindow   
Call requires API level 3 (current min is 1): android.view.inputmethod.InputMethodManager#showSoftInput
Call requires API level 3 (current min is 1): android.view.inputmethod.InputMethodManager#showSoftInput
Call requires API level 3 (current min is 1): android.view.inputmethod.InputMethodManager#showSoftInput
Call requires API level 3 (current min is 1): …
Run Code Online (Sandbox Code Playgroud)

eclipse android compiler-errors build android-lint

30
推荐指数
3
解决办法
2万
查看次数

标签 统计

android ×1

android-lint ×1

build ×1

compiler-errors ×1

eclipse ×1