win10热更新bug,Could not invoke RCTHotUpdate.downloadPatchFromPackage



  • java.lang.RuntimeException: Could not invoke RCTHotUpdate.downloadPatchFromPackage
    at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:332)
    at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
    at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
    at android.os.Looper.loop(Looper.java:148)
    at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
    at java.lang.Thread.run(Thread.java:818)
    Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:318)
    at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158) 
    at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
    at android.os.Handler.handleCallback(Handler.java:739) 
    at android.os.Handler.dispatchMessage(Handler.java:95) 
    at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
    at android.os.Looper.loop(Looper.java:148) 
    at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
    at java.lang.Thread.run(Thread.java:818) 
    Caused by: java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/com..(包名)/files/instant-run/dex/slice-support-annotations-24.2.1_dd70abae77ef66eb2ccf94fd1f3042c5750306d9-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-pldroid-player-1.3.2_15ee3adecc2feba202f5c9edcab20d78c17aa23e-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-pldroid-media-streaming-2.1.0_c677d9d5f542b3d2d0f358e71b27a0796526a0c3-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-okio-1.9.0_8419eda5011033c9ae512887ad8a8a3b873a5e3d-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-okhttp-ws-3.4.1_c404f7e98e6d55361224b7901603292b9376b486-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-okhttp-urlconnection-3.4.1_1b0133dd40aa67a2ca82a2e416f06c76588c96bf-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-okhttp-3.4.1_fdb88aecc86ac323aaa0cc008bf8c35fe21c6980-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-nrtc-sdk_6fc7b0a285cc63a10312cf6b50aaf892bea01ec1-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-nim-basesdk-2.8.0_3408e3f6858fbddb868f3f95e6a9e96ddba01a41-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-nim-avchat-2.8.0_9cae64bab42ce307f5e0613f9d458363a36bad40-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-library-2.4.0_1ee29c67816545f8d2b0efe3441d20ca042097fb-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-jsr305-3.0.0_d5485724baea2e8e77fee2e05a47a503013f9aef-classes.dex", dex file "/data/data/com..(包名)/files/instant-run/dex/slice-jpush-android-2.2.0_8b29e3adb



  • 解决了吗?我也出现了这个问题


登录后回复