简体   繁体   English

备份已安装的android-sdk

[英]Backing up installed android-sdk

For some reasons I need to reinstall my Windows 7 OS. 由于某些原因,我需要重新安装 Windows 7 OS。

I have android-sdk installed at: C:\\Users\\user_name\\AppData\\Local\\Android\\android-sdk and the entire directory weighs 2.5 GB . 我在以下位置安装了android-sdk: C:\\Users\\user_name\\AppData\\Local\\Android\\android-sdk ,整个目录的大小为2.5 GB

What is the best way to back up the 2.5 GB and use after I reinstall my OS ? 重新安装操作系统后,备份和使用2.5 GB的最佳方法是什么? Using backed up sdk would save a considerable amount of time. 使用备份的sdk将节省大量时间。

Please help. 请帮忙。

I recommend you to Zip the sdk and move to another partition like D: E: F: , Now after you successfully installed your windows, Install Android Studio, Extract the sdk.zip you made previously and select the sdk folder you just extracted. 我建议您压缩sdk并移至另一个分区,例如D:E:F:,现在,成功安装Windows后,安装Android Studio,解压缩先前创建的sdk.zip,然后选择刚刚解压缩的sdk文件夹。 You need internet connection for the first time while you create a project. 创建项目时,第一次需要互联网连接。 It will download some jar otherwise you will get gradle error!! 它将下载一些jar,否则您将收到gradle错误!

Just copy entire folder andorid-sdk . 只需复制整个文件夹andorid-sdk After reinstall os just paste this folder in any directory. 重新安装操作系统后,只需将此文件夹粘贴到任何目录中即可。 And from sdk manager in eclipse or studio select this sdk folder. 然后从Eclipse或Studio中的sdk管理器中选择此sdk文件夹。 Hope everything will work fine. 希望一切正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM