Skip to content Skip to sidebar Skip to footer

Include Github Project Into Android Studio 2 Project Without Jar Or Dependency

i have found this sdk: is24-restapi-java and i want to import it into my android studio project for further use. But i can't find a way to include it. I did some searching throug

Solution 1:

  • Goto File -> New -> Import Module.
  • Source Directory -> Browse the project path
  • Specify the Module Name – it is used for internal project reference.
  • Let Android Studio build the project.
  • Open build.gradle (Module:app) file.
  • Add the following line with your module name in place of “projectName” in the dependencies block:

     compile project(':projectName')

    After this Android Studio would start saying “gradle files have changed since last project sync”, press the “sync now” link to start a sync.

Post a Comment for "Include Github Project Into Android Studio 2 Project Without Jar Or Dependency"