How To Add Parse to an Android Studio Project?

前端 未结 8 1739
野趣味
野趣味 2020-12-24 01:22

I\'m trying to use the Parse library in Android Studio. I have used the basic example on their website and added the jar to the libs folder as well as added as a global libr

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-24 02:00

    I encountered the same problem too and here's what I did:

    • I placed the entire Parse-1.2.5 in the libs folder (I didn't have to create the folder as Parse's quickstart said).
    • Open the build.grade file. There are two of them - open the one that's at the same level as the src folder
    • You'll see two instances of "dependencies". Add the following to the "dependencies" that is NOT nested under "buildscript":

      compile files('libs/Parse-1.2.5/Parse-1.2.5.jar')

    If that still doesn't work, try right clicking the Parse-1.2.5.jar file and select "Add to Project Library"

    Hope that helps!

提交回复
热议问题