Skip to main content
Visitor II
October 17, 2019
Solved

Android repo init error ?

  • October 17, 2019
  • 1 reply
  • 2328 views

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

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    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

    1 reply

    Technical Moderator
    October 17, 2019

    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