diff --git a/AndroidStudio-Flutter-setup.md b/AndroidStudio-Flutter-setup.md index c396547..7889fbc 100644 --- a/AndroidStudio-Flutter-setup.md +++ b/AndroidStudio-Flutter-setup.md @@ -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 @@ -103,8 +104,23 @@ Now your project - this is to do in any new project - is able to define and use - cmd: flutter devices 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]] +## 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" + +## Run the RestroShare Mobile + +type in cmd console: +flutter run [[--release]] without release it gets run in debug mode # Debugging and Tracing