When I patch code for i.mx I get an error

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

When I patch code for i.mx I get an error

1,530 次查看
bandelaprathyus
Contributor II

- Error! Can't locate top dir of repo tree. I have already downloaded the repo and git, but that doesn't help..

标签 (1)
0 项奖励
回复
4 回复数

1,342 次查看
saurabh206
Senior Contributor III

Hi

Bandela

Can you provide more detail? Which source code you looking for?

And what is repo and git you have used?

Thanks

Saurabh

0 项奖励
回复

1,342 次查看
bandelaprathyus
Contributor II

The source code is android_KK4.4.3_2.0.0-ga_core_source. when I patch code for i.mx using the following steps,

1.Assume you have unzipped the i.MX Android release package to /opt/android_KK4.4.3_2.0.0-ga_source

$ cd ~/myandroid

$ source /opt/android_KK4.4.3_2.0.0-ga_core_source/code/KK4.4.3_2.0.0-ga/and_patch.sh

$ help

2. You should see that the "c_patch" function is available.

$ c_patch /opt/android_KK4.4.3_2.0.0-ga_core_source/code/KK4.4.3_2.0.0-ga

imx_KK4.4.3_2.0.0-ga

I get an error, Error! can't locate top dir of repo tree.

Please explain how to solve this problem..

0 项奖励
回复

1,342 次查看
haoranwang
NXP Employee
NXP Employee

Hi,

     Did you "repo sync" all of the AOSP codes in "~/myandroid" ?

     Thanks.

BRs,

Haoran

0 项奖励
回复

1,342 次查看
bandelaprathyus
Contributor II

Hi,

     Yeah I have done the "repo sync" in "myandroid". The problem was with the java version. It got solved now..

0 项奖励
回复