模拟器错误:“无法访问'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屋!