: Choose Empty Activity . This provides a clean slate. Configure Project : Name : "MySimpleApp" Language : Select Kotlin .

: This is the official IDE (Integrated Development Environment).

: Use this tool at the bottom of the IDE to see real-time errors and system messages. Conclusion

The logic resides in MainActivity.kt . This class is the entry point of your app. Steps to Connect UI to Code: : This function runs when the app starts.

: Choose API 24 (Android 7.0) or higher to ensure compatibility with 90%+ of devices.

Android uses (Extensible Markup Language) to define layouts. The most flexible layout is the ConstraintLayout . Example: A Simple Button and Text In activity_main.xml , you might define: TextView : To display a greeting. Button : To trigger an action.