budtmo / docker-android

Android in docker solution with noVNC supported and video recording
Other
9.15k stars 1.22k forks source link

[🐛 Bug ]: Web pages are not rendered in Android emulator #446

Open pawlakmaly opened 1 month ago

pawlakmaly commented 1 month ago

Operating System

Ubuntu 22.04

Docker Image

budtmo/docker-android:emulator_14.0

Expected behaviour

When i open webView for my hybrid application inside android emulator, then the page is rendered and operable

Actual behaviour

Page is not operable nor rendered image

Logs

##############################################################################
##                        WARNING - ACTION REQUIRED                         ##
##  Consider using the '-metrics-collection' flag to help improve the       ##
##  emulator by sending anonymized usage data. Or use the '-no-metrics'     ##
##  flag to bypass this warning and turn off the metrics collection.        ##
##  In a future release this warning will turn into a one-time blocking     ##
##  prompt to ask for explicit user input regarding metrics collection.     ##
##                                                                          ##
##  Please see '-help-metrics-collection' for more details. You can use     ##
##  '-metrics-to-file' or '-metrics-to-console' flags to see what type of   ##
##  data is being collected by emulator as part of usage statistics.        ##
##############################################################################
INFO    | Loading snapshot 'default_boot'...
WARNING | Device 'system' does not have the requested snapshot 'default_boot'
WARNING | Failed to load snapshot 'default_boot'
WARNING | Failed to process .ini file /home/androidusr/.android/emu-update-last-check.ini for reading.
DEBUG   | Failed to extract userId from Android Studio. Using emulator generated id=916c0df7-ba83-4520-b5fe-dc7033b423d2
DEBUG   | No acpi ini file provided, using default
WARNING | Failed to process .ini file /home/androidusr/.android/emu-update-last-check.ini for reading.
DEBUG   | VirtIO WiFi: unexpected full virtqueue
DEBUG   | VirtIO WiFi: unexpected full virtqueue (2x)
DEBUG   | setDisplayPose 0 x -1 y -1 w 768 h 1280 dpi 320
2024-07-09 10:47:57 INFO Emulator - [attempt: 1] emulator is not booted! will check again in 2 seconds
2024-07-09 10:47:59 INFO Emulator - [attempt: 2] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:01 INFO Emulator - [attempt: 3] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:03 INFO Emulator - [attempt: 4] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:05 INFO Emulator - [attempt: 5] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:07 INFO Emulator - [attempt: 6] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:09 INFO Emulator - [attempt: 7] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:11 INFO Emulator - [attempt: 8] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:13 INFO Emulator - [attempt: 9] emulator is not booted! will check again in 2 seconds
DEBUG   | _hwFingerprint_connect: connect finger print listen is called
DEBUG   | got message from guest system fingerprint HAL
2024-07-09 10:48:15 INFO Emulator - [attempt: 10] emulator is not booted! will check again in 2 seconds
2024-07-09 10:48:17 INFO Emulator - [attempt: 11] emulator is not booted! will check again in 2 seconds
INFO    | Boot completed in 34828 ms
INFO    | Increasing screen off timeout, logcat buffer size to 2M.
DEBUG   | calling ctec from remote
DEBUG   | added one remote client
2024-07-09 10:48:20 INFO Emulator - emulator is booted!
DEBUG   | Registering pipe service multidisplay
DEBUG   | MultiDisplayPipe created 0x5652582f96c0
DEBUG   | MultiDisplayPipe recevied QUERY
DEBUG   | MultiDisplayPipe send add id 0 width 768 height 1280 dpi 320 flag 0
DEBUG   | getMultiDisplay 0 x -1 y -1 w 768 h 1280 dpi 320 flag 0 enable 1
I0709 10:48:28.426487     617 VkDecoderGlobalState.cpp:631] Creating Vulkan instance for app: Chromium
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
I0709 10:48:28.447523     617 VkDecoderGlobalState.cpp:1482] Created new VkDevice. ASTC emulation? 0. CPU decoding? 0
DEBUG   | getMultiDisplay 0 x -1 y -1 w 768 h 1280 dpi 320 flag 0 enable 1
DEBUG   | getMultiDisplay 0 x 0 y 0 w 768 h 1280 dpi 320 flag 0 enable 1
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
I0709 10:48:33.543783     617 VkDecoderGlobalState.cpp:1771] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
2024-07-09 10:48:35 INFO Emulator - [attempt: 1] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:35 INFO Emulator - [attempt: 2] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:35 INFO Emulator - Pop up windows 'Not Responding: com.android.systemui' is not found!
2024-07-09 10:48:35 INFO Emulator - [attempt: 1] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:35 INFO Emulator - [attempt: 2] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:35 INFO Emulator - Pop up windows 'Not Responding: com.google.android.gms' is not found!
2024-07-09 10:48:35 INFO Emulator - [attempt: 1] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:36 INFO Emulator - [attempt: 2] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:36 INFO Emulator - Pop up windows 'Not Responding: system' is not found!
2024-07-09 10:48:36 INFO Emulator - [attempt: 1] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:36 INFO Emulator - [attempt: 2] emulator is not pop up window! will check again in 0 seconds
2024-07-09 10:48:36 INFO Emulator - Pop up windows 'ConversationListActivity' is not found!
2024-07-09 10:48:36 INFO Emulator - [attempt: 1] emulator is not in welcome screen! will check again in 2 seconds
I0709 10:48:37.009968     617 VkDecoderGlobalState.cpp:1771] gfxstream_texture_format_manifest: VK_FORMAT_R8_UNORM
I0709 10:48:37.013741     617 VkDecoderGlobalState.cpp:1771] gfxstream_texture_format_manifest: VK_FORMAT_S8_UINT
2024-07-09 10:48:38 INFO Emulator - [attempt: 2] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:40 INFO Emulator - [attempt: 3] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:42 INFO Emulator - [attempt: 4] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:44 INFO Emulator - [attempt: 5] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:46 INFO Emulator - [attempt: 6] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:48 INFO Emulator - [attempt: 7] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:51 INFO Emulator - [attempt: 8] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:53 INFO Emulator - [attempt: 9] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:55 INFO Emulator - [attempt: 10] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:57 INFO Emulator - [attempt: 11] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:48:59 INFO Emulator - [attempt: 12] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:01 INFO Emulator - [attempt: 13] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:03 INFO Emulator - [attempt: 14] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:05 INFO Emulator - [attempt: 15] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:07 INFO Emulator - [attempt: 16] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:12 INFO Emulator - [attempt: 17] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:14 INFO Emulator - [attempt: 18] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:16 INFO Emulator - [attempt: 19] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:18 INFO Emulator - [attempt: 20] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:21 INFO Emulator - [attempt: 21] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:23 INFO Emulator - [attempt: 22] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:25 INFO Emulator - [attempt: 23] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:28 INFO Emulator - [attempt: 24] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:30 INFO Emulator - [attempt: 25] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:32 INFO Emulator - [attempt: 26] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:34 INFO Emulator - [attempt: 27] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:36 INFO Emulator - [attempt: 28] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:38 INFO Emulator - [attempt: 29] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:40 INFO Emulator - [attempt: 30] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:42 INFO Emulator - [attempt: 31] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:44 INFO Emulator - [attempt: 32] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:46 INFO Emulator - [attempt: 33] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:48 INFO Emulator - [attempt: 34] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:50 INFO Emulator - [attempt: 35] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:52 INFO Emulator - [attempt: 36] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:54 INFO Emulator - [attempt: 37] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:56 INFO Emulator - [attempt: 38] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:49:58 INFO Emulator - [attempt: 39] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:00 INFO Emulator - [attempt: 40] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:02 INFO Emulator - [attempt: 41] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:04 INFO Emulator - [attempt: 42] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:07 INFO Emulator - [attempt: 43] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:09 INFO Emulator - [attempt: 44] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:11 INFO Emulator - [attempt: 45] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:13 INFO Emulator - [attempt: 46] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:15 INFO Emulator - [attempt: 47] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:17 INFO Emulator - [attempt: 48] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:19 INFO Emulator - [attempt: 49] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:21 INFO Emulator - [attempt: 50] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:23 INFO Emulator - [attempt: 51] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:25 INFO Emulator - [attempt: 52] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:27 INFO Emulator - [attempt: 53] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:29 INFO Emulator - [attempt: 54] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:31 INFO Emulator - [attempt: 55] emulator is not in welcome screen! will check again in 2 seconds
2024-07-09 10:50:33 INFO Emulator - [attempt: 56] emulator is not in welcome screen! will check again in 2 seconds
ERROR: openbox-xdg-autostart requires PyXDG to be installed
pawlakmaly commented 1 month ago

Adding emulator option -gpu host helped a bit, I'm able to see the pages but they are not correctly rendered with vnc