JNI DETECTED ERROR IN APPLICATION: obj == null

3,127 views
Skip to first unread message

uminto...@gmail.com

unread,
May 22, 2018, 3:31:04 PM5/22/18
to Firebase Google Group
i use firebase sdk for unity . i want to integrate FirebaseAnalytics.unitypackage.but when i run the playservicesresolver. for some reasons. i must delet the automated playservicesresolver then i manually select file .now . this error let me confused :

05-23 01:29:18.358 30352-30375/? I/Unity: set message sender id
                                           
                                          (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
05-23 01:29:18.358 30352-30375/? I/Unity: set project id
                                           
                                          (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
05-23 01:29:18.368 30352-30375/? W/linker: libApp-4.5.2.so: unused DT entry: type 0x6ffffffe arg 0x8bc24
05-23 01:29:18.368 30352-30375/? W/linker: libApp-4.5.2.so: unused DT entry: type 0x6fffffff arg 0x3
05-23 01:29:18.388 30352-30712/? E/AudioTrackShared: BBK_AUDIO ClientProxy going to wait
05-23 01:29:18.428 30352-30375/? E/Unity: Unable to find /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
05-23 01:29:18.428 30352-30712/? E/AudioTrackShared: BBK_AUDIO ClientProxy going to wait
05-23 01:29:18.458 30352-30375/? I/firebase: Firebase App initializing app com.uminton.basketball.local.us (default 1).
05-23 01:29:18.458 30352-30375/? I/Unity: Firebase App initializing app com.uminton.basketball.local.us (default 1).
                                           
                                          (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
05-23 01:29:18.468 30352-30712/? E/AudioTrackShared: BBK_AUDIO ClientProxy going to wait
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: obj == null
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]     in call to CallObjectMethodV
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]     from boolean com.unity3d.player.UnityPlayer.nativeRender()
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65] "UnityMain" prio=5 tid=16 Runnable
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x12d9f4a0 self=0xab8a79c0
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   | sysTid=30375 nice=0 cgrp=default sched=0/0 handle=0xab8a7ea0
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   | state=R schedstat=( 9461680440 344725693 10339 ) utm=840 stm=106 core=7 HZ=100
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   | stack=0xdf077000-0xdf079000 stackSize=1036KB
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #00 pc 00004a70  /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #01 pc 000030cd  /system/lib/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEjP8ucontext+8)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #02 pc 002475fd  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+68)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #03 pc 0022b359  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+144)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #04 pc 000b0c23  /system/lib/libart.so (_ZN3artL8JniAbortEPKcS1_+582)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #05 pc 000b1359  /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+60)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #06 pc 001b2c17  /system/lib/libart.so (_ZN3art3JNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+606)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #07 pc 000b0513  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (_ZN7_JNIEnv16CallObjectMethodEP8_jobjectP10_jmethodIDz+18)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #08 pc 000f7a49  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (_ZN8firebase12_GLOBAL__N_1L24ReadOptionsFromResourcesEP7_JNIEnvP8_jobjectPNS_10AppOptionsE+432)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #09 pc 000f75e7  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (_ZN8firebase3App6CreateERKNS_10AppOptionsEPKcP7_JNIEnvP8_jobject+486)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #10 pc 000a7379  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (_ZN8firebaseL9AppCreateEPKNS_10AppOptionsEPKc+56)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #11 pc 000a731b  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (_ZN8firebaseL21AppGetDefaultInstanceEPKNS_10AppOptionsE+26)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #12 pc 000a46d1  /data/app/com.uminton.basketball.local.us-1/lib/arm/libApp-4.5.2.so (Firebase_App_CSharp_FirebaseApp_CreateInternal__SWIG_1+4)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   native: #13 pc 00004ea8   (???)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at com.unity3d.player.UnityPlayer.nativeRender(Native method)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at com.unity3d.player.UnityPlayer.a(unavailable:-1)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at com.unity3d.player.UnityPlayer$b$1.handleMessage(unavailable:-1)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at android.os.Handler.dispatchMessage(Handler.java:98)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at android.os.Looper.loop(Looper.java:135)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65]   at com.unity3d.player.UnityPlayer$b.run(unavailable:-1)
05-23 01:29:18.488 30352-30375/? A/art: art/runtime/check_jni.cc:65] 


Corresponding code in the attachment
and the so files also in the attachment


plz help me .let me to finish the task in such short time
ab0f305321e3c647b45cc13a4db411b2.png
607ca9ba5fa7ed4690d09b69c577a940.png

Stewart Miles

unread,
May 22, 2018, 6:42:24 PM5/22/18
to Firebase Google Group
You should not delete the Play Services Resolver, it's required to fetch the Android libraries required for the SDK.  Could you explain why you felt like you needed to delete the component?

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/faf32f13-5620-4d03-b4c6-329f52a0b9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

FreeStyle Uminton

unread,
May 23, 2018, 10:35:41 AM5/23/18
to fireba...@googlegroups.com
Because I integrated Google login before integrating firebase.and also has others sdk at Plugins folder

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/faf32f13-5620-4d03-b4c6-329f52a0b9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Stewart Miles

unread,
May 29, 2018, 12:37:05 PM5/29/18
to Firebase Google Group
The Android Resolver doesn't touch files that are not labeled by the plugin

The Google Sign-in plugin already uses the Android Resolver so would have placed files in the Assets/Plugins/Android folder already.  For SDKs that do not use the Android Resolver you should encourage plugin developers to migrate to it so that all Android dependencies can be resolved rather than forcing you the developer to deal with conflicts and issues like you're running into.

Cheers,
Stewart

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/faf32f13-5620-4d03-b4c6-329f52a0b9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages