After ejecting and building App stops in emulator

#1

Please, could you provide me with some information on how to set up this correctly to start…

The run log:

11/07 12:02:23: Launching app
adb install-multiple -r -t C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\instant-run-apk\devMinSdkDevKernel\debug\app-devMinSdk-devKernel-debug.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\dep\dependencies.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_3.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_8.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_4.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_1.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\resources\instant-run\devMinSdkDevKernel\debug\resources-devMinSdk-devKernel-debug.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_2.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_0.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_5.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_6.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_7.apk C:\Users\Institute\Desktop\BackupApp - after eject\android\app\build\intermediates\split-apk\devMinSdkDevKernel\debug\slices\slice_9.apk Split APKs installed in 4 s 764 ms adb shell am start -n “com.innin.standalonetestapp/host.exp.exponent.MainActivity” -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 24679 on device emulator-5554
Capturing and displaying logcat messages from application. This behavior can be disabled in the “Logcat output” section of the “Debugger” settings page.
I/MultiDex: VM with version 2.1.0 has multidex support
I/MultiDex: Installing application
VM has multidex support, MultiDex support library is disabled.
V/FA: Registered activity lifecycle callback
D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
I/FirebaseInitProvider: FirebaseApp initialization successful
I/InstantRun: starting instant run server: is main process
I/zygote: IncrementDisableThreadFlip blocked for 5.719ms
I/zygote: Background concurrent copying GC freed 6167(2MB) AllocSpace objects, 2(40KB) LOS objects, 49% free, 1790KB/3MB, paused 5.270ms total 282.063ms
I/zygote: Do partial code cache collection, code=16KB, data=30KB
I/zygote: After code cache collection, code=16KB, data=30KB
Increasing code cache capacity to 128KB
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
V/FA: Collection enabled
App package, google app id: com.innin.standalonetestapp, 1:367315174693:android:f968efbb41d1fa7a
I/FA: App measurement is starting up, version: 12780
I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.innin.standalonetestapp
D/FA: Debug-level message logging enabled
D/SoLoader: init start
adding system library source: /vendor/lib
D/SoLoader: adding system library source: /system/lib
D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.innin.standalonetestapp-g36Fk3lmrderQnhE_ZbXkw==/lib/x86 flags = 0]
D/SoLoader: adding backup source: com.facebook.soloader.ApkSoSource[root = /data/data/com.innin.standalonetestapp/lib-main flags = 1]
D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.innin.standalonetestapp-g36Fk3lmrderQnhE_ZbXkw==/lib/x86 flags = 0]
Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.innin.standalonetestapp/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/user/0/com.innin.standalonetestapp/lib-main
V/fb-UnpackingSoSource: deps mismatch on deps store: regenerating
so store dirty: regenerating
D/ApkSoSource: not allowing consideration of lib/x86/libc++_shared.so: deferring to libdir
not allowing consideration of lib/x86/libexpo-gl.so: deferring to libdir
not allowing consideration of lib/x86/libfb.so: deferring to libdir
D/ApkSoSource: not allowing consideration of lib/x86/libfolly_json.so: deferring to libdir
not allowing consideration of lib/x86/libgifimage.so: deferring to libdir
not allowing consideration of lib/x86/libglog.so: deferring to libdir
D/ApkSoSource: not allowing consideration of lib/x86/libglog_init.so: deferring to libdir
not allowing consideration of lib/x86/libgnustl_shared.so: deferring to libdir
not allowing consideration of lib/x86/libimagepipeline.so: deferring to libdir
not allowing consideration of lib/x86/libjsc.so: deferring to libdir
not allowing consideration of lib/x86/libprivatedata.so: deferring to libdir
not allowing consideration of lib/x86/libreactnativejni.so: deferring to libdir
not allowing consideration of lib/x86/libstatic-webp.so: deferring to libdir
not allowing consideration of lib/x86/libyoga.so: deferring to libdir
V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
V/fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource
starting syncer worker
I/zygote: Do partial code cache collection, code=61KB, data=53KB
I/zygote: After code cache collection, code=55KB, data=52KB
I/zygote: Increasing code cache capacity to 256KB
V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.innin.standalonetestapp/lib-main (from syncer thread)
not releasing dso store lock for /data/user/0/com.innin.standalonetestapp/lib-main (syncer thread started)
D/SoLoader: init finish: 4 SO sources prepared
init exiting
V/FA: Connecting to remote service
I/stetho: Listening on @stetho_com.innin.standalonetestapp_devtools_remote
V/FA: Connection attempt already in progress
D/ShortcutBadger: Finding badger
D/ShortcutBadger: Current badger:me.leolin.shortcutbadger.impl.DefaultBadger
D/SoLoader: init exiting
V/FA: onActivityCreated
W/AsyncCondition: Could not find listener for key: openOptimisticExperienceActivity
Could not find listener for key: openExperienceActivity
D/SoLoader: init exiting
E/AppLoader: Error fetching cached manifest, falling back to default timeout: Could not load manifest. Are you sure this experience has been published?
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.innin.standalonetestapp, PID: 24679
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.innin.standalonetestapp/host.exp.exponent.MainActivity}: java.lang.IllegalArgumentException: unexpected url: http:
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.IllegalArgumentException: unexpected url: http:
at expolib_v1.okhttp3.Request$Builder.url(Request.java:142)
at host.exp.exponent.kernel.ExponentUrls.addExponentHeadersToUrl(ExponentUrls.java:51)
at host.exp.exponent.kernel.ExponentUrls.addExponentHeadersToManifestUrl(ExponentUrls.java:63)
at host.exp.exponent.ExponentManifest.fetchManifest(ExponentManifest.java:212)
at host.exp.exponent.ExponentManifest.fetchManifest(ExponentManifest.java:196)
at host.exp.exponent.AppLoader.fetchRemoteManifest(AppLoader.java:193)
at host.exp.exponent.AppLoader.startTimerAndFetchRemoteManifest(AppLoader.java:189)
at host.exp.exponent.AppLoader.startTimerAndFetchRemoteManifest(AppLoader.java:183)
at host.exp.exponent.AppLoader.access$800(AppLoader.java:20)
at host.exp.exponent.AppLoader$3.onError(AppLoader.java:160)
at host.exp.exponent.ExponentManifest.fetchCachedManifest(ExponentManifest.java:284)
at host.exp.exponent.AppLoader.start(AppLoader.java:91)
at host.exp.exponent.experience.DetachActivity.onCreate(DetachActivity.java:95)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
D/Exponent: Loaded exp.host status page.
E/FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE
Application terminated.

0 Likes

closed #2

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

0 Likes