Comments (10)
I reverted that change, because it caused problems on gingerbread. I might do it so that it only applies on honeycomb and up, but I plan to do a native Android ui with a proper file picker, so it shouldn't matter then.
from syncthing-android.
Which problems would it cause on Gingerbread? (/sdcard
is the internal storage - it refers to /storage/sdcard0
in more modern versions of Android - I don't know when it started, but it was at least in Froyo.)
And it wouldn't cause problems with ~/.config/
:
dos.writeBytes(getApplicationInfo().dataDir + "/" + BINARY_NAME + " " +
"-home " + getApplicationInfo().dataDir + "\n");
(lines 133/134 in src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java
)
from syncthing-android.
I have no idea what exactly the problem is, but I got 8 crash reports like this through play store:
com.nutomic.syncthingandroid.service.SyncthingService$NativeExecutionException: Syncthing binary returned error code 3
stdout:
stdout:
stdout: 19:11:45 FATAL: No home directory found - set $HOME (or the platform equivalent).
stdout:
at com.nutomic.syncthingandroid.service.SyncthingService$NativeSyncthingRunnable.run(SyncthingService.java:168)
at java.lang.Thread.run(Thread.java:1019)
But Gingerbread still doesn't work, see #18
from syncthing-android.
i would understand this as $HOME hasn't been set. As I remember /sdcard
is available on Android. (I think as of 1.6, but surely as of 2.2.)
from syncthing-android.
Right, but using the data folder fixed that error, so there must have been a problem with the path. I don't have a 2.3 device myself, so I can only guess what the problem is.
from syncthing-android.
Sadly (or happily), I don't have a 2.3 device either. (But I used to have one.) (And I used to have a 2.2 device.)
from syncthing-android.
I had an HTC Desire running cm7 (and all kinds of roms before that). But that doesn't really help now :P
from syncthing-android.
Well, this happens for Honeycomb, too (see #30).
from syncthing-android.
ICS+ makes up about 97% of users according to the Play Store (with a single Honeycomb device), so this hasn't been so apparent yet. Great to get it finally fixed :)
from syncthing-android.
I implemented a file browser, so you won't have to type in the path any more.
It will be in 0.4.0.
from syncthing-android.
Related Issues (20)
- FileUriExposedException on editing ignores HOT 2
- Typo error in welcome screen
- App not working despite phone is connected to wifi HOT 1
- Expecting binder but got null! HOT 2
- Syncthing stops running after a few weeks HOT 4
- Support for Android SAF HOT 4
- status about android10 (sony xperia XZ2 phone) and syncthing not being able to write in sdcard folder (DCIM one...) HOT 2
- Explanation for slow sync on Android w/lots of files + request for fix HOT 2
- No way to back out of subfolder HOT 1
- Unable to run in background -- unable to set battery usage to Unrestricted HOT 4
- Not running every hour HOT 10
- "Override Changes" button MUST WARN PEOPLE WHAT IT DOES. HOT 1
- Info: No releases on google play for now HOT 5
- Custom https-cert causes infinite hang at startup HOT 2
- "Run on specified Wi-Fi networks" gives specious error on app opening HOT 5
- ID of phone is changing HOT 1
- Run while open HOT 1
- [request] Option to override "Run on" options for folder HOT 2
- In comma-separated list of addresses, commas become part of the addresses
- F-Droid app description doesn't have translations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncthing-android.