自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 gerrit下代码报:[email protected] Permission denied (publickey)

在gerrit上ssh key都配好的情况下,用脚本或者repo xxx@中的用户名和gerrit上的用户名不一样,就会报着这种错误,特别在用脚本下载中需要特别注意,脚本里的xxx@和gerrit上的用户是否一致。gerrit下代码报:Permission denied (publickey)

2024-04-10 11:20:46 107 1

原创 xterm: Xt error: Can‘t open display: %s问题解决

xterm

2024-03-15 11:20:47 412 1

原创 Segmentation fault (core dumped)后没有core文件的解决

Segmentation fault (core dumped)

2024-02-25 11:52:20 350

原创 eSE集成调试

3:在framework/base/core/res/AndroidManifest.xml 中新增。--------------可以读取se公交数据-----------------下面log 需要在系统manifest中增加1.2的支持。1: se hal服务注册。

2023-05-24 14:26:58 597 1

原创 memcpy的F libc : FORTIFY: memcpy: prevented异常分析处理

在调试中遇到:崩溃信息:--------- beginning of crashF libc : FORTIFY: memcpy: prevented 4294967295-byte write into 4112-byte buffer10-07 09:02:05.841 1705 1705 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***10-07 09:02:05.841 17...

2021-10-09 16:55:20 1323

原创 depends on //system/libhidl:libhidltransport which is not visible to this module 错误处理

在android 11移植HIDL的时候,会出现depends on //system/libhidl:xxxxxwhich is not visible to this module解决方法,在出错的HIDL 模块的Android.bp中,找到对应编译的模块,在shared_libs: [.....//xxxx 把这个依赖的库注释掉,在新的安卓环境编译中已经不在依赖。....]...

2021-09-07 09:58:58 2051 1

原创 Suggestion: add ‘tools:replace=“android:appComponentFactory“‘错误处理

在代码环境下移植一个android studio下的应用到环境里,增加Android.mk后报了错误:Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:24:18-86 is also present at AndroidManifest.xml:24:18-91 value=(android.support....

2021-08-09 11:21:36 2186

原创 fatal error: ‘android-base/logging.h‘ file not found问题解决

在Android项目中,在external中添加native项目工程,代码中需要:#include <android-base/file.h>#include <android-base/logging.h>#include <android-base/parseint.h>#include <android-base/strings.h>编译的时候会报:fatal error: 'android-base/logging.h' file no

2021-03-02 11:01:55 3272 10

原创 open/fopen/system三种sys操作效率比较

在一些/sys设备或者文件代码设置操作中,大家可能会用到open/fopen/system三种sys操作,在测试中需要尽快启动一个pwm信号:int StartSecPulse(bool onesec,bool onoff){ pid_t status = 0; int fd = 0; char buffer[64]; struct timespec tim...

2020-01-14 18:56:26 1088

原创 android下event的确定

如何确定当前设备touch,key,以及其他sensor的具体的event号,连接adbadb shell#geteventgeteventadd device 1: /dev/input/event6name: "8k_handset"add device 2: /dev/input/event5name: "docking event"add device 3:

2012-06-11 10:48:13 585

原创 android下libjpg.a的编译

在android系统中libjpg默认是动态库.so形式的,在很多需要移植的工程中需要静态的libjpg.a,这就需要先移植libjpg,方法如下:1:下载libjpg源码 http://ijg.org/files/jpegsrc.v6b.tar.gz2:放到external\libjpg\下解压新建Android.mk文件内容如下:LOCAL_PATH:= $(call

2012-06-04 17:59:05 1298

原创 高通89系列的fastboot烧写顺序

按下列方式烧写fastboot flash aboot emmc_appsboot.mbn //bootloader这个小心烧写,烧错就成砖头,最好别烧fastboot flash boot boot.img   //kernelfastboot flash system system.img.ext4fastboot flash userdata userdata.i

2012-05-31 15:19:17 4688

原创 android动态库和静态库的编译

在Android.mk中最后一行include $(BUILD_STATIC_LIBRARY) #定义静态库编译include $(BUILD_SHARED_LIBRARY)#定义动态库编译

2012-05-31 14:58:09 433

04 NFCForum-TS-NCI-2.1 backup.pdf

NFCForum-TS-NCI-2.1规范

2021-04-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除