Reputation: 658
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?
Upvotes: 3
Views: 623
Reputation: 658
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"
}
}
Upvotes: 2