1. Please don't make duplicate posts.
2. There are almost no good reasons to use AppCompat as Android 4 devices are no longer relevant.
3. Check the logs including the unfiltered logs. Must be an error message.
4. My guess is that your SDK is misconfigured. Download a new one: https://www.b4x.com/b4a.html
sorry for the duplicate post,
I try your appcompat sample code,i try in debug mode and release mode all same, i am creating new SDK folder from your suggestion also get the same problem, no error in log tab after compiling but my app autoclose. if i am comment #Extends: android.support.v7.app.AppCompatActivity it is getting a new error about cast.