1.编译版本不一致
解决办法:
2.Kotlin version that is used for building with Gradle (1.1.51) differs from the one bundled into the IDE plugin (1.2.41) less...
kotlin 版本不一致但是sync 又 runtime out
解决方法:1.第一个是修改 kotlin_version版本为你本地有的版本
2.google()库访问不了,添加mvenCnetral()库
3.android studio 更新不了
一方面是网络原因,另一个原因就是你的hosts修改过,导致update网络超时
解决办法:把你的hosts恢复为原来的,再重启as
下面附上windows hosts文件
# copyright (c) 1993-1999 microsoft corp.
#
# this is a sample hosts file used by microsoft tcp/ip for windows.
# this file contains the mappings of ip addresses to host names. each
# entry should be kept on an individual line. the ip address should
# be placed in the first column followed by the corresponding host name.
# the ip address and the host name should be separated by at least one
# space.
#
# additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# for example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 localhost