I am a beginner to android development, app development and development in general and I am trying to setup a backend database for my android application. I decided to use a service called back4app in order to have a more user-friendly experience with the database as I am also new to using databases too.
Anyways, I followed the tutorial that is located here which was an okay tutorial except that it was a bit out of date. At the end of the tutorial it states that my oncreate method in the mainactivity should look like this:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Parse.initialize(this);
ParseInstallation.getCurrentInstallation().saveInBackground();
}
When I enter in this code I get a syntax error that says this:
initialize (com.parse.Parse.Configuration) in Parse cannot be applied to (com.example.zica.spartanjcapp.MainActivity)
I have searched in several different areas and cannot find anything that relates to my problem or how to resolve it. I have also gone over the entire tutorial to ensure that I followed it to the T and I can ensure you that I have. If anyone would be able to help me resolve my issue, I would be very grateful. Thank you for taking the time to read this.