w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
The import android.support cannot be resolved

Please follow these Steps:

  1. Go to your Project's Properties
  2. Navigate to the Java Build Path
  3. Then go to the Libraries tab. There click the Add External JARs Button on the Right pane.
  4. Select the android-support-v4.jar file, usually the path for the Jar file is :
    YOUR_DRIVEandroid-sdksextrasandroidsupportv4android-support-v4.jar
  5. After adding andorid-support-v4.jar Library, navigate to the Order and Export tab and put check mark on the android-support-v4 Library file.
  6. After doing the above, Clean the Project and Build it.
  7. Problem Solved.

Further reading regarding this Question:

  1. Support Library - Android Dev
  2. what is android support library
  3. How Android Support Library work?

I hope this helps.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.