Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSlava Fleer
6,086 PointsIf you did as quick guide say and still has error after pressing test button, check next link.
https://www.parse.com/apps/quickstart#parse_push/android/existing
you need to add the following code to the onCreate method of your Application class:
ParsePush.subscribeInBackground("", new SaveCallback() {
@Override
public void done(ParseException e) {
if (e == null) {
Log.d("com.parse.push", "successfully subscribed to the broadcast channel.");
} else {
Log.e("com.parse.push", "failed to subscribe for push", e);
}
}
});
Vincent Rickey
5,581 PointsNevermind! I realized that I was just having trouble installing the updated application on my local device. It works fine using the instructions that you provided above. Tanks.
Vincent Rickey
5,581 PointsVincent Rickey
5,581 PointsHey Slava, would you mind posting your Manifest, RibbitApplication class, and Gradle dependencies? Thanks!