我正在更新com.google.android.gms
和firebase gradle依赖项以修复此处描述的错误:Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdInternalReceiver。我在用
compile 'com.google.android.gms:play-services:9.8.0'
。使用上面的版本似乎会在adb logcat
期间导致以下堆栈跟踪。
为什么会导致此错误?
FATAL EXCEPTION: main
05-15 12:21:11.721 11491 11491 E AndroidRuntime: Process: com.netbeast.yeti.debug,
PID: 11491 05-15 12:21:11.721 11491 11491 E AndroidRuntime:
java.lang.RuntimeException: Unable to get provider
com.marianhello.bgloc.sync.DummyContentProvider:
java.lang.ClassNotFoundException: Didn't find class
"com.marianhello.bgloc.sync.DummyContentProvider"
on path: DexPathList[[zip file "/data/app/com.netbeast.yeti.debug-2/base.apk"],
nativeLibraryDirectories=[/data/app/com.startup.app.debug-2/lib/arm,
/data/app/com.startup.app.debug-2/base.apk!/lib/armeabi-v7a,
/vendor/lib, /system/lib]]
有关详细信息:错误来自本机端使用的库。这是一个具有react native的项目,它有一个名为react-native-mauron85-background-geolocation