I published an android app and after a while, when I wanted to edit it and publish a new version. So I imported it in Android Studio.
My problem is the Android Studio does not run my app on my device and shows this message:

What can I do to fix it?
according to this link I add these attributes on my app's build.gradle and the problem is gone :)
// Gradle Plugin 2.0+
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
or
/
/ Gradle Plugin 1.5
android {
defaultConfig {
generatedDensities = []
}
// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions {
additionalParameters "--no-version-vectors"
}
}
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