Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Nicholas Tan
PLUS
Nicholas Tan
Courses Plus Student 8,562 Points

Import Parse.com into your Android Studio

Anyway this is to share with all of you guys what i found, resource can be found in the following link

http://stackoverflow.com/questions/16588064/how-do-i-add-a-library-project-to-the-android-studio

1 Answer

Nicholas Tan
PLUS
Nicholas Tan
Courses Plus Student 8,562 Points

Maybe just drop here the Quick way on how to get your Parse SDK into Android Studio's

t is whole process of creating HelloWorld with external library (ActionBarSherlock in this case):

Create new project (named HelloWorld in my case) Now you have file structure with root dir "HelloWorld", and subdir "HelloWorld" (module named "HelloWorld - HelloWorld"). Create new dir "libraries" in root directory (HelloWorld/libraries after creation). Download ActionBarSherlock, upack it and copy "actionbarsherlock" directory to HelloWorld/libraries (HelloWorld/libraries/actionbarsherlock after this operation). Now go to Project Structure (⌘ + ; on mac). Go to Modules and add new one by pressing + and Import module Pick your actionbarsherlock directory. Then "next" "next" .... "finish". Now in Actionbarsherlock module delete android-support-library (because this is second copy of this library - it will cause build errors). In HelloWorld-HelloWorld module add module dependency by clicking "+" on bottom panel. And pick Module dependency -> actionbarsherlock Now go to Global libraries and add android-support-library from HelloWorld/libs to all projects (HelloWorld and actionbarsherlock). Thanks that you have one, the same support library in all projects. And now your IDE is well configured. But also you have to configure Gradle separately.

Just follow the abstracted steps above to help you import your Parse SDK.