Open Space6188 opened 7 months ago
same issue
same, why is there no response? how did you guys solve it
@Space6188 I think the solution for now is to use "react-native-blurhash": "~1.1.11"
in your package.json
. I have been unsuccessful getting anything above version 2+
to build.
same issue
yarn run v1.22.21 $ react-native run-android info JS server already running. info Installing the app...
This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33
This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=34 to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 34 WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33
This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=34 to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 34 WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33
This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=34 to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 34
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 291 actionable tasks: 13 executed, 278 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. e: /Users/space/Desktop/Bat/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashImageView.kt: (5, 8): Unresolved reference: kotlinx e: /Users/space/Desktop/Bat/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashImageView.kt: (6, 8): Unresolved reference: kotlinx e: /Users/space/Desktop/Bat/node_modules/react-native-blurhash/android/src/main/java/com/mrousavy/blurhash/BlurhashImageView.kt: (78, 17): Unresolved reference: GlobalScope Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-blurhash:compileDebugKotlin'.
Try:
BUILD FAILED in 8s error Failed to install the app. info Run CLI with --verbose flag for more details. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
package.json dependencies:"dependencies": { "@gorhom/bottom-sheet": "^4", "@notifee/react-native": "^7.8.2", "@react-native-camera-roll/camera-roll": "^5.7.2", "@react-native-firebase/app": "^19.0.1", "@react-native-firebase/messaging": "^19.0.1", "@react-native-masked-view/masked-view": "^0.3.1", "@react-navigation/drawer": "^6.6.3", "@react-navigation/material-top-tabs": "^6.6.10", "@react-navigation/native": "^6.1.7", "@react-navigation/native-stack": "^6.9.13", "@reduxjs/toolkit": "^1.9.5", "@shopify/react-native-skia": "1.2.2", "axios": "^1.6.7", "dayjs": "^1.11.9", "ffmpeg-kit-react-native": "^6.0.2", "react": "18.2.0", "react-hook-form": "^7.51.1", "react-native": "0.72.12", "react-native-audio-recorder-player": "^3.6.7", "react-native-blurhash": "^2.0.2", "react-native-callkeep": "^4.3.12", "react-native-compressor": "^1.8.24", "react-native-device-info": "^10.13.1", "react-native-document-picker": "^9.1.1", "react-native-fs": "^2.20.0", "react-native-gesture-handler": "^2.12.1", "react-native-maps": "^1.10.3", "react-native-mmkv": "^2.12.2", "react-native-pager-view": "^6.2.0", "react-native-reanimated": "^3.5.4", "react-native-safe-area-context": "^4.7.1", "react-native-screens": "^3.23.0", "react-native-svg": "^13.10.0", "react-native-tab-view": "^3.5.2", "react-native-track-player": "^4.0.1", "react-native-uuid": "^2.0.1", "react-native-video": "5.2.1", "react-native-view-shot": "^3.8.0", "react-native-vision-camera": "4.0.0", "react-native-webrtc": "^118.0.2", "react-native-worklets-core": "^1.1.1", "react-redux": "^8.1.2" },
Platform - android