Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
@Override
   protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_login);
       sqliteHelper = new SqliteHelper(this);
       initCreateAccountTextView();
       initViews();


am getting an error of method does not overide a method from a super class

What I have tried:

SQL

l have tried most of da solutions in different tutorials but nothing is changing
Posted
Updated 2-Apr-18 7:31am
Comments
Richard MacCutchan 2-Apr-18 9:05am    
Please show your class definition statement. Are you sure this is C++?
Tony Hill 2-Apr-18 10:57am    
This is Android Java not C++.

1 solution

Take the message serious!!! In most cases the reason is the signature (the head) of the function is wrong.

I guess that the keyword "protected" is wrong and needs to get removed. See onCreate().
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900