Why suddenly I got the error "Unable to resolve target 'android-9' "? -
Why suddenly I got the error "Unable to resolve target 'android-9' "? -
i developing android application (android-2.1-updated) under ubuntu 10.04, eclipse ide. have set working environment couple of weeks ago, , developing (i can run app on connected device).
but morning, after run ubuntu updates, restart pc, start eclipse, eclipse console throw error message :
androidadaptiveui unable resolve target 'android-9'
.
very strange, running fine before restart pc. after restart, can not run android app on device.
what error message means? should rid it?
what tried restart adb server by:
adb kill-server adb start-server adb devices
but, got next new error:
[2011-07-18 14:28:32 - devicemonitor]adb connection error:eof [2011-07-18 14:28:32 - devicemonitor]connection attempts: 1 [2011-07-18 14:28:33 - devicemonitor]connection attempts: 2 [2011-07-18 14:28:34 - devicemonitor]connection attempts: 3
anybody can help me please?
android 2.3, 2.3.1, 2.3.2 supports api 9. getting error because using android 2.1. solution:- open androidmanifest.xml file find , update line
<uses-sdk android:minsdkversion="9" />
to shown below,
<uses-sdk android:minsdkversion="7" />
this solve problem.
android android-layout android-emulator android-widget android-manifest
Comments
Post a Comment