App crashes on certain device only

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): Android 7.0 on Galaxy S6

The app crashes only on Galaxy S6 so far. When the app opens it crashes immediately.
Both standalone app and expo client app crashes.
Tested on other devices like Galaxy S8, Xiaomi, Emulator all fine

Not just my app, I use the expo client app to open the “Expo APIs” and “React Navigation” examples, they also show the same error log.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.myapp.app, PID: 32042
java.lang.RuntimeException: Expo encountered a fatal error: Error: Exception in HostObject::get(propName:NativeUnimoduleProxy): java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=3, stack:
@ 363:153
v@2:1474
@ 361:914
v@2:1474
@ 360:85
v@2:1474
@ 359:206
v@2:1474
@ 358:102
v@2:1474
<unknow
at host.exp.exponent.experience.a$b.run(BaseExperienceActivity.java:7)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

2 Likes

Hi, any solution to this problem? I have the same error with Android 8.1 on Motorola G5 Plus.

still crashing on latest expo 37 client

Hello,

same problem here.

Expo SDK 36
Android 7.0 on Honor 6.X

What’s weird is that the very same Expo client is working on that phone if served from another computer.

Any clue about this issue?

Best regards,
TontonGuigui

Ok, cleaning node_modules and reinstalling with npm fixed the issue for me.

Hth

I believe it’s another case.
My case is even using the expo client with their “expo apis” example, the app still shows error.

I am facing the same issue for my app and also “Expo APIs” and “React Navigation” in the expo client since yesterday.
It works fine the day before yesterday.
I have upgraded expo SDK but it still works fine until yesterday.
Issue happened on: Zenfone 3 - Adroid 8.0 - my Main testing device
Clean node_modules and npm install cannot help
My app still work fine in my Iphone 5 and my other android phone

!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.