Error: The Import android.support.v7 cannot be resolved

Solution:
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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s