Installing Parse on Android Studio 1.5

Asked

Viewed 147 times

3

Hello, I’m having trouble installing Parse in my project, I include the library(Parse-1.11.0.jar) in the libs folder, I change the manifest.xml with permissions, in the java class, in the Oncreate method I include the call, in Gradle I include in the dependencies the Compile information, but always make that mistake: FAILURE: Build failed with an Exception.

  • What Went Wrong: Execution failed for task ':app:dexDebug'.

    com.android.ide.common.process.Processexception: org.gradle.process.internal.Execexception: Process 'command 'C: Program Files Java jdk1.8.0_31 bin java.exe'' finished with non-zero Exit value 2

Any tips? Thanks for the help in advance.

  • This is a generic error message. Look at Gradle Console and look for the real error, usually comes before this message.

  • If I understand well what you put, besides adding the .jar, you are also adding the dependency to the Gradle file. You need to import the library in one way or another, not both. As stated on Parser’s own Github page: Download the latest JAR or define in Gradle. https://github.com/ParsePlatform/Parse-SDK-Android

  • I appreciate the attention , I managed to solve. I just didn’t declare the compilation information in Gradle, contrary to what the parse page itself says and compiled right.

  • Thanks Luiz, it worked out! I resolved only including in libs.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.