Recently I updated my android studio to 3.2 but when the old open project I getting the error "default activity not found".
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.qualifiedapps.birthdaywishes">
<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/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
None of the given solutions worked for me. The thing that worked for me was:
It will re-index your files and that thing will work
I solved the very same issue by doing this
Close Android Studio
deleting :
1 .android
2 .AndroidStudio
3 .gradle
from C:\Users\[your user name]
Start Android studio ( Will take some time to rebuild)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With