Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敡 4.0.1 unable to run #2818

Closed
5 tasks done
zhengjialu520 opened this issue Apr 29, 2024 · 1 comment
Closed
5 tasks done

馃敡 4.0.1 unable to run #2818

zhengjialu520 opened this issue Apr 29, 2024 · 1 comment
Labels
馃敡 build error Issue is related to building VisionCamera in your project

Comments

@zhengjialu520
Copy link

How were you trying to build the app?

when i yarn add react-native-vision-camera and run it .but the following errors will occur:
1銆亂arn add react-native-vision-camera
2銆亂arn react-native run-android

Full build logs

FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find androidx.camera:camera-core:1.4.0-alpha04.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- file:/Users/zhengjialu/.m2/repository/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/node_modules/react-native/android/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- https://maven.aliyun.com/repository/google/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- https://maven.aliyun.com/repository/jcenter/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- http://maven.aliyun.com/nexus/content/groups/public/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- http://developer.huawei.com/repo/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- https://jitpack.io/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/node_modules/jsc-android/dist/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- https://repo1.maven.org/maven2/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- https://www.jitpack.io/androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/android/app/libs/camera-core-1.4.0-alpha04.jar
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/android/app/libs/camera-core.jar
Required by:
project :app > com.github.jenly1314:zxing-lite:2.1.1
Could not find androidx.camera:camera-camera2:1.4.0-alpha04.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- file:/Users/zhengjialu/.m2/repository/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/node_modules/react-native/android/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- https://maven.aliyun.com/repository/google/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- https://maven.aliyun.com/repository/jcenter/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- http://maven.aliyun.com/nexus/content/groups/public/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- http://developer.huawei.com/repo/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- https://jitpack.io/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/node_modules/jsc-android/dist/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- https://repo1.maven.org/maven2/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- https://www.jitpack.io/androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.pom
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/android/app/libs/camera-camera2-1.4.0-alpha04.jar
- file:/Users/zhengjialu/Desktop/ryapp/ryapp/android/app/libs/camera-camera2.jar
Required by:
project :app > com.github.jenly1314:zxing-lite:2.1.1

Project dependencies

