顯示具有 Build Target Version 標籤的文章。 顯示所有文章
顯示具有 Build Target Version 標籤的文章。 顯示所有文章

2012年11月4日 星期日

Unable to resolve target 'android-14'

When importing an old source code in eclipse today, the following error occurs:
Unable to resolve target 'android-14'


It is because android-14 does not installed in the machine.
You can change the android version via the project properties. For example, the API version for Android 4.0.3 is 15.


Then open the AndroidManifest.xml to change the sdk version to 15.
<uses-sdk android:minSdkVersion="15" />