我在 Android Studio 中遇到 Gradle 问题
错误:
Error:(37, 0) Gradle DSL method not found: 'packageNameSuffix()' Possible causes:
The project 'FilHarmonie' may be using a version of Gradle that does not contain the method. Gradle settings The build file may be missing a Gradle plugin. Apply Gradle plugin
问题出在哪里?
最佳答案
这在几个月前更改为 applicationIdSuffix
,并在 11 月删除了旧名称。 Here is some documentation关于 packageName
和 applicationId
之间的区别。
关于android - 找不到 Gradle DSL 方法 : 'packageNameSuffix()' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29254107/