Expo detached project doesn't work android device


#1

I need some help. i couldn’t work on android device my detacted project.
I need realtime execution with react native project.
i tried sudo react-native run-android command my result below.
Kind Regards.

BUILD SUCCESSFUL in 41s
287 actionable tasks: 7 executed, 280 up-to-date
Running adb -s 031603a1a8ae3601 reverse tcp:8081 tcp:8081
Starting the app on 031603a1a8ae3601 (adb -s 031603a1a8ae3601 shell am start -n host.exp.exponent/host.exp.exponent.MainActivity)…
Starting: Intent { cmp=host.exp.exponent/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=host.exp.exponent/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } } from null (pid=869, uid=2000) not exported from uid 10309
at android.os.Parcel.readException(Parcel.java:1693)
at android.os.Parcel.readException(Parcel.java:1646)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:3569)
at com.android.commands.am.Am.runStart(Am.java:663)
at com.android.commands.am.Am.onRun(Am.java:392)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
at com.android.commands.am.Am.main(Am.java:125)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)