react-native-paystack icon indicating copy to clipboard operation
react-native-paystack copied to clipboard

Expo build encountering Could not find co.paystack.android:paystack:3.0.12. Searched in the following locations: try changing the dependency as seen on the issues tab still getting the error, it eas working before now. Any help will be appreciated.

Open peterdevrel opened this issue 1 year ago • 0 comments

Running 'gradlew :app:assembleDebug' in /home/expo/workingdir/build/android Downloading https://services.gradle.org/distributions/gradle-8.6-all.zip 10% 20%. 30%. 40%. 50%. 60%. 70%. 80%. 90%. 100% Welcome to Gradle 8.6! Here are the highlights of this release:

  • Configurable encryption key for configuration cache
  • Build init improvements
  • Build authoring improvements For more details see https://docs.gradle.org/8.6/release-notes.html To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.6/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. Daemon will be stopped at the end of the build Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable

Task :expo-dev-launcher-gradle-plugin:checkKotlinGradlePluginConfigurationErrors Task :gradle-plugin:checkKotlinGradlePluginConfigurationErrors Task :expo-dev-launcher-gradle-plugin:pluginDescriptors Task :expo-dev-launcher-gradle-plugin:processResources Task :gradle-plugin:pluginDescriptors Task :gradle-plugin:processResources Task :expo-dev-launcher-gradle-plugin:compileKotlin Task :expo-dev-launcher-gradle-plugin:compileJava NO-SOURCE Task :expo-dev-launcher-gradle-plugin:classes Task :expo-dev-launcher-gradle-plugin:jar Task :gradle-plugin:compileKotlin Task :gradle-plugin:compileJava NO-SOURCE Task :gradle-plugin:classes Task :gradle-plugin:jar Configure project :app ℹ️ [33mApplying gradle plugin[0m '[32mexpo-dev-launcher-gradle-plugin[0m' ([email protected]) Configure project :expo-modules-core Checking the license for package NDK (Side by side) 26.1.10909125 in /home/expo/Android/Sdk/licenses License for package NDK (Side by side) 26.1.10909125 accepted. Preparing "Install NDK (Side by side) 26.1.10909125 v.26.1.10909125". "Install NDK (Side by side) 26.1.10909125 v.26.1.10909125" ready. Installing NDK (Side by side) 26.1.10909125 in /home/expo/Android/Sdk/ndk/26.1.10909125 "Install NDK (Side by side) 26.1.10909125 v.26.1.10909125" complete. "Install NDK (Side by side) 26.1.10909125 v.26.1.10909125" finished. Configure project :expo Using expo modules

  • [32mexpo-asset[0m (10.0.6)
  • [32mexpo-clipboard[0m (6.0.3)
    • [32mexpo-constants[0m (16.0.2)
    • [32mexpo-dev-client[0m (4.0.15)
    • [32mexpo-dev-launcher[0m (4.0.16)
    • [32mexpo-dev-menu[0m (5.0.14)
    • [32mexpo-file-system[0m (17.0.1)
    • [32mexpo-font[0m (12.0.6)
    • [32mexpo-image-loader[0m (4.7.0)
    • [32mexpo-image-picker[0m (15.0.5)
    • [32mexpo-json-utils[0m (0.13.1)
    • [32mexpo-keep-awake[0m (13.0.2)
    • [32mexpo-manifests[0m (0.14.3)
    • [32mexpo-modules-core[0m (1.12.12)
    • [32mexpo-sharing[0m (12.0.1)
    • [32mexpo-splash-screen[0m (0.27.4)

Configure project :react-native-firebase_app :react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json :react-native-firebase_app:firebase.bom using default value: 32.8.1 :react-native-firebase_app:play.play-services-auth using default value: 21.0.0 :react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json :react-native-firebase_app:version set from package.json: 19.3.0 (19,3,0 - 19003000) :react-native-firebase_app:android.compileSdk using custom value: 34 :react-native-firebase_app:android.targetSdk using custom value: 34 :react-native-firebase_app:android.minSdk using custom value: 23 :react-native-firebase_app:reactNativeAndroidDir /home/expo/workingdir/build/node_modules/react-native/android Configure project :react-native-firebase_messaging :react-native-firebase_messaging package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/messaging/package.json :react-native-firebase_app package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/app/package.json :react-native-firebase_messaging:firebase.bom using default value: 32.8.1 :react-native-firebase_messaging package.json found at /home/expo/workingdir/build/node_modules/@react-native-firebase/messaging/package.json :react-native-firebase_messaging:version set from package.json: 19.3.0 (19,3,0 - 19003000) :react-native-firebase_messaging:android.compileSdk using custom value: 34 :react-native-firebase_messaging:android.targetSdk using custom value: 34 :react-native-firebase_messaging:android.minSdk using custom value: 23 :react-native-firebase_messaging:reactNativeAndroidDir /home/expo/workingdir/build/node_modules/react-native/android Configure project :react-native-reanimated Android gradle plugin: 8.2.1 Gradle: 8.6 Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable Checking the license for package Android SDK Build-Tools 34 in /home/expo/Android/Sdk/licenses License for package Android SDK Build-Tools 34 accepted. Preparing "Install Android SDK Build-Tools 34 v.34.0.0". "Install Android SDK Build-Tools 34 v.34.0.0" ready. Installing Android SDK Build-Tools 34 in /home/expo/Android/Sdk/build-tools/34.0.0 "Install Android SDK Build-Tools 34 v.34.0.0" complete. "Install Android SDK Build-Tools 34 v.34.0.0" finished. Checking the license for package Android SDK Platform 34 in /home/expo/Android/Sdk/licenses License for package Android SDK Platform 34 accepted. Preparing "Install Android SDK Platform 34 (revision 3)". "Install Android SDK Platform 34 (revision 3)" ready. Installing Android SDK Platform 34 in /home/expo/Android/Sdk/platforms/android-34 "Install Android SDK Platform 34 (revision 3)" complete. "Install Android SDK Platform 34 (revision 3)" finished. 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 co.paystack.android.design.widget:pinpad:1.0.1. Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom - https://repo.maven.apache.org/maven2/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom - file:/home/expo/workingdir/build/node_modules/jsc-android/dist/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom - https://dl.google.com/dl/android/maven2/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom - https://www.jitpack.io/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom - file:/home/expo/workingdir/build/node_modules/react-native/android/co/paystack/android/design/widget/pinpad/1.0.1/pinpad-1.0.1.pom Required by: project :app > project :react-native-paystack Could not find co.paystack.android:paystack:3.0.12. Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom

  • https://repo.maven.apache.org/maven2/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom - file:/home/expo/workingdir/build/node_modules/jsc-android/dist/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom - https://dl.google.com/dl/android/maven2/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom - https://www.jitpack.io/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom - file:/home/expo/workingdir/build/node_modules/react-native/android/co/paystack/android/paystack/3.0.12/paystack-3.0.12.pom Required by: project :app > project :react-native-paystack
  • 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 4m 30s 10 actionable tasks: 10 executed Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

peterdevrel avatar Jun 04 '24 03:06 peterdevrel