Android: patching core features code package failes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android: patching core features code package failes

1,080 Views
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?

Labels (1)
Tags (3)
0 Kudos
2 Replies

563 Views
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 Kudos

563 Views
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 Kudos