Android: patching core features code package failes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android: patching core features code package failes

1,311件の閲覧回数
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 返答(返信)

794件の閲覧回数
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 件の賞賛
返信

794件の閲覧回数
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 件の賞賛
返信