Android Studio 安装BUG [英] Android Studio Installation BUG

查看:30
本文介绍了Android Studio 安装BUG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从昨天开始,我在我的新 SSD 光盘上安装 android studio 时遇到了问题.

我尝试关闭防火墙、Windows Defender,使用管理员权限运行 android studio,我也尝试下载 JDK 8,然后是 JDK 10,我的电脑上有 JAVA,当我第一次尝试运行 ANDROID STUDIO 时,当他尝试下载诸如 android sdk 或类似的东西时,我总是收到相同的消息;

<块引用>

准备安装 Android SDK 工具(修订版:26.1.1)".下载

  1. 它会打开一个窗口,显示您已下载但尚未安装的Android SDK 平台"列表.

  1. 就我而言,它显示 API 27-62MB.我点击这个进行安装.成功安装后,我的应用运行良好.

我希望这个修复对你有用

From yesterday i am having problems while installing android studio on my new SSD disc.

I tried to turn off firewall, windows defender, run android studio with ADMINISTRATOR rights, also i tried downloading JDK 8 , then JDK 10 , I have JAVA on my computer and when i try to run ANDROID STUDIO for the first time and when he try to download things like android sdk or similar i am getting always the same message like this;

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.

I am always getting this for error when i try to start Android Studio Unsupported record version

Unknown-192.23(<-- this numbers are always diffrent )

Thank you guys who will try to help me fix this

P.s. i am using Windows 7 64 bit & Vertex 60gb SSD

P.s. android studio all worked on older HARD DISC , is problem in hard?

This is FULL INSTALATION logs you can see a lot of mistakes and failer installations,why that happens ?

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:UsersNaTuAppDataLocalAndroidSdkextrasintelHardware_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:UsersNaTuAppDataLocalAndroidSdkpatcherv4
"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:UsersNaTuAppDataLocalAndroidSdkemulator
"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:UsersNaTuAppDataLocalAndroidSdkplatform-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:UsersNaTuAppDataLocalAndroidSdkuild-tools27.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:UsersNaTuAppDataLocalAndroidSdkextrasgooglem2repository
"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:UsersNaTuAppDataLocalAndroidSdkplatformsandroid-27
"Install Android SDK Platform 27 (revision: 1)" complete.
"Install Android SDK Platform 27 (revision: 1)" finished.
Parsing C:UsersNaTuAppDataLocalAndroidSdkuild-tools27.0.3package.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkemulatorpackage.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkextrasgooglem2repositorypackage.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkextrasintelHardware_Accelerated_Execution_Managerpackage.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkpatcherv4package.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkplatform-toolspackage.xml
Parsing C:UsersNaTuAppDataLocalAndroidSdkplatformsandroid-27package.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

解决方案

I experienced the same issue as i tried to install Android API 27. Each time i use the SDK manager it downloads but fails to install. Here is how i fixed it

  1. Run Android Studio as administrator
  2. Open SDK Manager
  3. Click on "edit" found close to "Android SDK location"

  1. It opens a window that show a list of "Android SDK Platform" you have downloaded but not installed.

  1. In my case, it shows API 27- 62MB. I clicked on this to install. After it successfully install my app works fine.

I hope this fix works for you

这篇关于Android Studio 安装BUG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