![]() ![]() To fix the "Error type 3: Activity class does not exist" issue with React-Native productFlavors in Gradle, you can check the Manifest file for any errors or inconsistencies. With these steps, you should be able to fix the "Error type 3: Activity class does not exist" issue in Gradle when using React-Native productFlavors by checking the main activity class name. Save the adle file and run the Gradle build command again.Below these fields, add the following code to specify the main activity class name:.In the defaultConfig section, locate the applicationId and versionCode fields.Open the android/app/adle file and search for the defaultConfig section.Copy the value of the android:name attribute.This attribute specifies the name of the main activity class. Open the AndroidManifest.xml file and search for the android:name attribute in the activity tag.Navigate to the android/app/src/main directory. ![]()
0 Comments
Leave a Reply. |