我尝试启动 android sdk 模拟器,但是当我按后退按钮时,出现此错误:
INFO | Critical: Failed to load https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true: The 'Access-Control-Allow-Origin' header has a value 'qrc://' that is not equal to the supplied origin. Origin 'qrc://' is therefore not allowed access. (qrc:/html/js/common.js:0, (null))
INFO | Critical: Failed to load https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true: The 'Access-Control-Allow-Origin' header has a value 'qrc://' that is not equal to the supplied origin. Origin 'qrc://' is therefore not allowed access. (qrc:/html/js/common.js:0, (null))
Run Code Online (Sandbox Code Playgroud)
我使用 Ubuntu 并尝试通过终端启动模拟器,我使用 google cmdline-tools(最新版本)的 avdmanager,这是我尝试使用的 AVD:
Name: my_avd_29ii
Path: /home/user/.android/avd/my_avd_29ii.avd
Target: Google APIs …Run Code Online (Sandbox Code Playgroud)