Skip to content

Instantly share code, notes, and snippets.

@mindlapse
Created July 7, 2019 17:57
Show Gist options
  • Save mindlapse/5e4b7f971701125bb63ac9e48f90f0e9 to your computer and use it in GitHub Desktop.
Save mindlapse/5e4b7f971701125bb63ac9e48f90f0e9 to your computer and use it in GitHub Desktop.
tipsi-stripe #497 - build log when attempting to revert to RN 0.45.0 with the latest stripe-android
MacBook-Pro-4:android davemacdonald$ npm run test:android
> [email protected] test:android /Users/davemacdonald/dev/stripe/tipsi-stripe/example
> TEST_SUITE=android appium-helper --platform android
Appium is running on: 0.0.0.0:4723
Found next Android device: Android SDK built for x86 (emulator-5554), version: 8.0.0
-------------------------------------
Error while executing tests:
An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.example' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: 'com.example.MainActivity' or 'com.example.com.example.MainActivity' never started. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting
-------------------------------------
Stack:
{ status: 13,
type: 'UnknownError',
message:
'An unknown server-side error occurred while processing the command.',
orgStatusMessage:
"An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.example' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: 'com.example.MainActivity' or 'com.example.com.example.MainActivity' never started. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting" }
-------------------------------------
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:android: `TEST_SUITE=android appium-helper --platform android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/davemacdonald/.npm/_logs/2019-07-07T17_52_04_011Z-debug.log
M
....
....
....
....
....
2019-07-07 13:51:42.739 21195-21215/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2019-07-07 13:51:42.739 21195-21215/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
2019-07-07 13:51:42.739 21195-21215/? E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
2019-07-07 13:51:42.779 21195-21213/? E/AndroidRuntime: FATAL EXCEPTION: Thread-2
Process: com.example, PID: 21195
java.lang.RuntimeException: Unable to load script from assets 'index.android.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.
at com.facebook.react.cxxbridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.cxxbridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:198)
at com.facebook.react.cxxbridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:33)
at com.facebook.react.cxxbridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:216)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:994)
at com.facebook.react.ReactInstanceManager.access$600(ReactInstanceManager.java:109)
at com.facebook.react.ReactInstanceManager$4.run(ReactInstanceManager.java:746)
at java.lang.Thread.run(Thread.java:764)
2019-07-07 13:51:42.810 21195-21215/? D/EGL_emulation: eglMakeCurrent: 0x9751a5e0: ver 3 0 (tinfo 0x86d5f380)
....
....
....
....
....
2019-07-07 13:52:00.759 21174-21186/? E/UiWatchers: Exception
com.android.uiautomator.core.UiObjectNotFoundException: UiSelector[TEXT=OK, ENABLED=true]
at com.android.uiautomator.core.UiObject.click(UiObject.java:399)
at com.android.uiautomator.common.UiWatchers.postHandler(UiWatchers.java:176)
at com.android.uiautomator.common.UiWatchers$4.checkForCondition(UiWatchers.java:115)
at com.android.uiautomator.core.UiDevice.runWatchers(UiDevice.java:560)
at com.android.uiautomator.core.UiObject.findAccessibilityNodeInfo(UiObject.java:176)
at com.android.uiautomator.core.UiObject.waitForExists(UiObject.java:855)
at com.android.uiautomator.core.UiObject.exists(UiObject.java:906)
at io.appium.android.bootstrap.utils.TheWatchers.isDialogPresent(TheWatchers.java:51)
at io.appium.android.bootstrap.utils.TheWatchers.check(TheWatchers.java:36)
at io.appium.android.bootstrap.SocketServer$1.run(SocketServer.java:140)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment