Open your project's build.gradle
file (not the module file) and add this dependency,
allprojects {repositories {...maven { url "https://jitpack.io" }}}
Then open your module build.gradle
file and add the Parse library
(with the latest version being)
dependencies {implementation "com.github.parse-community.Parse-SDK-Android:parse:1.18.5"}
Setup Parse using your server configuration:
MyApp.javaimport com.parse.Parse;import android.app.Application;public class MyApp extends Application{@Overridepublic void onCreate(){super.onCreate();Parse.initialize(new Parse.Configuration.Builder(this).applicationId("YOUR_APP_ID").clientKey("YOUR_CLIENT_KEY").server("https://xxxx.parse-symbyoz.com/parse/").enableLocalDataStore().build());}}
The custom Application
class must be registered in AndroidManifest.xml
AndroidManifest.xml<applicationandroid:name=".MyApp"...>...</application>