从昨天开始,我在新的SSD光盘上安装Android Studio时遇到了问题。
我试着关闭防火墙,windows防御者,运行android studio与管理员权限,我也试着下载JDK 8,然后JDK 10,我有JAVA在我的电脑上,当我第一次尝试运行ANDROID STUDIO,当他尝试下载像android sdk或类似的东西时,我总是得到这样的相同消息;
准备“安装Android SDK工具(修订版:26.1.1)".正在下载https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip java.io.IOException:无法下载“https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip”:不支持的记录版本未知-192.23,响应:200 OK
警告:准备SDK包时出错Android SDK Tools:
无法下载“https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip”:不支持的记录版本未知-192.23,响应:200 OK.“安装Android SDK工具(修订版:26.1.1)”失败。
当我尝试启动Android Studio不支持的记录版本时,总是出现此错误
未知-192.23(<--此数字始终不同)
谢谢你们谁会试图帮助我解决这个问题
P.s.我使用的是Windows 7 64位和Vertex 60 GB SSD
P.s. android工作室都在旧的硬盘上工作,是硬的问题吗?
这是完整的安装日志,你可以看到很多错误和失败的安装,为什么会发生这种情况?
Preparing "Install Android SDK Tools (revision: 26.1.1)".
Downloading https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip': Unsupported record version Unknown-192.23
, response: 200 OK
Warning: An error occurred while preparing SDK package Android SDK Tools: Cannot download 'https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip': Unsupported record version Unknown-192.23
, response: 200 OK.
"Install Android SDK Tools (revision: 26.1.1)" failed.
Preparing "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 6.2.1)".
Downloading https://dl.google.com/android/repository/extras/intel/haxm-windows_r6_2_1.zip
"Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 6.2.1)" ready.
Installing Intel x86 Emulator Accelerator (HAXM installer) in C:\Users\NaTu\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
"Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 6.2.1)" complete.
"Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 6.2.1)" finished.
Preparing "Install SDK Patch Applier v4 (revision: 1)".
Downloading https://dl.google.com/android/repository/3534162-studio.sdk-patcher.zip.bak
"Install SDK Patch Applier v4 (revision: 1)" ready.
Installing SDK Patch Applier v4 in C:\Users\NaTu\AppData\Local\Android\Sdk\patcher\v4
"Install SDK Patch Applier v4 (revision: 1)" complete.
"Install SDK Patch Applier v4 (revision: 1)" finished.
Preparing "Install Android Emulator (revision: 27.1.12)".
Downloading https://dl.google.com/android/repository/emulator-windows-4623001.zip
"Install Android Emulator (revision: 27.1.12)" ready.
Installing Android Emulator in C:\Users\NaTu\AppData\Local\Android\Sdk\emulator
"Install Android Emulator (revision: 27.1.12)" complete.
"Install Android Emulator (revision: 27.1.12)" finished.
Preparing "Install Android Support Repository (revision: 47.0.0)".
Downloading https://dl.google.com/android/repository/android_m2repository_r47.zip
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/android_m2repository_r47.zip': Tag mismatch!
, response: 200 OK
Warning: An error occurred while preparing SDK package Android Support Repository: Cannot download 'https://dl.google.com/android/repository/android_m2repository_r47.zip': Tag mismatch!
, response: 200 OK.
"Install Android Support Repository (revision: 47.0.0)" failed.
Preparing "Install Android SDK Platform-Tools (revision: 27.0.1)".
Downloading https://dl.google.com/android/repository/platform-tools_r27.0.1-windows.zip
"Install Android SDK Platform-Tools (revision: 27.0.1)" ready.
Installing Android SDK Platform-Tools in C:\Users\NaTu\AppData\Local\Android\Sdk\platform-tools
"Install Android SDK Platform-Tools (revision: 27.0.1)" complete.
"Install Android SDK Platform-Tools (revision: 27.0.1)" finished.
Preparing "Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)".
Downloading https://dl.google.com/android/repository/build-tools_r27.0.3-windows.zip
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" ready.
Installing Android SDK Build-Tools 27.0.3 in C:\Users\NaTu\AppData\Local\Android\Sdk\build-tools\27.0.3
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" complete.
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" finished.
Preparing "Install Google Repository (revision: 58)".
Downloading https://dl.google.com/android/repository/google_m2repository_gms_v11_3_rc05_wear_2_0_5.zip
"Install Google Repository (revision: 58)" ready.
Installing Google Repository in C:\Users\NaTu\AppData\Local\Android\Sdk\extras\google\m2repository
"Install Google Repository (revision: 58)" complete.
"Install Google Repository (revision: 58)" finished.
Preparing "Install Sources for Android 27 (revision: 1)".
Downloading https://dl.google.com/android/repository/sources-27_r01.zip
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/sources-27_r01.zip': Unsupported record version Unknown-130.125
, response: 200 OK
Warning: An error occurred while preparing SDK package Sources for Android 27: Cannot download 'https://dl.google.com/android/repository/sources-27_r01.zip': Unsupported record version Unknown-130.125
, response: 200 OK.
"Install Sources for Android 27 (revision: 1)" failed.
Preparing "Install Android SDK Platform 27 (revision: 1)".
Downloading https://dl.google.com/android/repository/platform-27_r01.zip
"Install Android SDK Platform 27 (revision: 1)" ready.
Installing Android SDK Platform 27 in C:\Users\NaTu\AppData\Local\Android\Sdk\platforms\android-27
"Install Android SDK Platform 27 (revision: 1)" complete.
"Install Android SDK Platform 27 (revision: 1)" finished.
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\build-tools\27.0.3\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\emulator\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\extras\google\m2repository\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\patcher\v4\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\platform-tools\package.xml
Parsing C:\Users\NaTu\AppData\Local\Android\Sdk\platforms\android-27\package.xml
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip': Unsupported record version Unknown-192.23
, response: 200 OK
Warning: An error occurred while preparing SDK package Android SDK Tools: Cannot download 'https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip': Unsupported record version Unknown-192.23
, response: 200 OK.
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/android_m2repository_r47.zip': Tag mismatch!
, response: 200 OK
Warning: An error occurred while preparing SDK package Android Support Repository: Cannot download 'https://dl.google.com/android/repository/android_m2repository_r47.zip': Tag mismatch!
, response: 200 OK.
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/sources-27_r01.zip': Unsupported record version Unknown-130.125
, response: 200 OK
Warning: An error occurred while preparing SDK package Sources for Android 27: Cannot download 'https://dl.google.com/android/repository/sources-27_r01.zip': Unsupported record version Unknown-130.125
, response: 200 OK.
Preparing "Install Android Support Repository (revision: 47.0.0)".
Downloading https://dl.google.com/android/repository/android_m2repository_r47.zip
3条答案
按热度按时间kgsdhlau1#
我尝试安装Android API 27时遇到了同样的问题。每次我使用SDK管理器时,它都会下载但无法安装。我是这样解决的
1.以管理员身份运行Android Studio
1.开放SDK管理器
1.点击“编辑”发现接近“Android SDK位置”
1.它会打开一个窗口,显示您已下载但尚未安装的“Android SDK平台”列表。
1.在我的例子中,它显示API 27 - 62MB。我点击了这个来安装。成功安装后,我的应用程序工作正常。
我希望这个修复方法对你有用
9fkzdhlc2#
以管理员身份运行Android Studio将主要引导您找到解决方案。
jhkqcmku3#
方法-->1解决方法为:以管理员身份运行Android Studio。重新运行更新。会成功的
方法-->2我注意到一些关于强制https//的设置...要使用http://获取...使用后,我的下载运行正常:
方法-->3从该位置下载zip文件将其提取并将模拟器文件夹的模拟器文件夹图像移动到SDK文件夹的SDK文件夹图像我希望它对你也有效,我使用的是Windows 10 Pro 64 bit。
方法-->4我在尝试安装Android API 27时遇到了同样的问题。每次我使用SDK管理器时,它都会下载但无法安装。以下是我如何修复它运行Android Studio作为管理员打开SDK管理器点击“编辑”发现接近“Android SDK位置”它打开一个窗口,显示列表“Android SDK平台”你已经下载但尚未安装.它显示API 27- 62 MB。我点击了这个来安装。成功安装后,我的应用程序工作正常。我希望这个修复程序对你有效
方法-->5在我的情况下,我检查了windows update,其中一些驱动程序处于挂起状态,一些驱动程序不完整。然后我通过更新Windows与适当的网络重新启动,然后Android Studio安装正确,SDK工作。