Reputation: 2337
well..kind of new to Android, using ant to build something I downloaded.
how can I tell which API level is target ? I saw nothing about it in the build.xml file ..
when I try to use classes from API Level 8, I am getting symbol not found errors..
thanks
Upvotes: 2
Views: 3709
Reputation: 3348
you have
<uses-sdk
android:targetSdkVersion="4"
android:minSdkVersion="3" />
in the AndroidManifest.xml
But if you are working with eclipse, you have to check that the jar file in Google APIs is correct. If you just change that number, and still use the old jar files, you will get the same errors.
you can change that in project > properties > android, and choose the api you want
Upvotes: 6
Reputation: 20885
You can specify it in the Android Manifest file:
<uses-sdk android:minSdkVersion="8" />
You can also check the default.properties
file are the root of your project. It contains a line
target=android-8
Upvotes: 2