What is the first step to create a new Android project in Android Studio?
Open Android Studio and select "New Project" from the welcome screen or the File menu.
Click to reveal answer
beginner
Which file defines the app's name, icon, and theme during project creation?
The AndroidManifest.xml file defines app details like the app name and icon, while the app-level build.gradle file manages dependencies and build configurations. The project wizard lets you set the app name and icon initially.
Click to reveal answer
beginner
What is the purpose of choosing a "Project Template" when creating a new Android project?
A project template provides a starting point with pre-built code and UI components, like a basic activity or empty activity, to help you begin faster.
Click to reveal answer
beginner
Why do you need to select a "Minimum SDK" when creating a new Android project?
The Minimum SDK sets the oldest Android version your app supports, ensuring it runs on devices with that version or newer.
Click to reveal answer
beginner
What files are automatically created when you start a new Android project with an Empty Activity template?
Android Studio creates MainActivity.kt, activity_main.xml layout, AndroidManifest.xml, and Gradle build files to get you started.
Click to reveal answer
What do you click first to start a new Android project in Android Studio?
A"Import Project"
B"Open Existing Project"
C"New Project"
D"Settings"
✗ Incorrect
You start by clicking "New Project" to create a fresh Android app.
Which template is best for starting with a blank screen?
AEmpty Activity
BBasic Activity
CFullscreen Activity
DNavigation Drawer Activity
✗ Incorrect
Empty Activity gives you a blank screen to build your app from scratch.
What does the Minimum SDK setting control?
AThe oldest Android version your app supports
BThe maximum Android version your app supports
CThe Android version used to build the app
DThe Android version for testing only
✗ Incorrect
Minimum SDK defines the oldest Android version that can run your app.
Which file contains the main UI layout for your activity?
AMainActivity.kt
Bactivity_main.xml
CAndroidManifest.xml
Dbuild.gradle
✗ Incorrect
activity_main.xml holds the UI design for the main screen.
What language is used by default for new Android projects in Android Studio?
ASwift
BJava
CC++
DKotlin
✗ Incorrect
Kotlin is the recommended and default language for Android development.
Describe the steps to create a new Android project in Android Studio.
Think about what you see on the Android Studio welcome screen.
You got /6 concepts.
Explain why choosing the Minimum SDK is important when creating a new Android project.
Consider device versions and app features.
You got /4 concepts.
Practice
(1/5)
1. What is the first step when creating a new Android project in Android Studio?
easy
A. Create a new Java file manually
B. Write Kotlin code directly without any setup
C. Download an app from the Play Store
D. Open Android Studio and select 'New Project' from the welcome screen
Solution
Step 1: Open Android Studio
You start by launching Android Studio, the official tool for Android development.
Step 2: Select 'New Project'
From the welcome screen, you choose 'New Project' to begin setting up your app.
Final Answer:
Open Android Studio and select 'New Project' from the welcome screen -> Option D
Quick Check:
First step = Open Android Studio and start new project [OK]
Hint: Always start by opening Android Studio and choosing 'New Project' [OK]
Common Mistakes:
Trying to write code before creating a project
Skipping Android Studio and using other tools
Downloading apps instead of creating one
2. Which language should you select when creating a new Android project to use Kotlin?
easy
A. Kotlin
B. Java
C. C++
D. Python
Solution
Step 1: Choose the programming language option
During project setup, Android Studio asks which language to use for your app.
Step 2: Select Kotlin for modern Android development
Kotlin is the recommended language for Android apps, so you pick Kotlin here.
Final Answer:
Kotlin -> Option A
Quick Check:
Language choice = Kotlin [OK]
Hint: Pick Kotlin language option to write Android apps [OK]
Common Mistakes:
Choosing Java instead of Kotlin
Selecting unsupported languages like Python
Not selecting any language
3. After creating a new Android project with an Empty Activity template, what will the default screen show when you run the app?
medium
A. A screen showing a list of items
B. A screen showing 'Hello World!' text with no buttons
C. A screen with a button labeled 'Click Me'
D. An error message saying 'No layout found'
Solution
Step 1: Understand the Empty Activity template
This template creates a simple app with minimal UI: a single TextView displaying 'Hello World!' by default.
Step 2: Run the app to see the default UI
When you run the app, it shows 'Hello World!' text on screen with no buttons.
Final Answer:
A screen showing 'Hello World!' text with no buttons -> Option B
Hint: Empty Activity shows 'Hello World!' text initially [OK]
Common Mistakes:
Expecting buttons or lists by default
Thinking the app shows a list automatically
Confusing error messages with default UI
4. You created a new Android project but the app crashes on launch with an 'ActivityNotFoundException'. What is the most likely cause?
medium
A. You forgot to select Kotlin as the language during project creation
B. You did not connect a physical device
C. You did not set a launcher activity in the manifest
D. You used an unsupported Android Studio version
Solution
Step 1: Understand the error meaning
'ActivityNotFoundException' often means the app can't find the starting point (launcher activity).
Step 2: Check AndroidManifest.xml for launcher activity
If no launcher activity is set, the app crashes because it doesn't know which screen to show first.
Final Answer:
You did not set a launcher activity in the manifest -> Option C
Quick Check:
Missing launcher activity = crash [OK]
Hint: Always set launcher activity in manifest to avoid launch crashes [OK]
Common Mistakes:
Assuming language choice causes this error
Blaming Android Studio version without checking manifest
Thinking device connection causes activity errors
5. You want to create a new Android project that uses Kotlin and includes a basic UI with a button and text. Which template should you select during project creation?
hard
A. Basic Activity
B. Empty Activity
C. No Activity
D. Fullscreen Activity
Solution
Step 1: Review available templates
Empty Activity gives a 'Hello World!' screen; Basic Activity includes a button (FAB) and text by default.
Step 2: Choose Basic Activity for UI elements
Basic Activity template sets up a screen with a button and text, ready for interaction.
Final Answer:
Basic Activity -> Option A
Quick Check:
UI with button = Basic Activity [OK]
Hint: Pick Basic Activity for ready-made button and text UI [OK]
Common Mistakes:
Choosing Empty Activity expecting UI elements
Selecting No Activity which has no UI
Using Fullscreen Activity which is for immersive apps
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.