This should be an easy fix. But I am a new programmer. I can't find answers anywhere. I just started building my app, (For the second time. My computer was stolen so lost all my previous work.) I am using Pasre.com. Haven't written any code yet, only the parse.initialize
. I am already getting an error on this line
public void onCreate() {
Parse.initialize(this, "xxxx", "xxxxx");
}
My error states this
Multiple markers at this line
- Syntax error on token(s), misplaced
construct(s)
- Syntax error on token "void", @ expected
Like I said, I am rebuilding an app that I have started before, and I didn't have this issue then. But this is the newest version of eclipse, and I haven't programmed anything with it yet. (Hoping everything is installed properly) I am running Linux, not sure if that would matter either. I am a new programmer, so if an explanation is needed, please be thorough. Thanks for looking guys.