08-23 14:16:03.217 24871-24967/com.nutomic.syncthingandroid.debug E/SyncthingRunnable: Failed to execute syncthing binary or read output java.io.IOException: Error running exec(). Command: [/data/app/com.nutomic.syncthingandroid.debug-1/lib/arm64/libsyncthing.so, -generate, /data/data/com.nutomic.syncthingandroid.debug/files, -logflags=0] Working Directory: null Environment: [STTRACE=, USBOTG_STORAGE=/storage/usbotg, MC_AUTH_TOKEN_PATH=/efs, EMULATED_STORAGE_TARGET=/storage/emulated, STNORESTART=1, STGUIASSETS=/storage/emulated/0/Android/data/com.nutomic.syncthingandroid.debug/files/gui, ANDROID_SOCKET_zygote=10, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, ANDROID_DATA=/data, BOOTCLASSPATH=/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar:/system/framework/flyme-framework.jar:/system/framework/flyme-telephony-common.jar:/system/framework/meizu2_jcifs.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/flyme-framework.jar:/system/framework/flyme-telephony-common.jar:/system/framework/flyme-alipay.jar:/system/framework/com.meizu.camera.jar, STNOUPGRADE=1, SECONDARY_STORAGE=/storage/sdcard1, ANDROID_STORAGE=/storage, ANDROID_ROOT=/system, VIBE_PIPE_PATH=/dev/pipes, EMULATED_STORAGE_SOURCE=/mnt/shell/emulated, LOOP_MOUNTPOINT=/mnt/obb, LD_PRELOAD=libdirect-coredump.so, ANDROID_BOOTLOGO=1, STHASHING=minio, EXTERNAL_STORAGE=/storage/emulated/legacy, SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar, ANDROID_ASSETS=/system/app, ASEC_MOUNTPOINT=/mnt/asec, HOME=/storage/emulated/0, ANDROID_PROPERTY_WORKSPACE=8,0] at java.lang.ProcessManager.exec(ProcessManager.java:211) at java.lang.ProcessBuilder.start(ProcessBuilder.java:195) at com.nutomic.syncthingandroid.service.SyncthingRunnable.setupAndLaunch(SyncthingRunnable.java:464) at com.nutomic.syncthingandroid.service.SyncthingRunnable.run(SyncthingRunnable.java:136) at com.nutomic.syncthingandroid.service.SyncthingRunnable.run(SyncthingRunnable.java:107) at com.nutomic.syncthingandroid.util.ConfigXml.(ConfigXml.java:69) at com.nutomic.syncthingandroid.service.SyncthingService$StartupTask.doInBackground(SyncthingService.java:337) at com.nutomic.syncthingandroid.service.SyncthingService$StartupTask.doInBackground(SyncthingService.java:322) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: java.io.IOException: No such file or directory at java.lang.ProcessManager.exec(Native Method) at java.lang.ProcessManager.exec(ProcessManager.java:209) at java.lang.ProcessBuilder.start(ProcessBuilder.java:195) at com.nutomic.syncthingandroid.service.SyncthingRunnable.setupAndLaunch(SyncthingRunnable.java:464) at com.nutomic.syncthingandroid.service.SyncthingRunnable.run(SyncthingRunnable.java:136) at com.nutomic.syncthingandroid.service.SyncthingRunnable.run(SyncthingRunnable.java:107) at com.nutomic.syncthingandroid.util.ConfigXml.(ConfigXml.java:69) at com.nutomic.syncthingandroid.service.SyncthingService$StartupTask.doInBackground(SyncthingService.java:337) at com.nutomic.syncthingandroid.service.SyncthingService$StartupTask.doInBackground(SyncthingService.java:322) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 08-23 14:16:03.276 24871-24957/com.nutomic.syncthingandroid.debug E/GED: Failed to get GED Log Buf, err(0)
According to the project on github imported into AndroidStudio, this problem appeared, who can help
You did not compile the native binary, please follow the build instructions.
1 Like
I ran gradlew buildNative on Android Studio and it went wrong:
- What went wrong: Execution failed for task ‘buildNative’.
Process ‘command ‘python’’ finished with non-zero exit value 1
You need to do git submodule init
I think, as syncthing submodule is not checked out.
git submodule update --init
, or git submodule init
then git submodule update
.
thanks
thanks.
You can run build-syncthing.py manually.
This is what happens when I run it manually
You don’t have go installed or available on the path?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.