[.NET MAUI] Plugin.Firebase 에러 : Unable to get provider com.google.firebase.provider
C#/Xamarin Maui 2023. 2. 16. 00:44728x90
Plugin.Firebase Android 쪽 테스트를 하는데 아래와 같은 에러가 발생되었습니다.
Java.Lang.RuntimeException: 'Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalStateException: The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account.' |
프로젝트에 아래 처럼 Platforms/Android/Resources 의 위치에 strings.xml 을 추가하고
아래 내용을 넣으면 오류가 해결됩니다.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="com.google.firebase.crashlytics.mapping_file_id">none</string>
</resources>
https://github.com/TobiasBuchholz/Plugin.Firebase
728x90