The emulator for API version 23,24,25 all crash when using the images that contain google apis
Hi,
Can you please copy paste the related step’s log here? Would help a lot to see what exactly crashes.
Also, did you follow this local debug guide How to debug your build locally / "It works on my Mac/PC but not on bitrise.io" ? Might help as well, especially if you use the Linux/Android stack, there you can download the whole environment through docker
as explained in the guide.
Yes, crashes running locally with CLI.
The step is just a failure due to process crash. says to see the logcat
Here is a snippet with the crash from the device
gistfile1.txt
06-21 09:34:41.906 5489-5489/com.aetn.aetv.watch.dev I/WebViewFactory: Loading com.android.webview version 52.0.2743.100 (code 275610000)
06-21 09:34:43.442 5489-5496/com.aetn.aetv.watch.dev W/art: Suspending all threads took: 1.163s
06-21 09:34:43.870 5489-5496/com.aetn.aetv.watch.dev W/art: Suspending all threads took: 321.610ms
06-21 09:34:43.941 5489-5496/com.aetn.aetv.watch.dev W/art: Suspending all threads took: 20.966ms
06-21 09:34:44.340 5489-5496/com.aetn.aetv.watch.dev W/art: Suspending all threads took: 21.976ms
06-21 09:34:44.407 5489-5489/com.aetn.aetv.watch.dev I/cr_LibraryLoader: Time to load native libraries: 39 ms (timestamps 1555-1594)
06-21 09:34:44.420 5489-5489/com.aetn.aetv.watch.dev I/cr_LibraryLoader: Expected native library version number "52.0.2743.100", actual native library version number "52.0.2743.100"
06-21 09:34:45.306 5489-5489/com.aetn.aetv.watch.dev V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {8782ad4}
06-21 09:34:45.307 5489-5489/com.aetn.aetv.watch.dev I/cr_LibraryLoader: Expected native library version number "52.0.2743.100", actual native library version number "52.0.2743.100"
06-21 09:34:45.748 5489-5489/com.aetn.aetv.watch.dev I/chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
This file has been truncated. show original
as you can see by the “murder suicide” it’s pretty serious
The good news is if you fix it locally it’ll work on bitrise.io too
Now, why it crashes: how do you run those tests without the CLI? Asking because the CLI just calls android tools, there’s nothing special in those steps.