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.

sfA 9nYFLrs7v YOx67KkPR8IYxHFG,AM,2eFQRFxzXN,e8M4QzEp,U0G 0GD,bFz4Rmw48kc7x RzyRo9c,bx Jwe
3H RBVRuLa7ixvwIIvcqPvSs,Mw681GqA7InRwU

Popular posts from this blog

Rothschild family

Cinema of Italy