mirror of
https://github.com/WSA-Installer/wsa-webdav.git
synced 2026-07-29 11:24:16 -07:00
2.5 KiB
2.5 KiB
Troubleshooting
Common issues and solutions for WSA WebDev.
Build Issues
Java not found
Error: JAVA_HOME is not set
Solution:
- Install JDK 17
- Set JAVA_HOME environment variable
- Or let the build script auto-install via winget/choco
Gradle build fails
Error: Could not resolve dependencies
Solution:
- Delete
.build/directory - Run build script again
- Check internet connection
APK not installing
Error: INSTALL_FAILED_ALREADY_EXISTS
Solution:
adb uninstall com.wsa.webdav
adb install output/app-release.apk
Server Issues
Server won't start
- Check if port 8088 is in use:
netstat -ano | findstr 8088 - Kill the process using the port
- Restart the server
Connection refused
- Ensure WSA is running
- Check ADB connection:
adb devices - Verify server is running:
adb shell pidof com.wsa.webdav
Slow performance
- Use USB instead of WiFi for ADB
- Reduce max connections in config.json
- Close other network-intensive applications
WebDAV Issues
Windows cannot connect
- Ensure WebClient service is running:
sc start WebDAV - Check BasicAuthLevel in registry:
HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters BasicAuthLevel = 2 - Restart WebClient service
Files not showing
- Check the WebDAV URL path
- Verify the folder exists in WSA
- Check server logs
Upload fails
- Check available storage in WSA
- Verify file permissions
- Check max file size limits
Root Access Issues
Permission denied
- Ensure Magisk is installed
- Grant root access in Magisk Superuser tab
- Verify:
adb shell su -c whoamireturns "root"
SELinux blocking
- Check SELinux mode:
adb shell su -c getenforce - Set to permissive (temporarily):
adb shell su -c setenforce 0
Logging
View Server Logs
adb shell su -c "cat /data/data/com.wsa.webdav/files/server.log"
View Android Logcat
adb logcat -s WSAWebDAV
Health Check
adb shell am broadcast -a com.wsa.webdav.HEALTH
adb shell cat /sdcard/Android/data/com.wsa.webdav/files/health.json
Getting Help
If your issue isn't covered:
- Check GitHub Issues
- Open a new Bug Report
- Include relevant logs and environment details