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>
All I did was disable offline mode and sync project
I solved the very same issue by following steps
Close Android Studio
deleting from :
C:\Users\your user name.android/log and gradle folder
C:\Users\your user name.gradle
from C:\Users[your user name]
Restart Computer and run Android studio (it Will take some time to rebuild)
I deleted .android under C:\Users[your user name] and all worked
For future visitors with similar problem, I am just posting this incase if this turns out to be same problem for you. I tried everything mentioned here and yet none of them worked. Error: Default Activity Not Found
I am using Android Studio Stable 3.2.1 version and project is in Kotlin. I cloned project again and opened project freshly again after several Invalidate caches/Restart but din't help. Finally this 1 helped -> upgrading kotlin version in root .gradle file..from 1.3.10 to 1.3.11
In root gradle file
I am experiencing this build error after setting a custom style in a manifest file.
to
Have you refactored it in anyway ? Trying doing :