2

The error message: Could not set unknown property 'enforceUniquePackageName' for object of type com.android.build.gradle.AppExtension.

The only relevant search result I found was Gradle - "enforceUniquePackageName" deprecated with version 3.0.0+? which notes that older Gradle versions will work with this.

I'd like to know how others have got around this issue.

Zoe
  • 27,060
  • 21
  • 118
  • 148
Pijuvwy
  • 21
  • 2
  • It was also stated in this [link](https://github.com/googlecast/CastVideos-android/issues/55) that after Gradle v3.0.0+, `enforceUniquePackageName` has been deprecated. You can either, not update the gradle, or remove that line. The app should build regardless. – abielita May 15 '18 at 15:40

0 Answers0