{
  "name": "ywl",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint .",
    "postinstall": "patch-package",
    "pushy:login": "pushy login",
    "pushy:select:android": "pushy selectApp --platform android",
    "pushy:select:ios": "pushy selectApp --platform ios",
    "pushy:source:android": "pushy uploadApk android/app/build/outputs/apk/release/app-armeabi-v7a-release.apk",
    "pushy:source:ios": "pushy uploadIpa ios/build/rn-upload-app-temp/rfApp.ipa",
    "pushy:update:android": "pushy bundle --platform android",
    "pushy:update:ios": "pushy bundle --platform ios"
  },
  "dependencies": {
    "@ant-design/react-native": "4.0.6",
    "@klarna/react-native-vector-drawable": "0.4.0",
    "@openspacelabs/react-native-zoomable-view": "^2.1.1",
    "@react-native-camera-roll/camera-roll": "^7.0.0",
    "@react-native-clipboard/clipboard": "^1.12.1",
    "@react-native-community/art": "^1.2.0",
    "@react-native-community/async-storage": "^1.12.1",
    "@react-native-community/datetimepicker": "^3.5.2",
    "@react-native-community/geolocation": "^3.1.0",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-community/netinfo": "^8.3.1",
    "@react-native-community/picker": "1.8.1",
    "@react-native-community/progress-bar-android": "^1.0.5",
    "@react-native-community/progress-view": "^1.4.2",
    "@react-native-community/push-notification-ios": "1.11.0",
    "@react-native-community/segmented-control": "2.2.2",
    "@react-native-community/slider": "4.4.3",
    "@react-native-firebase/app": "^14.12.0",
    "@react-native-firebase/messaging": "^14.12.0",
    "@sdcx/bottom-sheet": "^0.12.0",
    "@sdcx/keyboard-insets": "0.5.0",
    "@viro-community/react-viro": "http://cloudgit.rj.link/ar_group/ar/viro.git",
    "axios": "^1.6.2",
    "bluebird": "^3.7.2",
    "bson": "^4.7.2",
    "buffer": "^5.7.1",
    "crypto-js": "^4.2.0",
    "d3": "5.12.0",
    "dayjs": "^1.11.10",
    "fbjs": "^1.0.0",
    "i18next": "23.7.6",
    "jcore-react-native": "2.1.3",
    "jpush-react-native": "3.0.6",
    "jsencrypt": "3.3.2",
    "jverification-react-native": "2.5.9",
    "lodash": "^4.17.21",
    "lottie-ios": "3.1.8",
    "lottie-react-native": "4.0.2",
    "moment": "^2.29.4",
    "moment-timezone": "^0.5.43",
    "patch-package": "^6.5.1",
    "prop-types": "^15.7.2",
    "querystring": "^0.2.1",
    "react": "17.0.2",
    "react-i18next": "^14.0.5",
    "react-native": "0.67.0",
    "react-native-actionsheet": "^2.4.2",
    "react-native-android-wifi": "^0.0.23",
    "react-native-app-link": "^1.0.1",
    "react-native-audio-recorder-player": "^3.6.1",
    "react-native-base64": "0.2.1",
    "react-native-camera": "4.2.1",
    "react-native-circular-progress": "^1.3.9",
    "react-native-cli": "^2.0.1",
    "react-native-compressor": "^1.8.12",
    "react-native-device-info": "5.6.3",
    "react-native-drag-sort": "^2.4.4",
    "react-native-drax": "^0.9.3",
    "react-native-dynamic": "^1.0.0",
    "react-native-exception-handler": "^2.10.8",
    "react-native-fast-image": "^8.6.3",
    "react-native-fs": "^2.16.6",
    "react-native-gesture-handler": "^2.13.1",
    "react-native-highlight-words": "^1.0.1",
    "react-native-i18n": "^2.0.15",
    "react-native-image-crop-picker": "^0.36.4",
    "react-native-image-progress": "^1.2.0",
    "react-native-image-zoom-viewer": "^3.0.1",
    "react-native-in-app-review": "^4.3.1",
    "react-native-keep-awake": "^4.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-linear-gradient": "^2.8.3",
    "react-native-localize": "^1.4.3",
    "react-native-markdown-display": "^7.0.2",
    "react-native-md5": "^1.0.0",
    "react-native-modal-datetime-picker": "^8.9.3",
    "react-native-modal-dropdown": "^1.0.2",
    "react-native-modal-popover": "^2.1.3",
    "react-native-modalbox": "2.0.0",
    "react-native-orientation": "^3.1.3",
    "react-native-pager-view": "^6.2.3",
    "react-native-pdf": "^6.2.0",
    "react-native-permissions": "3.10.1",
    "react-native-picker": "4.3.7",
    "react-native-ping": "1.2.8",
    "react-native-plugin-zhugeio": "http://cloudgit.rj.link/app/react-native-plugin-zhugeio.git",
    "react-native-progress": "4.1.2",
    "react-native-push-notification": "8.1.1",
    "react-native-qrcode": "^0.2.7",
    "react-native-qrcode-svg": "6.2.0",
    "react-native-ratings": "^6.5.0",
    "react-native-reanimated": "1.8.0",
    "react-native-restart": "0.0.22",
    "react-native-root-siblings": "5.0.1",
    "react-native-safe-area-context": "^0.7.3",
    "react-native-screens": "^2.5.0",
    "react-native-secharts": "^1.7.0",
    "react-native-shadow": "^1.2.2",
    "react-native-share": "10.1.0",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-sound": "^0.11.2",
    "react-native-splash-screen": "^3.3.0",
    "react-native-ssl-pinning": "^1.5.7",
    "react-native-storage": "^1.0.1",
    "react-native-svg": "^12.0.3",
    "react-native-svga-player": "^1.1.0",
    "react-native-swipe-list-view": "3.2.9",
    "react-native-swipeout": "^2.3.6",
    "react-native-swiper": "1.6.0",
    "react-native-system-setting": "1.7.6",
    "react-native-tab-view": "^3.5.2",
    "react-native-text-size": "^4.0.0-rc.1",
    "react-native-tim-js": "^0.1.27",
    "react-native-update": "^8.1.0",
    "react-native-vector-image": "0.3.3",
    "react-native-video": "5.2.1",
    "react-native-view-shot": "^3.1.2",
    "react-native-vision-camera": "^4.0.1",
    "react-native-webp-format": "^1.2.0",
    "react-native-websocket": "^1.0.2",
    "react-native-webview": "10.9.2",
    "react-native-wechat": "http://cloudgit.rj.link/app/app_wechat.git",
    "react-native-zip-archive": "^6.1.0",
    "react-navigation": "^4.2.2",
    "react-navigation-redux-helpers": "^4.0.1",
    "react-navigation-stack": "^2.3.12",
    "react-navigation-tabs": "^2.8.11",
    "react-redux": "^7.2.0",
    "react-subscribe": "^1.3.2",
    "react_native_mqtt": "^1.3.1",
    "redux": "^4.0.5",
    "redux-logger": "^3.0.6",
    "redux-persist": "^6.0.0",
    "redux-saga": "^1.1.3",
    "rn-fetch-blob": "^0.12.0",
    "rn-global-modal": "^1.0.3",
    "rn-placeholder": "^3.0.3",
    "rn-qr-generator": "^1.3.1",
    "runes": "^0.4.3",
    "sensorsdata-analytics-react-native": "^2.3.4",
    "text-encoding": "^0.7.0",
    "urijs": "^1.19.2",
    "util": "^0.12.5",
    "validator": "13.5.1"
  },
  "resolutions": {
    "@types/react": "^18.0.8",
    "@react-native-community/viewpager": "4.2.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "babel-eslint": "^8.0.3",
    "babel-jest": "^26.6.3",
    "babel-plugin-lodash": "^3.3.4",
    "babel-plugin-transform-remove-console": "^6.9.4",
    "babel-preset-react-native": "4.0.0",
    "eslint": "7.14.0",
    "eslint-config-prettier": "^6.10.0",
    "eslint-plugin-prettier": "^3.1.2",
    "eslint-plugin-react": "^7.19.0",
    "eslint-plugin-react-native": "^3.8.1",
    "flow-bin": "^0.120.1",
    "husky": "^4.2.3",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.66.2",
    "react-native-bundle-visualizer": "^3.1.1",
    "react-native-iconfont-cli": "^2.2.4",
    "react-test-renderer": "17.0.2",
    "ts-jest": "23.10.5"
  },
  "jest": {
    "preset": "react-native"
  }
}

VisionCamera Version

4.0.1

Target platforms

Android

Operating system

MacOS

Can you build the VisionCamera Example app?

I didn't try (鈿狅笍 your issue might get ignored & closed if you don't try this)

Additional information

@zhengjialu520 zhengjialu520 added the 馃敡 build error Issue is related to building VisionCamera in your project label Apr 29, 2024
@zhengjialu520
Copy link
Author

android sdk version error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃敡 build error Issue is related to building VisionCamera in your project
Projects
None yet
Development

No branches or pull requests

1 participant