Application on android studio works on android 10.0 but not on android 12.0
Hello,
I’m a beginner on android studio and kotlin and I have a problem. I made a simple application to start, it works in simulation on a Nexus 5X with android 10.0, but not on a PIXEL 6 with android 12.0 and I don’t understand why.
I only want to display a toast when I press a button
Here is my MainActivity code:
package com.example.helloword2
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.Toast
// entrer...