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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:47:15+00:00 2026-06-13T23:47:15+00:00

I have recently updated a project that makes use of the Android Support Library

  • 0

I have recently updated a project that makes use of the Android Support Library ( android-support-v4.jar )

I updated the support library by “Android Tools > Add Support Library”

After doing this my project fails to build and the following imports that worked fine previously now error.

import android.support.v4.app.FragmentManager;
import android.support.v4.widget.SearchViewCompat;
import android.support.v4.widget.SearchViewCompat.OnQueryTextListenerCompat;

With errors long the lines of “The import android.support.v4.widget cannot be resolved”

What have I done wrong? how do I get it working again?

  • 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-13T23:47:16+00:00Added an answer on June 13, 2026 at 11:47 pm

    Which API are you using? It is best to use the Android SDK Manager in Eclipse(ADT) plugin to download the support libraries.

    The Android Support v4 JAR needs to be in the ‘libs’ folder of your project. Make sure you have the JAR ‘copied’ in the folder. It is best to manually do it yourself to make sure it is there.

    The best way to fix the ‘red’ import errors in Eclipse is

    Ctrl + Shift + O 
    

    to automatically import the correct imports.

    Please let me know if this helps! I have had problems with Android imports as well.

    Regards,

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

Sidebar

Related Questions

I have a Access Data Project that connects to an SQL server database. Recently
I have a git project that I used for a recently published scientific paper.
We have several applications that use Apache HTTPClient 3 to make HTTP requests. Recently
I have recently joined a project that is using multiple different projects. A lot
I have recently started work on a project that has already been running for
I have recently updated my ADT and it is now ADT_V20. I have also
I have recently updated my model, added a BooleanField to it however when I
I have recently updated the Cucumber gems ('cucumber' and 'cucumber-rails') on my machine and
I recently updated from MVC4 beta to the RC and have encountered a small
I recently updated a rails app from 3.0.4 to 3.2.4 and I have a

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.