Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle DSL method not found: 'packageNameSuffix()'

I have a problem with the Gradle in Android Studio

Error :

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
  • Where is the problem ?

    like image 322
    BSK-Team Avatar asked Dec 06 '25 02:12

    BSK-Team


    1 Answers

    This was changed to applicationIdSuffix several months ago, with the old name removed in November. Here is some documentation regarding the differences between packageName and applicationId.

    like image 169
    CommonsWare Avatar answered Dec 08 '25 15:12

    CommonsWare