New android studio version android-studio-2021.1.1.11, tried creating sample empty Android app, its showing this error.
I am trying this with KOTLIN
Could not identify launch activity: Default Activity not found
Error while Launching activity.
AndroidManifest.xml contains below:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.myapplication"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.MyApplication" /> </manifest>
any solution to get out from that error, android app not opening due to that error.
I am a beginner. please give solution in detail
2
Answers
You need to declare you activity in your manifest file.