Android 应用
明明历险记
辽宁人在北京
展开
-
macbook 配置Android adb环境变量
安装好Android studio,jdk1.8,打开Android studio后,默认会提示下载sdk,打开该文件:vim ~/.bash_profile,填写下面几行:其中x是你电脑名,export ANDROID_HOME=/Users/xxxxxx/Library/Android/sdkexport PATH=${PATH}:${ANDROID_HOME}/platform-toolsexport PATH=${PATH}:{ANDROID_HOME}/tools添加后以后原创 2022-02-27 18:52:52 · 2260 阅读 · 0 评论 -
adb shell命令
1、logcat:遇到报错信息:logcat: Unexpected EOF!This means that either the device shut down, logd crashed, or this instance of logcat was unable to read logmessages as quickly as they were being produced.If you have enabled significant logging, look into原创 2021-11-27 13:28:14 · 3491 阅读 · 0 评论 -
Android中使用unix本地套接字编程 编译问题
因工作需要,需要用到socket网络编程的内容,在调试时从提示下面错误:bionic/libc/kernel/common/linux/un.h:18: error: expected specifier-qualifier-list before ‘sa_family_t’error: ‘struct sockaddr_un’ has no member named ‘sun_famil原创 2013-04-18 15:36:40 · 959 阅读 · 0 评论