Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import parse.com library into Android studio 0.8.2

I'm trying to import the Parse-1.5.1.jar file into my project in Android studio following these steps: - File -> Project structure - Click on the plus button and click on Import .JAR or .AAR package - Choose my jar file and then hit finish

But then any command from the parse library is recognized. For example : "Cannot resolve symbol ParseObject" and android studio doesn't propose me to import anything.

I can't find on stackoverflow any instruction for these version of Android studio and Parse.

Any suggestion ?

like image 919
ArnaudToutain Avatar asked Dec 01 '25 03:12

ArnaudToutain


1 Answers

Today i too started with Parse. All you need to do is:

  • Copy the parse-1.5.1.Jar file (Ctrl+c) and paste it in app->libs folder
  • Ensure build.gradle inside the app folder contains this line: compile fileTree(dir: 'libs', include: ['*.jar'])

That's it. You just need to click on Sync Project with Gradle Files button on the top to rebuild your project. You'll now be ready to use the classes from the Parse Library.

Hope this helps. All the best

like image 198
SilleBille Avatar answered Dec 02 '25 16:12

SilleBille