com.facebook.react.modules.core.JavascriptException: C++ Exception in 'nativeRequireModuleConfig': java.lang.IncompatibleClassChangeError: The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/redacted/base.apk), stack: get@57:538 <unknown>@470:52 o@2:517 e@2:326 i@2:188 <unknown>@469:209 o@2:517 e@2:326 i@2:188 <unknown>@427:517 o@2:517 e@2:326 i@2:188 <unknown>@374:223 o@2:517 e@2:326 i@2:188 <unknown>@12:88 o@2:517 e@2:256 i@2:188 global code@639:9


Solutions on the web19

Solution icon of github
via GitHub by whs
, 1 year ago
found to be of type direct (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/redacted/base.apk), stack: get@57:538 <unknown>@470:52 o@2:517 e@2:326 i@2:188 <unknown>@469:209 o@2:517 e@2:326 i@2:188 <unknown>@427:517 o@2:517 e@2:326 i@2:188 <unknown>@374:223 o@2:517 e@2:326 i@2:188 <unknown>@12:88 o@2:517 e@2:256 i@2:188 global code@639:9

Solution icon of github
via GitHub by skating507
, 10 months ago
Requiring unknown module "../../../update.json"., stack: n@2:700 o@2:404 e@2:326 i@2:188 <unknown>@375:246 o@2:517 e@2:326 i@2:188 <unknown>@12:88 o@2:517 e@2:256 i@2:188 global code@556:9

Solution icon of github
via GitHub by skating507
, 10 months ago
Requiring unknown module "../../../update.json"., stack: n@2:700 o@2:404 e@2:326 i@2:188 <unknown>@375:246 o@2:517 e@2:326 i@2:188 <unknown>@12:88 o@2:517 e@2:256 i@2:188 global code@556:9

Solution icon of github
via GitHub by npomfret
, 1 month ago
i@2:188 <unknown>@12:101 o@2:517 e@2:256 i@2:188 global code@635:9

Solution icon of github
via GitHub by npomfret
, 1 year ago
i@2:188 <unknown>@12:101 o@2:517 e@2:256 i@2:188 global code@635:9

Solution icon of github
via GitHub by ahyong87
, 1 year ago
Requiring unknown module "react-native-audio"., stack: n@2:700 o@2:404 e@2:326 i@2:188 <unknown>@546:228 o@2:517 e@2:326 i@2:188 <unknown>@12:666 o@2:517 e@2:256 i@2:188 global code@553:9

Solution icon of github
<unknown>@12:32 o@2:517 e@2:256 i@2:188 global code@819:9

Solution icon of github
Requiring unknown module "react-native-spinkit", stack: t@2:387 i@2:177 <unknown>@720:131 t@2:511 i@2:177 <unknown>@710:297 t@2:511 i@2:177 <unknown>@645:278 t@2:511 i@2:177 <unknown>@640:387 t@2:511 i@2:177 <unknown>@638:180 t@2:511 i@2:177

Solution icon of github
Requiring unknown module "buffer", stack: 05-26 16:28:53.873 16192 16224 E AndroidRuntime: t@2:387 05-26 16:28:53.873 16192 16224 E AndroidRuntime: i@2:177 05-26 16:28:53.873 16192 16224 E AndroidRuntime: <unknown>@381:2868 05-26 16:28:53.873

Solution icon of github
index.android.bundle:9:18849 touchableHandleResponderRelease index.android.bundle:9:16449 o index.android.bundle:5:26040 a index.android.bundle:5:45391 l index.android.bundle:5:45624 f

Stack trace

com.facebook.react.modules.core.JavascriptException: C++ Exception in 'nativeRequireModuleConfig': java.lang.IncompatibleClassChangeError: The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/redacted/base.apk), stack:
get@57:538
<unknown>@470:52
o@2:517
e@2:326
i@2:188
<unknown>@469:209
o@2:517
e@2:326
i@2:188
<unknown>@427:517
o@2:517
e@2:326
i@2:188
<unknown>@374:223
o@2:517
e@2:326
i@2:188
<unknown>@12:88
o@2:517
e@2:256
i@2:188
global code@639:9
	at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:94)
	at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
	at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:139)
	at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.