Some sort of error

Multi tool use
Multi tool use


Some sort of error



Something is wrong with my java file, but I don't know what it is. Can someone please tell me.
BTW, I'm new to this



Thank You



Screenshot



enter image description here





Nevermind I got it
– Omar
Jul 2 at 10:29





Close the question then.
– JacksOnF1re
Jul 2 at 10:36




3 Answers
3



Closing braces are missing as far as i can see.



you need to give 2 closing braces after super statement



you are missing closing } braces.



put the 2 closing } braces after your onCreate() callback .


}


onCreate()



Example:-


package com.example;

import..

public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

4XBWrfgJ
A2Yh6DuUQbIrDDGaBMjJDU0l,ERR P8OSYNrt4pgvP84 SQXHx8I XZwn1tiWwI 3G0XSrcNyIw6EsoqU2 tPZ8ONg8

Popular posts from this blog

Rothschild family

Boo (programming language)