cancel
Showing results for 
Search instead for 
Did you mean: 

Android repo init error ?

Hi,

I try to compile Android on the STM32MP1 following the Wiki and I'm hitting a problem :

hico@debian-ha:~/work/st/android$ 

hico@debian-ha:~/work/st/android$ repo init -u https://github.com/STMicroelectronics/android-manifest -b st-android-9.0.0-2019-09-27 -m stm32mp1droid.xml

Get https://gerrit.googlesource.com/git-repo/clone.bundle

Get https://gerrit.googlesource.com/git-repo

remote: Counting objects: 1, done

remote: Finding sources: 100% (64/64)

remote: Total 64 (delta 6), reused 64 (delta 6)

Unpacking objects: 100% (64/64), done.

From https://gerrit.googlesource.com/git-repo

  fb527e3..d1e93dd master   -> origin/master

  a2cd6ae..e778e57 stable   -> origin/stable

 * [new tag]     v1.13.7  -> v1.13.7

... A new repo command ( 1.26) is available.

... You should upgrade soon:

  cp /home/hico/work/st/android/.repo/repo/repo /home/hico/bin/repo

Get https://github.com/STMicroelectronics/android-manifest

 % Total  % Received % Xferd Average Speed  Time  Time   Time Current

                 Dload Upload  Total  Spent  Left Speed

 0   0  0   0  0   0   0   0 --:--:-- --:--:-- --:--:--   0

curl: (22) The requested URL returned error: 404 Not Found

Server does not provide clone.bundle; ignoring.

fatal: Couldn't find remote ref refs/heads/st-android-9.0.0-2019-09-27

fatal: Couldn't find remote ref refs/heads/st-android-9.0.0-2019-09-27

Any idea what's wrong with this ?

Thanks

Regards,

Anthony Harivel

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @anthony.harivel.emtrion.GmbH​ 

Correct command syntax is :

repo init -u https://github.com/STMicroelectronics/android-manifest -b refs/tags/st-android-9.0.0-2019-09-27 -m stm32mp1droid.xml

We will update wiki to specify it.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @anthony.harivel.emtrion.GmbH​ 

Correct command syntax is :

repo init -u https://github.com/STMicroelectronics/android-manifest -b refs/tags/st-android-9.0.0-2019-09-27 -m stm32mp1droid.xml

We will update wiki to specify it.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.