mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 05:34:11 -08:00
Update android.mdx (#1539)
Added cloning step; Reformatted sub-modules step; Co-authored-by: Tommy Ekstrand <tekstrand@users.noreply.github.com> Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
This commit is contained in:
parent
16bee77ba3
commit
17e58242a3
|
@ -10,15 +10,22 @@ sidebar_position: 1
|
|||
If you would like to develop this application we'd love your help! These build instructions are brief and should be improved, please send a PR if you can.
|
||||
|
||||
1. Use Android Studio to build/debug
|
||||
2. Use `git submodule update --init --recursive` to pull in the various sub-modules we depend on.
|
||||
3. There are a few config files which you'll need to copy from templates included in the project. Run the following commands to do so:
|
||||
2. Clone the repository and after successful cloning, change the working directory to Meshtastic-Android/
|
||||
```shell
|
||||
git clone https://github.com/meshtastic/Meshtastic-Android.git && cd Meshtastic-Android/
|
||||
```
|
||||
3. Pull in the various sub-modules we depend on.
|
||||
```shell
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
4. There are a few config files which you'll need to copy from templates included in the project. Run the following commands to do so:
|
||||
```shell
|
||||
rm ./app/google-services.json
|
||||
cp ./app/google-services-example.json ./app/google-services.json
|
||||
rm ./app/src/main/res/values/curfirmwareversion.xml
|
||||
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
|
||||
```
|
||||
4. Now you should be able to select "Run / Run" in the IDE and it will happily start running on your phone or the emulator.
|
||||
5. Now you should be able to select "Run / Run" in the IDE and it will happily start running on your phone or the emulator.
|
||||
|
||||
:::note
|
||||
The emulators don't support Bluetooth, so some features can not be used in that environment.
|
||||
|
|
Loading…
Reference in a new issue