Сегодня утром на подопечных у меня возникла проблема с реагированием родной сборки Android. Новые изменения в коде не отражаются на устройстве. Нет сбоя сборки. Я попробовал следующее
- Удалил и переустановил узловые модули
- Реактивная ссылка
- . / Gradlew clean
- собственный пакет реагирования --platform android --dev false --entry-file index.js - выходные данные android / app / src / main / assets / index.android.bundle --assets-dest android / приложение / SRC / основные / Рез
- Сторож-сервер выключения
- rm -rf / usr / local / var / run / watchman && brew uninstall watchman && brew install watchman
- npm start - --reset-cache
Мой пакет.json
{
"name": "",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"ipad": "react-native run-ios --simulator 'iPad Pro (10.5-inch) (12.0)' --configuration Debug"
},
"dependencies": {
"@babel/runtime": "^7.2.0",
"accordion-collapse-react-native": "^0.1.9",
"aws-amplify": "^1.1.18",
"aws-amplify-react-native": "^2.1.6",
"aws-sdk": "^2.394.0",
"buffer": "^5.2.1",
"i18next": "^12.1.0",
"moment": "^2.24.0",
"nanoid": "^2.0.0",
"native-base": "^2.8.1",
"react": "^16.6.3",
"react-i18next": "^8.3.8",
"react-native": "^0.57.8",
"react-native-app-intro-slider": "^2.0.1",
"react-native-check-box": "^2.1.7",
"react-native-collapsible": "^1.4.0",
"react-native-fetch-blob": "^0.10.8",
"react-native-gesture-handler": "^1.0.10",
"react-native-image-crop-picker": "^0.21.3",
"react-native-image-resizer": "^1.0.0",
"react-native-img-button": "^1.0.1",
"react-native-keyboard-aware-scroll-view": "^0.8.0",
"react-native-keyboard-manager": "^4.0.13-10",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-languages": "^3.0.1",
"react-native-linear-gradient": "^2.5.3",
"react-native-locale-detector": "^1.0.1",
"react-native-material-dropdown": "^0.11.1",
"react-native-material-ripple": "^0.8.0",
"react-native-modal-datetime-picker": "^6.0.0",
"react-native-paper": "^2.15.2",
"react-native-segmented-control-tab": "^3.3.1",
"react-native-signature-pad-react-16": "^0.4.0",
"react-native-size-matters": "^0.1.4",
"react-native-vector-icons": "^6.1.0",
"react-navigation": "^2.18.2",
"react-redux": "^5.1.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"remote-redux-devtools": "^0.5.16",
"rnkit-alert-view": "^0.1.2"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.49.2",
"react-test-renderer": "16.6.1"
},
"jest": {
"preset": "react-native"
},
"rnpm": {
"assets": [
"./src/assets/fonts"
]
}
}