mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Update setup.md ; delete deprecated maven repos
This commit is contained in:
parent
22d226e44e
commit
c0bbd18ceb
@ -20,14 +20,6 @@ buildscript {
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
// Replace AAR from original RN with AAR from react-native-v8
|
||||
url("$rootDir/../node_modules/react-native-v8/dist")
|
||||
}
|
||||
maven {
|
||||
// prebuilt libv8android.so
|
||||
url("$rootDir/../node_modules/v8-android/dist")
|
||||
}
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ reboot
|
||||
|
||||
## Create Emulator (or connect Android phone and install adb)
|
||||
|
||||
Use the GUI of Android studio to create a new virtual devide. As of 23/06/2022 we are using a Pixel 5 as template and System image R API level 30 Android 11.0
|
||||
Use the GUI of Android studio to create a new virtual device. As of 26/03/2023 we are using a Pixel 5 as template and System image Tiramisu API level 33
|
||||
|
||||
If using a phone, start the USB debugging mode.
|
||||
|
||||
@ -63,18 +63,26 @@ Make sure you have the `main.js` file created on `robosats/mobile/html/Web.bundl
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Point a terminal to `/robosats/mobile/`
|
||||
Launch your emulator if you are using one:
|
||||
|
||||
```
|
||||
cd ~/Android/Sdk/tools && ./emulator -avd <DEVICE_NAME>
|
||||
```
|
||||
|
||||
Point a terminal to `/robosats/mobile/` to start metro
|
||||
|
||||
```
|
||||
npm start
|
||||
```
|
||||
|
||||
on another temrinal also in `/robosats/mobile/`
|
||||
And on another terminal, also in `/robosats/mobile/`, build and install the debug app
|
||||
|
||||
```
|
||||
npx react-native run-android
|
||||
```
|
||||
|
||||
You can also use `react-native run-android --mode=release` to fully test the release builds of the app.
|
||||
|
||||
# OSX
|
||||
|
||||
## Install JDK
|
||||
|
Loading…
Reference in New Issue
Block a user