Android Studio import facebook library odyssey -
i trying use facebook login in app facebook library in android studio.
after following 9 tutorials how import library on android studio 0.6.1 , going (on last tutorial) before click on clean project, after click on getting error:
*c:\users\demetria\androidstudioprojects\test\libreries\facebook\src\com\facebook\facebooka pplinkresolver.java error:(21, 13) error: package bolts not exist error:(37, 49) error: cannot find symbol class applinkresolver error:(57, 12) error: cannot find symbol class task error:(63, 42) error: cannot find symbol class continuation error:(105, 83) error: cannot find symbol variable task error:(192, 27) error: package applink not exist*
could me please?.
in advance.
if imported library via file > import module
, android studio copied facebook
directory project. $project_root/facebook/build.gradle
file references bolts.jar
:
dependencies { compile files('../libs/bolts.jar') compile 'com.android.support:support-v4:19.+' }
note in unziped archive facebook, there libs
folder in parent folder (the ..
path) of library. in project, need point @ libs
folder in facebook library folder. change ..
.
below:
dependencies { compile files('./libs/bolts.jar') compile 'com.android.support:support-v4:19.+' }
Comments
Post a Comment