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

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

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

1,219件の閲覧回数
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,031件の閲覧回数
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,031件の閲覧回数
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,031件の閲覧回数
haoranwang
NXP Employee
NXP Employee

Hi,

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

     Thanks.

BRs,

Haoran

0 件の賞賛

1,031件の閲覧回数
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 件の賞賛