performance - how to add google-play-services_lib to android studio -
i have project needs google play services dependency, security reasons, can not download sdk manager. rather given folder: google-play-services_lib
how add project ?
in project , creates folder inside app named 'libs' , , copy jar of playservices. android studio.
app -libs -src -build
in build gradle:
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile filetree(dir: 'libs', include: ['*.so']) compile files('libs/nameofjargoogleplayservices.jar') }
Comments
Post a Comment