Выполнение не удалось для задачи ': react-clyscreens: compiledebugkotlin'Android

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Выполнение не удалось для задачи ': react-clyscreens: compiledebugkotlin'

Сообщение Anonymous »

Так что в основном я в настоящее время обновлен до Api-Level 35 для Android и в настоящее время возникает в настоящее время ошибки, где я не могу найти правильное решение для своего случая. То, что я сделал, было обновлением моей RN-версии с 72-> 78 < /p>
Это ошибка: < /p>
выполнение не удалось для задачи ': react-clive-extrens: compiledebugkotlin'. < /P>

Код: Выделить всё

e: file:///Users/***/nuue-app/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt:568:13 Class 'ScreenStackFragment.ScreensCoordinatorLayout' is not abstract and does not implement abstract member 'pointerEvents'.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackFragment.kt:654:9 'getPointerEvents' overrides nothing.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/BottomSheetDialogRootView.kt:15:1 Class 'BottomSheetDialogRootView' is not abstract and does not implement abstract member 'onChildStartedNativeGesture'.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/BottomSheetDialogRootView.kt:70:5 'onChildStartedNativeGesture' overrides nothing.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/BottomSheetDialogRootView.kt:95:5 'handleException' overrides nothing.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/DimmingView.kt:20:1 Class 'DimmingView' is not abstract and does not implement abstract member 'pointerEvents'.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/DimmingView.kt:60:5 'getPointerEvents' overrides nothing.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/GestureTransparentViewGroup.kt:14:1 Class 'GestureTransparentViewGroup' is not abstract and does not implement abstract member 'pointerEvents'.
e: file:///Users/***/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/bottomsheet/GestureTransparentViewGroup.kt:19:5 'getPointerEvents' overrides nothing.  FAILURE: Build failed with an exception.
< /code>
Это мой старый пакет.json: < /p>
"dependencies": {
"@notifee/react-native": "^7.8.0",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-native-async-storage/async-storage": "^1.17.0",
"@react-native-community/hooks": "^2.8.1",
"@react-native-community/netinfo": "^9.3.0",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/drawer": "^6.6.3",
"@react-navigation/elements": "^1.3.18",
"@react-navigation/material-top-tabs": "^6.6.3",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"react": "18.2.0",
"react-native": "0.72.15",
"react-native-ama": "^0.7.5",
"react-native-background-actions": "^4.0.1",
"react-native-ble-manager": "^10.1.3",
"react-native-blob-util": "^0.19.11",
"react-native-camera-kit": "^13.0.0",
"react-native-device-info": "^8.5.1",
"react-native-fast-image": "^8.6.1",
"react-native-geolocation-service": "^5.3.0-beta.4",
"react-native-gesture-handler": "^2.9.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-media-console": "^2.0.7",
"react-native-pager-view": "^6.2.0",
"react-native-paper": "^4.11.2",
"react-native-permissions": "3.6.1",
"react-native-popover-view": "^5.0.1",
"react-native-reanimated": "^3.5.2",
"react-native-safe-area-context": "^4.7.2",
"react-native-screens": "^3.22.1",
"react-native-svg": "^12.3.0",
"react-native-tab-view": "^3.5.2",
"react-native-track-player": "github:ngort01/react-native-track-player",
"react-native-vector-icons": "^10.0.0",
"react-native-video": "^5.2.0",
"react-native-webview": "^13.6.0",
"react-native-zip-archive": "^6.1.2",
"recoil": "^0.6.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.12",
"@tsconfig/react-native": "^3.0.0",
"@types/react": "^18.0.24",
"@types/react-native": "^0.72.2",
"@types/react-native-vector-icons": "^6.4.14",
"@types/react-native-video": "^5.0.15",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.9",
"prettier": "^2.4.1",
"react-native-version": "^4.0.0",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4",
"wcag-color": "^1.1.1"
},
"engines": {
"node": ">=16"
},
"packageManager": "yarn@3.6.4"
}
< /code>
Это мой текущий пакет.json: < /p>
"dependencies": {
"@d11/react-native-fast-image": "^8.11.1",
"@notifee/react-native": "^9.1.8",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-native-ama/core": "^1.2.0",
"@react-native-ama/react-native": "^1.2.1",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-community/hooks": "^2.8.1",
"@react-native-community/netinfo": "11.4.1",
"@react-navigation/bottom-tabs":  "^6.5.8",
"@react-navigation/drawer": "^6.6.3",
"@react-navigation/elements": "^1.3.18",
"@react-navigation/material-top-tabs": "^6.6.3",
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.9.13",
"invariant": "^2.2.4",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-background-actions": "^4.0.1",
"react-native-ble-plx": "^3.5.0",
"react-native-blob-util": "^0.19.11",
"react-native-camera-kit": "^15.1.0",
"react-native-device-info": "^8.5.1",
"react-native-geolocation-service": "^5.3.0-beta.4",
"react-native-gesture-handler": "^2.26.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-media-console": "^2.0.7",
"react-native-pager-view": "^6.2.0",
"react-native-paper": "^5.14.5",
"react-native-permissions": "3.6.1",
"react-native-popover-view": "^5.0.1",
"react-native-reanimated": "3.19.1",
"react-native-safe-area-context": "^5.6.0",
"react-native-screens": "4.5.0",
"react-native-svg": "^15.12.0",
"react-native-tab-view": "^3.5.2",
"react-native-track-player": "^4.1.2",
"react-native-vector-icons": "^10.0.0",
"react-native-video": "^6.16.1",
"react-native-webview": "^13.6.0",
"react-native-zip-archive": "^7.0.2",
"recoil": "^0.6.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-native/babel-preset": "0.78.0",
"@react-native/eslint-config": "0.78.0",
"@react-native/metro-config": "0.78.0",
"@react-native/typescript-config": "0.78.0",
"@types/jest": "^29.5.13",
"@types/react": "^19.0.0",
"@types/react-native": "^0.72.2",
"@types/react-native-vector-icons": "^6.4.14",
"@types/react-native-video": "^5.0.15",
"@types/react-test-renderer": "^19.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"metro-react-native-babel-preset": "0.76.9",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "2.8.8",
"react-native-version": "^4.0.0",
"react-test-renderer": "19.0.0",
"typescript": "5.0.4",
"wcag-color": "^1.1.1"
},
"engines": {
"node": ">=18"
}
}

Это мой android/build.gradle

Код: Выделить всё

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
kotlin_Version = "2.0.21"
}
repositories {
google()
maven { url 'https://maven.google.com' }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}

apply plugin: "com.facebook.react.rootproject"
Если вам нужна дополнительная информация, дайте мне знать

Подробнее здесь: https://stackoverflow.com/questions/797 ... ebugkotlin
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»