Write in front:
Android Studio has been released for some time now, the current version is 1.0.2
Before the beta, I started experimenting with projects that were much more powerful than eclipse.
In recent times, have been busy with the project, very little writing, O (╯-╰) O is not a good habit ah
See a lot of people on the web looking for Android studio project How to add library issues
Do not know is a master disdain to answer, or what is going on?
Anyway, I'm a layman, let me say a few words.
1, the new project is needless to say, now to create a new module, two ways
2, open as, which has the new Android Library and Import Existing Project, let's create a new
3, we will find out a module, and eclipse two projects in a space like
4, right click Module (Project) Select Open Module Settings, will appear as shown, and then select 3 Module dependencies, and then choose the library you just new
5, there is a baseactivity in the library, we will write a method,
6, we inherit the baseactivity in the library, then we can use the Showtoast method.
7, we will enter the text in the box with toast to bounce out the way
New and added library for project in Android Studio