Код: Выделить всё
FAILURE: Build failed with an exception.
* Where:
Script '/Users/mehmetsozd/Desktop/almiratur/almira_app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 418
* What went wrong:
Could not compile script '/Users/mehmetsozd/Desktop/almiratur/almira_app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle'.
> startup failed:
script '/Users/mehmetsozd/Desktop/almiratur/almira_app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle': 418: [Static type checking] - No such property: inputStream for class: java.lang.Process
@ line 418, column 31.
def output = process.inputStream.text.trim()
^
script '/Users/mehmetsozd/Desktop/almiratur/almira_app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle': 418: [Static type checking] - No such property: text for class: java.lang.Object
@ line 418, column 43.
f output = process.inputStream.text.trim
^
script '/Users/mehmetsozd/Desktop/almiratur/almira_app/node_modules/@react-native-community/cli-platform-android/native_modules.gradle': 418: [Static type checking] - Cannot find matching method java.lang.Object#trim(). Please check if the declared type is correct and if the method exists.
@ line 418, column 24.
def output = process.inputStream.text.trim()
^
3 errors
* 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.
BUİLD FAILED in 332ms
Будем благодарны за любую помощь. Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/788 ... -0-75-0-er