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 7953383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:08:44+00:00 2026-06-04T03:08:44+00:00

I have an Android App with: <uses-sdk android:minSdkVersion=7 android:targetSdkVersion=14 /> So mainly it uses

  • 0

I have an Android App with:

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

So mainly it uses the api lvl 7 and at some points it checks the device’s version and uses some methods of higher API.

The problem is that the eclipse autocomplete suggests methods of api lvl 14 so in a large program is posible to use a method with level 8+ by mistake.

Is there a technique for avoiding that?

Thanks

  • 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-06-04T03:08:46+00:00Added an answer on June 4, 2026 at 3:08 am

    Probably you can get what you want by changing the project properties, which as been set to the default values when you created the project. So don’t change your Manifest file, but select Project->Properties->Android->”Porject Build Target” and select a target with level 7. That way you should get auto-completion for level7, but keep your manifest targetSdkVersion property to 14.
    Additionally, it’s probably a good idea to have two virtual devices to test the different behaviors.

    Alexis

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

Sidebar

Related Questions

My app is compatible from Android 2.x through 4.x: <uses-sdk android:minSdkVersion=7 android:targetSdkVersion=15 /> For
I have in my manifest: <uses-sdk android:minSdkVersion=8 android:targetSdkVersion=13/> I want to allow 2.2 to
I have an Android app which includes an activity called Help This uses a
I have a custom view in my Android App that uses a ScaleGestureDetector.SimpleOnScaleGestureListener to
I have a client and a server app on Android (that uses ZeroC -
I have created an App Widget for Android 1.5. It uses a TextView to
I currently have an app on the market that supports Android 1.5 (SDK level
I am building an Android app that uses wifi. I have properly declared these
I developed my app using Mono for Android. I have the latest version 4.0.3.
I have developed my own app in android version 8(2.2) and published it in

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.