NO 1;;Error:Cause: peer not authenticated
调整gradle版本,尝试可参考http://www.jianshu.com/p/5d482c73fd91
NO 2;;Error:Server sent an unsupported extension: type_35
repositories {
jcenter ()
}
TO
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
}
NO 3;; @Override
ctrl+o 选择要实现的方法
NO 4;;Error:(15, 8) 错误: 类FruitAdapter是公共的, 应在名为 FruitAdapter.java 的文件中声明
一般都是类名和.Java文件名不同(该打)
NO 5;;Androidstudio如何生存set,get方法
调整gradle版本,尝试可参考http://www.jianshu.com/p/5d482c73fd91
NO 2;;Error:Server sent an unsupported extension: type_35
repositories {
jcenter ()
}
TO
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
}
NO 3;; @Override
ctrl+o 选择要实现的方法
NO 4;;Error:(15, 8) 错误: 类FruitAdapter是公共的, 应在名为 FruitAdapter.java 的文件中声明
一般都是类名和.Java文件名不同(该打)
NO 5;;Androidstudio如何生存set,get方法
右键--->>generate
NO 6;; Cannot find main merged manifest.
cleanproject 就好了
一些常用快捷键:
Alt+Insert 生成代码(如get,set方法,构造函数等)
Alt+回车 导入包,自动修正
Ctrl+Alt+L 格式化代码
Ctrl+Shift+Space 自动补全代码
Ctrl+空格 代码提示
Ctrl+D 复制行
Ctrl+X 删除行
Alt+ Up/Down 在方法间快速移动定位
Ctrl+Shift+Up/Down 代码向上/下移动。