android移动应用开发
头痛的可达鸭Z
这个作者很懒,什么都没留下…
展开
-
Android Studio遇到的无厘头问题——网络访问无反应
记录Android Studio遇到的无厘头问题今天在寝室进行安卓okhttp网络框架实验时恰巧遇到十一点断网,及时更换热点进行试验时按下button按扭迟迟没有反应,反复更改代码半个小时后恍然大悟,虚拟机在启动时网络会自动匹配主机ip,当我们更换主机网络后会导致虚拟机不显示无网络却无法访问网络,此时重启虚拟机即可。...原创 2021-03-10 23:40:14 · 264 阅读 · 0 评论 -
如何在Android Studio添加网络框架OkHttp
安卓课设小记录如何在Android Studio添加网络框架OkHttp1)打开项目的module目录在Gradle Scripts中找到build.gradle打开2)打开build.gradledependencies代码块中添加如下内容:compile 'com.squareup.okhttp3:okhttp:3.8.0'3)保存修改自动下载依赖包,完成OkHttp网络框架添加...原创 2021-03-10 20:07:44 · 654 阅读 · 1 评论 -
Android Studio第一章Big task1 - Experiment task1
Big task1 -Experiment task1Writing an App,the root layout is a vertical LinearLayout with 4 horizontal LinearLayouts and 3 TextViews. The App’s name should contain your name message (initials of your name).The 1st horizontal LinearLayout, within 1 Tex..原创 2020-09-18 12:23:34 · 245 阅读 · 0 评论