آموزش جاوااسکریپت › انجمن ها › react native › سوال در مورد StackNavigator › پاسخ به: سوال در مورد StackNavigator
ژانویه 27, 2019 در 1:26 ب.ظ
#25863
fsa
مشارکت کننده
ممنونم من بعد از نصب و link کردن پیغام زیر رو دریافت میکنم .
حتی مجدد یه پروژه حدید ایجاد کردم قبلاً اجرا شد اما بعد از استفاده از 3 تا دستور زیر
npm install –save react-navigation
و
npm install –save react-native-gesture-handler
و link کردن اونها دیگه اجرا نشد و پیغام زیر رو نشون میده
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
FAILURE: Build failed with an exception. * Where: Settings file 'D:\project\appfarshid\android\settings.gradle' line: 3 * What went wrong: Could not compile settings file 'D:\project\appfarshid\android\settings.gradle'. > startup failed: settings file 'D:\project\appfarshid\android\settings.gradle': 3: unexpected char: '\' @ line 3, column 133. s\react-native-gesture-handler\android') ^ 1 error * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 2s Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html Command failed: gradlew.bat installDebug Error: Command failed: gradlew.bat installDebug at checkExecSyncError (child_process.js:616:11) at Object.execFileSync (child_process.js:634:13) at runOnAllDevices (D:\project\appfarshid\node_modules\react-native\local-cli\runAndroid\runAndroid.js:299:19) at buildAndRun (D:\project\appfarshid\node_modules\react-native\local-cli\runAndroid\runAndroid.js:135:12) at isPackagerRunning.then.result (D:\project\appfarshid\node_modules\react-native\local-cli\runAndroid\runAndroid.js:65:12) at process._tickCallback (internal/process/next_tick.js:68:7) |
حالا باید چیکار کنم ؟