“Unable to get system library for project” after I upgraded to Android SDK 2.3 and ADT 8.0

前端 未结 26 1276
眼角桃花
眼角桃花 2021-01-31 13:25

Today I upgraded to Android SDK 2.3 and I also upgraded the Eclipse Plugin Androi Developer Tools 8.0 (from 0.9.9). I also upgraded my Java Development Kit to 1.6_22.

No

26条回答
  •  一整个雨季
    2021-01-31 14:11

    Had the same issue (red erros all over my java source files) Solution was simple:

    • step 1. In the manifest file raise the version to android:minSdkVersion="8" (I created a new empty project and looked in it's manifest file) (it was originally android:minSdkVersion="4" because i want to support older android versions.)
    • step 2. right click the project and select Build
    • step 3. just to be safe: On the menu: Project Clean and check my project
    • step 4: finally I changed back In the manifest file to android:minSdkVersion="4" and it had no errors.

    Hope it works for you.

提交回复
热议问题