You are not logged in.

#1 2015-08-31 13:19:42

ralpheeee88
Member
Registered: 2015-04-19
Posts: 30

Android Build Environment and Repo Error (SOLVED~Fresh install)

i am trying to setup a build environment  and simply cant move past the init repo step.

i am following these steps:

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
 

once i have doen that i activate my virtual environment and move to my working directory to init a repo but always end up with the error:

error: command 'sync' requires repo to be installed first.
         Use "repo init" to install it here.
 

any help is greatly aprreciated

Last edited by ralpheeee88 (2015-10-11 09:48:41)

Offline

#2 2015-08-31 13:41:23

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: Android Build Environment and Repo Error (SOLVED~Fresh install)

What command are you using that gives you that error?

Offline

#3 2015-08-31 13:45:15

ralpheeee88
Member
Registered: 2015-04-19
Posts: 30

Re: Android Build Environment and Repo Error (SOLVED~Fresh install)

FlyingHappy wrote:

What command are you using that gives you that error?

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.1

but it is as if repo is not installed?????

Offline

#4 2015-08-31 13:48:39

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: Android Build Environment and Repo Error (SOLVED~Fresh install)

You may need to

PATH=~/bin:$PATH

from inside your virtual environment after you have activated it.

It may work better to install repo from the AUR instead of installing it into ~/bin as well.

Offline

#5 2015-08-31 13:58:46

ralpheeee88
Member
Registered: 2015-04-19
Posts: 30

Re: Android Build Environment and Repo Error (SOLVED~Fresh install)

FlyingHappy wrote:

You may need to

PATH=~/bin:$PATH

from inside your virtual environment after you have activated it.

It may work better to install repo from the AUR instead of installing it into ~/bin as well.

i have that in my .bashrc.....

on a previous install of arch all worked fine....

Offline

#6 2015-12-11 23:24:27

erickwill
Member
Registered: 2013-11-05
Posts: 145

Re: Android Build Environment and Repo Error (SOLVED~Fresh install)

ralpheeee88 wrote:

i am trying to setup a build environment  and simply cant move past the init repo step.

i am following these steps:

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
 

once i have doen that i activate my virtual environment and move to my working directory to init a repo but always end up with the error:

error: command 'sync' requires repo to be installed first.
         Use "repo init" to install it here.
 

any help is greatly aprreciated

Did you succeed to sort your issue with a fresh install? What do you mean?
Did you follow the Android Arch Wiki to install the prerequisites or there is any other tutorial that you followed? Please if you followed any other guide, to satisfy Cyanogenmod requirements, could you please mention?
Thanks

Last edited by erickwill (2015-12-11 23:26:33)

Offline

Board footer

Powered by FluxBB