I’m testing my build environment, and to check that things are okay, I checked out version 0.5.11 and ran gradlew assembleDebug
successfully. I installed syncthing-android-armeabi_v7a-debug.apk
on my Samsung S2 without problems. However, the app crashes twice and dies after running for the first time. LogCat reveals that the culprit is SyncthingService.java
protected Pair<String, String> doInBackground(Void... voids) {
moveConfigFiles();
mConfig = new ConfigXml(SyncthingService.this);
return new Pair<>(mConfig.getWebGuiUrl(), mConfig.getApiKey());
}
calling ConfigXML.java
try {
DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
mConfig = db.parse(mConfigFile);
where the error is caused by a no such file or directory
for the file /data/data/com.nutomic.syncthingandroid.debug/files.config.xml
.
Update: Installing 0.5.11 via F-droid works just fine.