Reputation: 7949
I've just updated Android Studio to 0.5.1 and I need to import Facebook SDK into my project.
Following Facebook's guide, I'm supposed to:
But when I click the + sign, it opens a window to create a new Module, rather than give me the options to create a new one or import a Module.
What is the proper way to import a Module?
Upvotes: 2
Views: 3796
Reputation: 490
"19.0.1"
must be like app/buid.gradle include ':libs:facebook'
to your settings.gradle compile project(':libs:facebook');
to dependencies like thisdependencies { compile 'com.android.support:appcompat-v7:+' compile fileTree(dir: 'libs', include: ['*.jar']) compile project(':libs:facebook'); }
7 on menu got to build , Make project
and that is ,try on your mainActivity import com.
you will get an auto complete list with facebook
Upvotes: 4