facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.36k stars 24.25k forks source link

run on device , it doesn #18828

Closed mars000001 closed 6 years ago

mars000001 commented 6 years ago

the logcat shows :

04-12 23:41:46.915 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.915 16875-16891/? E/linker: warning: unable to get realpath for the library "libglog_init.so". Will use given name. 04-12 23:41:46.917 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.917 16875-16891/? E/linker: warning: unable to get realpath for the library "libyoga.so". Will use given name. 04-12 23:41:46.920 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.920 16875-16891/? E/linker: warning: unable to get realpath for the library "libprivatedata.so". Will use given name. 04-12 23:41:46.921 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.921 16875-16891/? E/linker: warning: unable to get realpath for the library "libfb.so". Will use given name. 04-12 23:41:46.923 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.923 16875-16891/? E/linker: warning: unable to get realpath for the library "libfolly_json.so". Will use given name. 04-12 23:41:46.932 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.932 16875-16891/? E/linker: warning: unable to get realpath for the library "libjsc.so". Will use given name. 04-12 23:41:46.941 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.942 16875-16891/? E/linker: warning: unable to get realpath for the library "libglog.so". Will use given name. 04-12 23:41:46.946 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.946 16875-16891/? E/linker: warning: unable to get realpath for the library "libgnustl_shared.so". Will use given name. 04-12 23:41:46.975 16875-16891/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20] 04-12 23:41:46.975 16875-16891/? E/linker: warning: unable to get realpath for the library "libicu_common.so". Will use given name. 04-12 23:41:47.050 16875-16891/? I/art: Thread[9,tid=16891,Native,Thread*=0xac6941e8,peer=0x12df64c0,"Thread-18149"] recursive attempt to load library "/data/app/com.earthlog-1/lib/arm/libfb.so" 04-12 23:41:47.077 16875-16893/? E/linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] 04-12 23:41:47.077 16875-16893/? E/linker: warning: unable to get realpath for the library "/system/lib/hw/gralloc.hi6210sft.so". Will use given name. 04-12 23:41:47.082 16875-16893/? E/linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] 04-12 23:41:47.082 16875-16893/? E/linker: warning: unable to get realpath for the library "libion.so". Will use given name. 04-12 23:41:47.098 16875-16893/? E/HAL: load: id=gralloc != hmi->id=gralloc

Environment

android 6.0 -----------------package.json--------------- { "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "antd-mobile": "^2.1.8", "babel-plugin-import": "^1.7.0", "native-echarts": "^0.4.0", "node-pre-gyp": "^0.9.0", "react": "16.3.1", "react-native": "0.55.2", "react-native-vector-icons": "^4.6.0" }, "devDependencies": { "babel-jest": "22.4.3", "babel-preset-react-native": "4.0.0", "jest": "22.4.3", "react-test-renderer": "16.3.1" }, "jest": { "preset": "react-native" } }

react-native-bot commented 6 years ago

Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run react-native info and edit your issue to include these results under the Environment section?

Thank you for your contributions.

react-native-bot commented 6 years ago

It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out?

If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label.

react-native-bot commented 6 years ago

This issue was marked as lacking information required by the issue template. There has been no activity on this issue for a while, so I will go ahead and close it.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

If you are the author of this issue and you believe this issue was closed in error (i.e. you have edited your issue to ensure it meets the template requirements), please let us know.