Update setup.md ; delete deprecated maven repos

This commit is contained in:
Reckless_Satoshi 2023-05-26 11:25:00 -07:00
parent 22d226e44e
commit c0bbd18ceb
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 11 additions and 11 deletions

View File

@ -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()
}

View File

@ -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