You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:Android模拟器无法登录accounts.google.com的解决办法

Android模拟器无法连接accounts.google.com的问题排查与解决请求

我正在搭建Android模拟器做本地测试,用到Firebase Auth及其他Firebase服务,但遇到核心问题:模拟器无法连接accounts.google.com,从应用内、Play商店或设备设置中登录Google均失败,相关报错日志如下:

2022-12-18 00:23:22.624 10270-10373/? E/chromium: [ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -202
2022-12-18 00:23:22.643 10270-10270/? E/Auth: [MinuteMaid, MinuteMaidActivity] Error from MinuteMaidFragment: SSL error

我的模拟器配置:

Pixel 3a API 33 Android Tiramisu Google Play | x86_64

IDE版本:

Android Studio Dolphin | 2021.3.1 Patch 1

我已进行以下尝试,但问题未解决:

  • 更换为不带Google Play的Android镜像,仍出现相同错误
  • 排除网络问题:模拟器可正常使用Google搜索,主机能正常登录其他网站
  • 执行过Stack Overflow相关解决方案步骤,无效

注意:Logcat中存在多类错误,不确定是否与登录问题相关,其中一组异常日志如下:

2022-12-18 00:40:43.732 10270-10270/? E/Auth: [MinuteMaid, MinuteMaidActivity] Error from MinuteMaidFragment: SSL error
2022-12-18 00:40:44.806 1063-1509/? E/DatabaseUtils: Writing exception to parcel
java.lang.SecurityException: No permission to access APN settings
    at com.android.providers.telephony.TelephonyProvider.checkPermissionForApnTable(TelephonyProvider.java:4997)

请问如何让模拟器正常访问accounts.google.com?


内容的提问来源于stack exchange,提问作者Syed Ali

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.08 12:50:29