1、2.3.3版本(android-studio-bundle-162.4069837-windows.exe)
2、AndroidStudio导入项目在 Building gradle project info 一直卡住
查看所需gradle版本:打开C:\Users\用户名\.gradle\wrapper\dists\gradle-x.xx-all\xxxxxxxxxxxx,如果里面的gradle-xx-all.zip不完整(如0KB),则说明下载不成功,需要下载离线包放置到该目录下。
gradle下载地址:http://services.gradle.org/distributions/
下载完成以后 自动替换掉无效的两个文件 运行AS之后会自动解压,重新打开项目就可以了。
快速定位错误行代码:File-Setting-Keymap- 搜索 error
Previous Highlighted Error即为快捷键(我一般修改成F1,用着顺手,冲突的话自己替换就可以)
6、启动模拟器报错:
Enable VT-x in your BIOS security settings (refer to documentation for your computer)
模拟器中关于VT-x is disabled in BIOS错误的解决方案
进入bios设置 找到 Intel virtualization technology 设置为 enabled 即可。
7、AndroidStudio导入别的软件工程时报错The patch c:\android-sdk-windows does not belong to a directory.Android stud
原因:新导入的项目的sdk和本机的sdk目录不一致,找到需要导入的项目的local.properties 改成本机的sdk路径即可 不能有中文
8、android studio安装svn (发现的最全 最好用的)
https://blog.csdn.net/gao878280390/article/details/75018900
右键以管理员的身份重新运行Android Studio 点击右下角的update更新或者help中更新
10、android studio 运行项目的时候弹出edit configuration 怎么设置
解决:
模拟器打开以后发现运行也别卡顿 不流畅
或者参考:AS自带模拟器提示 Your GPU driver information 无法打开模拟器的问题
修改完模拟器的配置以后虽然还是会有上面的弹窗 但是很流畅了
命令行操作 但是每次都得设置比较麻烦:
C:\Users\Administrator>F:
F:\>cd \Android
F:\Android>cd ..
F:\>cd Android
F:\Android>cd sdk
F:\Android\sdk>cd emulator
F:\Android\sdk\emulator>emulator -avd Nexus 5X API 26 -gpu host
emulator: ERROR: Unknown AVD name [Nexus], use -list-avds to see valid list.
HOME is defined but there is no file Nexus.ini in $HOME\.android\avd
(Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOM
E\avd and $HOME\.android\avd)
F:\Android\sdk\emulator>emulator -list-avds
Nexus_5X_API_26
F:\Android\sdk\emulator>emulator -avd Nexus_5X_API_26 -gpu host
Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT +
UG features is currently needed. We will address this in a future release.
RegGetValueW failed 2 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆
HAX is working and emulator runs in fast virt mode.
audio: Failed to create voice `goldfish_audio_in'
qemu-system-i386.exe: warning: opening audio input failed
audio: Failed to create voice `adc'
F:\Android\sdk\emulator>