-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android project data directory is hardcoded #10
Comments
I can't even seem to get it to work anymore. I rebuilt the project without changes and it now crashes on start saying that it can't find a class.
I suspect an Arch Linux update overwrote something I installed through Android Studio. I'm trying to things working there. I'm thinking that I could use func init() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
defer web.HandleError(w, r)
user, _ := user.Current()
w.Write([]byte(user.HomeDir))
})
} |
I'm reopening this because it's still an issue, but it's likely I won't get to it soon. @cgomezmendez I did come up with a workaround that's better than the app was. You can use Termux and install the Go package, then go get this app. Run |
https://github.com/duckbrain/ldss/blob/master/ldssa/ldssa.go#L9
That's a problem cause it does't work in phones that doesn't have sdcard.
07-02 10:22:41.104 29544-29603/com.github.cgomezmendez.ldss.ldssa.build E/GoLog: panic: open /storage/emulated/0/.ldss/languages.json: no such file or directory
there must be a way to have it dinamically in golang.
The text was updated successfully, but these errors were encountered: