Android Studio更新后出现Error:Cause: failed to find target with hash string 'android-23' 错误
来源:互联网 发布:淘宝模特拍摄大牌风 编辑:程序博客网 时间:2024/04/29 06:48
今天使用vpn更新了android Studio,更新过程中一切顺利,谁知更新完成后原来的项目一片错误,提示failed to find target with hash string ‘android-23’ 。
后来经过网上查找资料后,发现问题出在sdk的目录(我的默认是在C盘)C:\Users\Administrator\AppData\Local\Android\sdk\temp这个文件夹上。
原因是Android Studio安装程序在安装完成之后会将temp这个目录设为只读状态,导致更新SDK的时候写入temp目录出错。其实当初更新的时候是有提示的,只不过本人一时大意,以为一直默认就可以了,没有仔细看。
解决的方法是:右键点击temp文件夹,选择属性,将“只读”选项的勾选状态去掉后就可以了。然后重启Android Studio,重启后会自动再写入的,这时就可以了。
当重启后Android Studio可以正常使用后,再看temp文件夹的属性你会发现只读属性又会被自动勾选,但是已经没关系了,下次更新记得去掉勾选就可以了。
1 0
- Android Studio更新后出现Error:Cause: failed to find target with hash string 'android-23' 错误
- Android Studio 导入项目 出现安装Error:Cause: failed to find target with hash string 'android-23' 等错误
- android studio Cause:failed to find target with hash string 'android - 17' in...
- Error:Cause: failed to find target with hash string 'android-15'
- Error:Cause: failed to find target with hash string 'android-24' in...
- Error:Cause: failed to find target with hash string 'N' in: F:\Androidstudio\android-sdk-windows <a
- Android failed to find target with hash string 'android-23'
- failed to find target with hash string 'android-23'
- Android Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 解决方案
- 解决android studio项目中Failded to sync Gradle project 'XXXX' Cause:failed to find target with hash strin
- 解决android studio项目中Failded to sync Gradle project 'XXXX' Cause:failed to find target with hash strin
- failed to find target with hash string 'android-XX'
- failed to find target with hash string android
- Error:Failed to find target with hash string 'android-25' in: E:\androidstudio\androidstudio\sdk
- Error:Failed to find target with hash string 'android-15' 解决办法
- failed to find target with hash string 'android-17'(其他常见错误)
- 关于AndroidStudio中报Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 的错误
- 关于Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 的解决方案
- 实时查询引擎 - 介绍总结
- 浅析JNDI
- win10+ubuntu系统迁移到SSD
- tomcat7查看后台管理怎么设置用户名和密码
- java中if暗含的性能优化玄机
- Android Studio更新后出现Error:Cause: failed to find target with hash string 'android-23' 错误
- 【51nod】1008 N的阶乘 mod P
- VS2013编译时出现无法打开包括文件: “SDKDDKVer.h”: No such file or director
- C语言——strlen(a)的值为多少
- JavaSE面向对象-封装
- 修饰符的概述和总结
- linux 查看版本信息
- 目标检测(二) win10下目标检测GPU加速环境配置
- JavasSE面向对象-继承