After adding firebase-analytics extension using https://github.com/defold/extension-firebase-analytics,
the system provides an error message when building an Android version.
i have done Setup for Android
Remove following lines from your AndroidManifest.xml
<!-- Disable Firebase Analytics --> <meta-data android:name=“firebase_analytics_collection_deactivated” android:value=“true” />
google-services.xml folder structure
Open game.project
and set the Bundle Resources
entry under the Project
section to /bundle
to match the folder created in the step above.
firebase.init() function called when script’s init function
add firebase log event
please help me