How to update git submodules in Android Studio?
Asked Answered
B

2

6

I'm trying to build this project at "https://github.com/jonasoreland/runnerup" on Android Studio. But when I'm going to compile it I received this error:

enter image description here

I think it's because I've to update git submodules like said on a page project where is specified to Run the following command to get all submodules:

git submodule init && git submodule update

But I'm new with git and I don't know how to do this. I ask you if you can explain me step by step how to do this.

Bandicoot answered 16/3, 2016 at 9:56 Comment(1)
Please see How to Ask and The perfect question.Predial
I
4

you can try this git command

git submodule update --recursive --init
Intaglio answered 19/11, 2018 at 15:27 Comment(0)
K
1

Option 1

$ git clone https://github.com/jonasoreland/runnerup.git ./runnerup
$ git submodule init
$ git submodule update

Option2

$ git clone --recursive https://github.com/jonasoreland/runnerup.git ./runnerup

For more details on submodule: https://git-scm.com/docs/git-submodule

Klee answered 25/3, 2016 at 11:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.