Skip to content

Commit

Permalink
using emulated devices (RetroShare#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
obrasero authored Aug 16, 2021
1 parent fd6723c commit 7d5335b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions AndroidStudio-Flutter-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- AndroidStudioRoot: c:\
- AndroidStudioDir: $(AndroidStudioRoot)\AndroidStudio
- RSMobileDir: c:\RS-Mobile
- RSPlatformTools: C:\Users\LOCALWINUSERNAME\AppData\Local\Android\Sdk\platform-tools

### Steps
#### Flutter installation
Expand Down Expand Up @@ -103,8 +104,23 @@ Now your project - this is to do in any new project - is able to define and use
- cmd: flutter devices<return> should no list your mobile as availabel

# Run the apk on mobile
1. load the service apk to the mobile and start it
2. cmd: flutter run [[--release]]<return>
## Install the service apk on the mobile
### a) physical mobile
1. plug in the USB of the phone
2. activate: USB-usage file transfer
3. load the service apk to the mobile and install it

### b) emulated phone (but not only)
1. For your convenience:
Add in environment variables for your account to the PATH-variable of USER context separated by ';' the explicit full path to the command_tools: $(RSPlatformTools) where the adb.exe houses which we will need.
2. Open a cmd-console within the directory of your service apk
3. type in cmd:
adb install "YOUR_SERVCIE_APK.apk" <return>

## Run the RestroShare Mobile

type in cmd console:
flutter run [[--release]]<return>
without release it gets run in debug mode

# Debugging and Tracing
Expand Down

0 comments on commit 7d5335b

Please sign in to comment.