Google chrome can't read and write to its data directory mutli-device hybrid app

别等时光非礼了梦想. 提交于 2019-12-08 04:54:52

问题


On running the ripple emulator with nexus s & galaxy . I am getting a dialog box saying

Google chrome can't read and write to its data directory
c:\ users\amit 

and when i click ok on that .suddenly chrome opens up saying : cannot view webpage . one more thing where can i set the System path variable to

          %JAVA_HOME%\bin;%ADT_HOME%\tools;%ADT_HOME%\platform-tools;%ANT_HOME%\bin;

I mean to say what is this(System path variable) i don't understand .


回答1:


This worked for me on Windows 7.

Go to the file given in the error message:

c\users\[username]\application data\local\google\chrome
  • right click the chrome file
  • share with-specific people
  • use drop down arrow in top box and choose your username ie give yourself permission to share the file.
  • add
  • confirm.

Message says its been done,

  • close.

Chrome then opens without having to open it as administrator after every boot-up.




回答2:


It seems your Chrome user data directory might be corrupted, try following and see whether it helps:

  1. Take the back-up of bookmarks (if you want to back-up the data)
  2. Delete C:\Users\[user name]\AppData\Local\Google\Chrome folder
  3. Uninstall Chrome
  4. Reinstall Chrome



回答3:


For the time being, you can create a android emulator. You don't need chrome for that.




回答4:


It will work normally when you log in as administrator. If not you can simply change the "chmod" of the directory to 777. it will work.




回答5:


if you are in windows:

  1. go to C:\Program Files (x86)\Google
  2. right-click on "chrome" folder
  3. go to "security" tab
  4. click on "Edit..." button -> "Add..."
  5. type Everyone -> "OK" -> "OK"
  6. clicke on "Advanced"
  7. in front of 'owner' click on "Change"
  8. type Everyone -> "OK" -> "OK" -> "OK"


来源:https://stackoverflow.com/questions/25533088/google-chrome-cant-read-and-write-to-its-data-directory-mutli-device-hybrid-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!