Android: patching core features code package failes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android: patching core features code package failes

1,269 次查看
lukaszgradzik
Contributor I

I'm following Android_User's_Guide.pdf (Rev. M6.0.1_1.0.0, 04/2016) and I stuck at section 3.2 Patch core features code package.

When I execute:

$ c_patch /opt/android_M6.0.1_1.0.0_core_source/code/M6.0.1_1.0.0/ imx_M6.0.1_1.0.0

I got a lot of warnings, but eventualy there is an error message and it stops:

error: patch failed: libcopybit/copybit.cpp:224

error: libcopybit/copybit.cpp: patch does not apply

Error! Fail to apply patch from /opt/android_M6.0.1_1.0.0_core_source/code/M6.0.1_1.0.0/platform/hardware/imx.git to /home/user/workspace/myandroid/hardware/imx. Stop

How to fix it?

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

752 次查看
lukaszgradzik
Contributor I

I tried 3 times with the same result. But when I redownloaded android_M6.0.1_1.0.0_core_source.tar.gz it worked.

Thanks for confirmation that I'm the problem :smileyhappy:, not source code.

0 项奖励
回复

752 次查看
jimmychan
NXP TechSupport
NXP TechSupport

I follow the Android User's Guide and build the M6.0.1_1.0.0 without any error. You may try to remove all the things and build it again.

0 项奖励
回复