Android
single 君
求大佬carry
展开
-
Android studio学习笔记:adb被系统空闲进程占用了怎么办?
在准备run的时候,adb server报错:Unable to open connection to ADB server: java.io.IOException: Can’t find adb server on port 5037, IPv4 attempt: Connection refused: connect, IPv6 attempt: Connection refused: connect 发现端口号5037被占用了,看网上的教程都是被一般进程给占用了,可以直接taskkill掉,空出端口原创 2022-02-21 17:20:07 · 2297 阅读 · 0 评论 -
android studio笔记:Relative布局和拖动view
默认布局为 然而我要实现的是relative layout 新建一个xml: 这里直接改为relativelayout 这是最简单的方法,你也可以在原来的基础上改代码 改为: 拖动view: 在对应view上添加代码: android:layout_alignParentBottom="true" 可实现上下拖动 添加 android:layout_alignParentLeft="true" 可左右拖动。 over! ...原创 2022-02-19 18:28:05 · 1739 阅读 · 0 评论 -
Android emulator error:The emulator process for AVD Pixel_2_API_26 has terminated.的解决办法
搜索途径: could not start AVD:需要安装 HAXM v7.5.1 版本过高要寄。。 Enable VT-x in your BIOS security settings, ensure that HAXM is installed properly. Try disabling 3rd party security software if the problem still occurs.:同上。 链接:https://github.com/intel/haxm/releases 可能.原创 2022-02-19 01:12:35 · 3367 阅读 · 0 评论