Files

1.3 KiB

Installation Guide

Prerequisites

  • Windows with WSA installed
  • ADB access to WSA
  • JDK 17 (for building from source)
  • Python 3 (for build script)

Build from Source

Windows

build.bat

Linux/Mac

chmod +x build.sh
./build.sh

Direct Build

python builder/build.py

The build script will:

  1. Check for JDK 17
  2. Download Android SDK if needed
  3. Generate Kotlin source files
  4. Build the APK using Gradle

Install APK

Using ADB

adb install output/app-release.apk

Using WSA Installer

The WSA WebDev APK is automatically installed by WSA Installer when enabling file sharing.

Configure

Edit config.json to customize server settings:

{
  "port": 8088,
  "host": "127.0.0.1",
  "rootAccess": true,
  "anonymousAccess": true,
  "maxConnections": 50
}

Start Server

User Mode

adb shell am start -n com.wsa.webdav/.MainActivity

Root Mode

adb shell su -c "sh /data/data/com.wsa.webdav/files/app.sh start"

Access Files

Mount as Windows Drive

WSA Installer can automatically mount the WebDAV share as a Windows drive. See the WSA Installer documentation for details.