Reputation: 6918
I am trying to add Parse to my Android App. I first started by dragging the Parse files into my Android Studio project. Next I added this to my application onCreate:
Parse.initialize(this, myParseAppID, myParseClientID");
The app ID and client ID are correct but the app still crashes.
I am not getting any logs:
Also I DID add this to my manifest:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Thanks in advance!
Upvotes: 0
Views: 422
Reputation: 2953
How did you add the dependency on Android studio? Try adding the parse jar file directly to your libs folder. It works for me.
Upvotes: 0
Reputation: 3663
Try to use like this
Parse.initialize(Splash.this, "","");
ParseInstallation.getCurrentInstallation().saveInBackground();
PushService.setDefaultPushCallback(Splash.this, ParsePush.class);
Upvotes: 1