Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android actionbar how to add supporting library v7 appcompat for Eclipse

I followed every steps in Android - ActionBar to add action bar. I extend the activity from ActionBarActivity: public class MainActivity extends ActionBarActivity

I need to add appcompat v7 support library as in here: In "Adding libraries with resources", eclipse section. The last steps:

"Add the library to your application project:

  1. In the Project Explorer, right-click your project and select Properties.
  2. In the Library pane, click Add.
  3. Select the library project and click OK. For example, the appcompat project should be listed as android-support-v7-appcompat.
  4. In the properties window, click OK. "

Step 2 is where I can't find the Library pane. How can I add the library to my project?

like image 933
WayneZhao Avatar asked Jul 27 '13 23:07

WayneZhao


People also ask

How do I add a library Android support v7 Appcompat in Android Studio?

In the Properties window, select the "Android" properties group at left and locate the Library properties at right. Select /path/to/appcompat/ and Click Remove. Click Add to open the Project Selection dialog. From the list of available library projects, select v7 appcompat library and click OK.


1 Answers

A picture is worth a thousand words: enter image description here

like image 132
Kai Avatar answered Sep 27 '22 18:09

Kai