running ANDROID - ERROR - "__bionic_open_tzdata_path: ANDROID_DATA not set!"
来源:互联网 发布:html5 帝国cms 编辑:程序博客网 时间:2024/05/17 04:58
http://android.stackexchange.com/questions/161462/bionic-open-tzdata-path-android-data-not-set
When running commands like date
or ls -l
I always get a multiple repetition of the following lines to the standard error:
__bionic_open_tzdata_path: ANDROID_DATA not set!__bionic_open_tzdata_path: ANDROID_ROOT not set!
I used to consider it acceptable, until I created a script running date
in a loop, causing an awful endless stream of the same repeated lines.
I couldn't find any documentation about it, yet the problem seems to be common.
Any idea how to fix this?
Thanks in advance
ANSWER:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
http://git-annex.branchable.com/bugs/Android_6.0_compatibility/
Android 6.0 compatibility
Git-annex appears to be incompatible with Android 6. I downloaded the APK for Android 5 and tried installing it on a Nexus 5X running Android 6.0.1. The biggest issue is that pushing and pulling to SSH remotes fails with a "Permission denied" error from muxserver_listen() in OpenSSH. There are some other warnings and errors, listed below, would you like me to file separate bugs for each or track everything here?
- The full error from ssh is "muxserver_listen: link mux listener /data/data/ga.androidterm/tmp/ssh/annex-user@192.168.0.3.Jg42jDbmIRBdbjDZ => /data/data/ga.androidterm/tmp/ssh/annex-user@192.168.0.3: Permission denied". Immediately after that there is an error message, presumably from git, that reads "fatal: Could not read from remote repository." I am able to SSH to the server from the app's command line, and get an interactive shell. I can successfully run 'git fetch
git remote
', butgit annex sync
runs into this issue. - When switching between two repositories in the webapp, the page never loads after clicking on a repository. After trying the link a few times, I can see "git-annex: Daemon is already running." through the webapp's log viewer. However, if I stop the daemon through the webapp and start it again, then the webapp will indicate that I successfully switched to the other repository.
- There is a warning message in the console that reads, "WARNING: linker: git-annex has text relocations. This is wasting memory and prevents security hardening. Please fix." It appears that apps targeting SDK version 23 are not allowed to use text relocations, while apps targeting lower versions just get this warning. See http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime
- There is a warning message at the top of every new terminal that says "Falling back to hardcoded app location; cannot find expected files in /data/app/ga.androidterm-1/lib". This issue doesn't appear to affect anything, but I thought I'd mention it for completeness.
- At various times during syncing, "__bionic_open_tzdata_path: ANDROID_DATA not set!" and "__bionic_open_tzdata_path: ANDROID_ROOT not set!" show up in the log.
What steps will reproduce the problem?
- Install Android 5.0 APK on Android 6.0 phone
- Create a repository
- Add an SSH remote
What version of git-annex are you using? On what operating system?
5.20151217-g7b73f34 on Android 6.0.1
Please provide any additional information below.
muxserver_listen: link mux listener /data/data/ga.androidterm/tmp/ssh/annex-user@192.168.0.3.ZUzI2MBl8k0qt2pg => /data/data/ga.androidterm/tmp/ssh/annex-user@192.168.0.3: Permission denied
If I look in this temporary directory after the fact, I see the following.
> ls -l /data/data/ga.androidterm/tmp/ssh-rw------- 1 u0_a108 u0_a108 0 Dec 24 10:06 annex-user@192.168.0.3.lock
I suppose since the socket is a Unix domain socket, it gets destroyed when the process stops, so it shouldn't be surprising there's nothing else in that directory.
Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Not yet, but I'm excited to make it work!
- running ANDROID - ERROR - "__bionic_open_tzdata_path: ANDROID_DATA not set!"
- Android_Data
- Qt&Xcode 8 ERROR:Xcode not set up properly ... by running /usr/bin/xcodebuild.
- error: Xcode not set up properly. You ..confirm the license agreement by running /usr/bin/xcodebuild
- Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /
- 【HBase】ERROR master.HMasterCommandLine: Master not running
- Error running app: Default Activity Not Found
- Error running app: Default Activity Not Found
- android-问题- Error running app
- 【Android Studio学习笔记之错误】Error running test: Default Activity not found
- IDEA运行web工程报错,Error running wis-client-web: SSL HTTP Connector node not found: set up one in the ser
- IDEA运行web工程报错,Error running wis-client-web: SSL HTTP Connector node not found: set up one in the ser
- Android移动开发-AndroidStudio调试安装时出现“Error running app: Default Activity Not Found”报错的解决方案
- Android 远程链接 daemon not running 解决方法
- 【ZooKeeper异常】Error contacting service. It is probably not running.
- Error contacting service. It is probably not running
- Error contacting service. It is probably not running 错误
- zookeeper Error contacting service. It is probably not running错误
- Impress.js上手 - 抛开PPT、制作Web 3D幻灯片放映
- JAVA设计模式之单例模式
- C# String.Format格式化json字符串中包含"{" "}"报错问题
- 排序算法总结
- 欢迎使用CSDN-markdown编辑器
- running ANDROID - ERROR - "__bionic_open_tzdata_path: ANDROID_DATA not set!"
- J S : 实现用户登录验证码
- makefile编写过程中的难点
- SSM框架---增删查改
- 缓存系列篇<二>
- JDK中logging包中的类
- android 写的很好的博客
- Git和GitLab的使用
- 微信公众号付款asp.net版本
ANDROID_DATA
(usually/data
) andANDROID_ROOT
(/system
).Try to assign these values to said variables and run the commands again.
– Death Mask SalesmanNov 3 at 20:39