Ресурсу Android не удалось найти идентификатор ресурса # 0x7f0e0037 - PullRequest
0 голосов
/ 21 октября 2019

Я пытаюсь использовать oneSignal в своем приложении для Android, но когда я добавляю android:name="com.sarkaribank.Activities.oneSignal" эту строку в мой файл манифеста. Я получаю эту ошибку. Мой идентификатор приложения такой же, как в моем проекте Firebase

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.sarkaribank, PID: 25391 java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f0e0037 at android.app.ActivityThread.installProvider(ActivityThread.java:6396) at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853) at android.app.ActivityThread.access$1100(ActivityThread.java:199) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f0e0037 at android.content.res.ResourcesImpl.getResourcePackageName(ResourcesImpl.java:263) at android.content.res.Resources.getResourcePackageName(Resources.java:1970) at com.google.android.gms.common.internal.StringResourceValueReader.(Unknown Source:5) at com.google.firebase.FirebaseOptions.fromResource(com.google.firebase:firebase-common@@16.0.2:160) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@16.0.2:301) at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@16.0.2:53) at android.content.ContentProvider.attachInfo(ContentProvider.java:1917) at android.content.ContentProvider.attachInfo(ContentProvider.java:1892) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common@@16.0.2:47) at android.app.ActivityThread.installProvider(ActivityThread.java:6391) at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853) at android.app.ActivityThread.access$1100(ActivityThread.java:199) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

...