Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6834219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:05:04+00:00 2026-05-26T23:05:04+00:00

I want to check whether my app uses any object/method that does not exist

  • 0

I want to check whether my app uses any object/method that does not exist on Android 1.5 (=API level 3), so I wrote in AndroidManifest.xml:

<uses-sdk  android:minSdkVersion="3" android:targetSdkVersion="3"/>

… then I ran ant clean debug and:

PROBLEM: Ant still uses the highest SDK level I have installed (11), not the one I want (3):

-setup:
[echo] Gathering info for AnkiDroid...
[setup] Android SDK Tools Revision 15
[setup] Project Target: Android 3.0
[setup] API level: 11
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:05:04+00:00Added an answer on May 26, 2026 at 11:05 pm

    You also have to set the target SDK for your project.
    There are multiple ways to do that

    • In Eclipse
      Right click on the project in eclipse, go to properties -> android and select a target SDK from the list.

    • Via the command line
      Use android update project -t <targetID> as described here, where <targetID> is one of the target ids that you get listed by executing android list targets.

    You can see the current target in the project.properties file in your project folder, it should have a line like this:

    target=android-14

    (it might also work to edit this file directly. I’m not sure though, so if you try that, be prepared and have a backup, expect things to break, etc. 😉 )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to check whether or not a cookie is set with every page
I have an application that passes in java.util.Date. I want to check whether this
I want to I check whether a string is in ASCII or not. I
i want code to check whether the user in logged in or not. I
Is it possible to check on startup of an Android app whether the user
I have a winform app that requires me to check whether a page exists
i want to make an app ...in which i have to check whether der
When my app starts, I want to check whether the net connection is avaliable
I want to check whether an allocated memory is aligned or not. I am
I want to check whether heaset is plugged in or not... I did it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.