Gradle “manifest requires a placeholder substitution” error but manifestPlaceholders supplies a value

前端 未结 4 351
我在风中等你
我在风中等你 2020-12-11 16:11

I\'m trying to perform substitution within the AndroidManifest.xml file from the build.gradle android extension but am getting this error:

AndroidManifest.xm         


        
4条回答
  •  一生所求
    2020-12-11 16:40

    You need to add the applicationId placeholder to the application gradle. This happens with the integration of Firebase, after updating to Gradle 2.2.0-alpha1

    android {
        ...
        defaultConfig {
            applicationId "com.example.my.app"
            ...
        }
    }
    

    See: Unable to get provider com.google.firebase.provider.FirebaseInitProvider

提交回复
热议问题