how should resolve my problem that i'm getting error at class.java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how should resolve my problem that i'm getting error at class.java?

Package com.example.myapplication import android.content.Intent import android.os.Bundle import android.widget.Button import androidx.appcompat.app.AppCompatActivity class MainActivity3 : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main5) val button= findViewById<Button>(R.id.button4) button.setOnClickListener{ val intent= Intent(this,MainActivity4::class.java) startActivity(intent) } } } how should resolve my problem that i'm getting error at class.java?

16th Jan 2021, 10:26 AM
👀 Sandy👀
👀  Sandy👀 - avatar
1 Answer
0
You might want to try to MD5# it or do a class optical line, not exactly sure though.
17th Jan 2021, 2:04 AM
Shark Killerman
Shark Killerman - avatar