
android studio
菜鸡程序员的进阶
公众号:菜鸡程序员的进阶
展开
-
android studio使用第一个错误
打开项目会显示 Failed to open zip file.Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)点击Re-download dependencies and sync project(requires network)没有用原创 2018-01-21 11:10:41 · 285 阅读 · 0 评论 -
android studio 添加类文件命名问题
添加文件时Unable to parse template "Class"Error message:Selected class file name 'UserBiz.java'mapped to not java file type 'Text files'解决方法:file -> settings -> Editor -> File Types 在右侧Recognized原创 2018-01-21 11:34:37 · 632 阅读 · 0 评论 -
android 7.1 开启WiFi热点
最近项目需要一个开启WiFi热点的功能,由于Android 7.1实现机制跟之前版本有所不同,在网上搜索了很久终于解决了这个问题,特意把过程记录下来,希望大家不要踩坑。开启WiFi热点函数 主要参考博客 : https://blog.youkuaiyun.com/zhang01/article/details/79222057可以用一个按钮来触发开启热点。public boolean setWifiApEn...原创 2018-05-16 20:25:58 · 6446 阅读 · 7 评论