模拟器错误:“无法访问 'C:\Users\...\.emulator_console_auth_token': 模拟器控制台将无法工作",用户名是西里尔文 [英] Error of the emulator: "Unable to access 'C:\Users\...\.emulator_console_auth_token': emulator console will not work", with username in Cyrillic
问题描述
我的用户名是用西里尔文写的,这就是为什么当我运行 android studio 模拟器时出现错误:
My username is written in Cyrillic which is why when I run the android studio emulator I get an error:
模拟器:错误:无法访问'C:\Users\Александр.emulator_console_auth_token':模拟器控制台将无法工作
Emulator: ERROR: Unable to access 'C:\Users\Александр.emulator_console_auth_token': emulator console will not work
有没有办法把路径迁移到这个文件?
Is there any way to migrate the path to this file?
推荐答案
我修复了它该目录中的空 .emulator_console_auth_token 文件.
I fixed it by making a folder in my user directory with the folder name that the error printed (in your case Александр), and then making an empty .emulator_console_auth_token file in that directory.
这将禁用身份验证:(https://developer.android.com/studio/run/emulator-console).
This will disable authentication: (https://developer.android.com/studio/run/emulator-console).
要禁用身份验证,请从 .emulator_console_auth_token 文件中删除令牌,如果它不存在,则创建一个空文件.
To disable authentication, delete the token from the .emulator_console_auth_token file or create an empty file if it doesn't exist.
但我怀疑这会不会有问题
But I doubt that will be a problem
这篇关于模拟器错误:“无法访问 'C:\Users\...\.emulator_console_auth_token': 模拟器控制台将无法工作",用户名是西里尔文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!