- Install the dev build from the latest release
- Ensure you have adb installed and working correct
- Connect your device to your computer
- Execute either debug_to_dev.bat or debug_to_dev.sh depending on your OS
- Open Trail Sense dev and verify that your data is intact before deleting the debug build
- Force stops both the debug and dev apps
- Copies the debug app's database, files, and shared preferences to the dev app's directory
- Re-grants the same set of permissions to the dev app that the debug app had
- Force stop both the debug and dev apps
- From the Device File Explorer in Android Studio, save the debug app's database, files, and shared_prefs directories to your computer (located at
/data/data/com.kylecorry.trail_sense
) - Rename the shared_prefs/com.kylecorry.trail_sense_preferences.xml file to shared_prefs/com.kylecorry.trail_sense.dev_preferences.xml
- From the Device File Explorer in Android Studio, upload the 3 directories from your computer into the dev app's directory (located at
/data/data/com.kylecorry.trail_sense.dev
) - Start the dev app and verify that your data is intact before deleting the debug build (you will need to regrant permissions manually)
Ensure that ADB is added to your path. If you are on Windows, this can typically be found at C:\Users<YOUR USERNAME>\AppData\Local\Android\Sdk\platform-tools if you have Android Studio installed. Otherwise you can install the platform tools from https://developer.android.com/tools/releases/platform-tools