android studio 安装以及遇到的一些问题

1 安装 jkd ,版本一般是最新的,下怎么样的看一下自己电脑符合那种要求,可以去官网下 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2 配置 :http://xinzhi.wenda.so.com/a/1548408727203597

3 安装 AS :去官网下把,一般也是最新的  http://www.runoob.com/android/android-studio-install.html  这个蛮详细的,这很简单,如果个人没啥要求,一直下一步就o了

遇到的一些问题:

1 一直卡在下载 gradle 上 :如果长时间没有反应,那就自己下,然后放到文件夹里去:在.gradle\wrapper\dists\gradle-4.10.1-all\455itskqi2qtf0v2sja68alqd/...      然后去这里下: https://gradle.org/next-steps/?version=4.10&format=all

2 出现(Emulator: emulator: ERROR: x86 emulation currently requires hardware acceler):https://blog.csdn.net/qq_36348823/article/details/81365160   如果你显示是安装的,那你最好remove一下,然后进BIOS(https://jingyan.baidu.com/article/3065b3b6c3a0f3becff8a4cf.html)里面的“Virtualization Technology”选项没有打开,那我们现在去BIOS里面打开,然后回到刚刚那个文件夹里面安装,如果没有,可以自己下:https://github.com/intel/haxm/releases/tag/v7.4.1   

3 Android Studio编译失败:org.gradle.execution.MultipleBuildFailures: Build completed with 1 fail :   (添加okhttp混淆配置: 是在app/proguard-rules.pro  这个文件里面)https://blog.csdn.net/yinxing2008/article/details/83011604

4 "Could not find com.android.tools.build:aapt2:3.2.1-4818971"  :https://www.mobibrw.com/2018/15881

猜你喜欢

转载自www.cnblogs.com/yang1com/p/10739757.html