trying make parse work on android, i'm having problems build path while trying upload data and/or trying add user loggin. *.jar. spent hours trying find solution. in fact, tried of solutions on both these threads:
getting error in using parse sdk library in sample android app
libraries not added apk anymore after upgrade adt 22
but none seem work.
package com.testingparse; import android.app.application; import android.net.parseexception; import com.parse.parse; import com.parse.parseexception; import com.parse.parseobject; import com.parse.parseuser; import com.parse.signupcallback; public class chatapp extends application { @override public void oncreate() { super.oncreate(); parse.initialize(this, "id#1", "id#2"); parseobject testobject = new parseobject("testobject"); testobject.put("foo", "bar"); testobject.saveinbackground(); } }
p.s.: id#1 , id#2 right numbers of application @ parse site @ settings>keys of application.
any @ appreciated. in advance.
2 ss of problem (notification , solution suggested eclipse): http://imageshack.com/a/img673/4706/vjcgyk.png
found solution problem here:
https://stackoverflow.com/a/26737578/1311265
turns out that, not parse-1.10.2.jar required, bolts-android-1.2.1.jar despites turorial of parse.com says. having same issue, after drag & drop , add build path both *.jars, error vanish.
it runs no problem, now. althought doesn't send data parse.com yet, that's completly different problem , not related. i'll try find solution myself new issue , open post if needed.
thanks tryed help.
Comments
Post a Comment