Is it possible to allocate these folders in another place?

后端 未结 6 482
甜味超标
甜味超标 2020-11-30 18:27

I am installing Android Studio and I have by default the path C:\\Users\\Administrator\\AppData\\Local\\Android\\sdk to set my SDK. If

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 19:02

    At least for Android 3.0 the steps in the accepted solution are not enough to be able to run the emulators after moving the .android folder (let's say you moved the folder from c:\Users\\.android to I:\Programs\AppData\.android). In addition you need to

    1. Copy (or leave) files adbkey and adbkey.pub in old location (i.e. c:\Users\\.android\adbkey, c:\Users\\.android\adbkey.pub)
    2. Replace the old location path string C:\Users\\ in all .INI files found in the new avd location (i.e. in I:\Programs\AppData\.android\avd) with the new location path string I:\Programme\AppData\
    3. Delete all *.qcow2 files from the new avd location (i:\Programme\AppData\.android\avd) which contain the old location path string c:\Users\\. Check Qcow2-files refer to incorrect/nonexistent base-images for an alternative to delete the *.qcow2 files. If you delete the files all data in the emulator is lost, in this case you will get a clean version of Android, like after a hard reset.

提交回复
热议问题