I am new to Android. Currently, I have the adt-bundle-windows-x86-20131030.zip
(Windows 32 bit) installed - and have successfully installed the Android SDK and Eclipse. Also, I have updated everything in the Android SDK manager. Now, I am working in Android v-4.4.2
My project runs successfully, but when I import android.support.v7.app.ActionBarActivity;
and import android.support.v7.app.ActionBar;
the project won't debug. I get the error The Import android.support.v7 cannot be resolved
I searched in Google and installed Android Support Library
then added v7
in my project.
Screenshot
Successfully added in appCompat
but still I am still getting the error.
Go to your project in the navigator, right click on properties.
Go to the Java Build Path tab on the left.
Go to the libraries tab on top.
Click add external jars.
Go to your ADT Bundle folder, go to sdk/extras/android/support/v7/appcompat/libs.
Select the file android-support-v7-appcompat.jar
Go to order and export and check the box next to your new jar.
Click ok.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With