Среда
Expo CLI 3.17.5 environment info:
System:
OS: macOS 10.15.2
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
Yarn: 1.22.0 - ~/.nvm/versions/node/v12.16.1/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.4/11E146 - /usr/bin/xcodebuild
npmPackages:
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
expo-cli: 3.17.5
Цель: React Native Android
Шаги для воспроизведения
Запуск приложения
Ожидаемое поведение
Нет cra sh
Фактическое поведение
Приложение cra sh после выполнения GLView.createContextAsync();
или await tf.ready();
В Logcat:
2020-04-01 14:23:58.501 8177-8177/com.tensorflowapp D/ScrollView: initGoToTop
2020-04-01 14:23:58.650 8177-8177/com.tensorflowapp D/ViewRootImpl@9cfe773[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 493719822336} changed=false
2020-04-01 14:23:58.670 8177-8891/com.tensorflowapp D/SoLoader: About to load: libexpo-gl.so
2020-04-01 14:23:58.671 8177-8891/com.tensorflowapp D/SoLoader: libexpo-gl.so not found on /data/data/com.tensorflowapp/lib-main
2020-04-01 14:23:58.671 8177-8891/com.tensorflowapp D/SoLoader: libexpo-gl.so found on /data/app/com.tensorflowapp-LFEiOec5Q3Fag-tWih-9nw==/lib/arm64
2020-04-01 14:23:58.671 8177-8891/com.tensorflowapp D/SoLoader: Not resolving dependencies for libexpo-gl.so
2020-04-01 14:23:58.674 8177-8177/com.tensorflowapp D/ViewRootImpl@9cfe773[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 493719822336} changed=false
2020-04-01 14:23:58.678 8177-8891/com.tensorflowapp D/SoLoader: Loaded: libexpo-gl.so
2020-04-01 14:23:58.685 8177-8891/com.tensorflowapp A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 8891 (mqt_js)
Воспроизводимая демоверсия
Репо здесь: https://github.com/alenoir/tesorflowapp