Trying to use Firestore in my project. My project is a brand new one, but having problems running the app on my device without getting an error: Execution failed for tas
If you are using AndroidX,
Add below lines to app/build.gradle
multiDexEnabled true // to the defaultConfig {}
implementation 'androidx.multidex:multidex:2.0.1' // to the dependencies
To the AndroidManifest.xml (Optional)
Please note that you have to extends MainActivity
to the MultiDexApplication
. If you change android:name
.