Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6295

I have an error building my TSX-Expo-React Native application: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'

$
0
0

When I build my application with eas build with expo, everything is correct, only at the end this error appears. I have read a lot and I have not been able to solve it. If someone can guide me, that would be great.I show code...

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

Task :react-native-gradle-plugin:pluginDescriptorsTask :react-native-gradle-plugin:processResourcesTask :react-native-gradle-plugin:compileKotlinTask :react-native-gradle-plugin:compileJava NO-SOURCETask :react-native-gradle-plugin:classesTask :react-native-gradle-plugin:inspectClassesForKotlinICTask :react-native-gradle-plugin:jarConfigure project :expo-applicationWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-avWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Checking the license for package NDK (Side by side) 23.1.7779620 in /home/expo/Android/Sdk/licensesLicense for package NDK (Side by side) 23.1.7779620 accepted.Preparing "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)"."Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" ready.Installing NDK (Side by side) 23.1.7779620 in /home/expo/Android/Sdk/ndk/23.1.7779620"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" complete."Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" finished.Checking the license for package CMake 3.22.1 in /home/expo/Android/Sdk/licensesLicense for package CMake 3.22.1 accepted.Preparing "Install CMake 3.22.1 (revision: 3.22.1)"."Install CMake 3.22.1 (revision: 3.22.1)" ready.Installing CMake 3.22.1 in /home/expo/Android/Sdk/cmake/3.22.1"Install CMake 3.22.1 (revision: 3.22.1)" complete."Install CMake 3.22.1 (revision: 3.22.1)" finished.Configure project :expo-cameraWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-constantsWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-dev-clientWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-dev-launcherWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-dev-menuWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-dev-menu-interfaceWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-file-systemWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-fontWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-image-loaderWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-image-pickerWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-json-utilsWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-keep-awakeWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-linear-gradientWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-locationWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-manifestsWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-media-libraryWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-modules-coreWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-permissionsWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-sharingWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-splash-screenWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-system-uiWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expo-updates-interfaceWARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Configure project :expoUsing expo modules

  • expo-application (5.1.1)
  • expo-av (13.2.1)
  • expo-camera (13.2.1)
  • expo-constants (14.2.1)
  • expo-dev-client (2.1.3)
  • expo-dev-launcher (2.1.3)
  • expo-dev-menu (2.1.3)
  • expo-file-system (15.2.2)
  • expo-font (11.1.1)
  • expo-image-loader (4.1.1)
  • expo-image-picker (14.1.1)
  • expo-json-utils (0.5.1)
  • expo-keep-awake (12.0.1)
  • expo-linear-gradient (12.1.1)
  • expo-location (15.1.1)
  • expo-manifests (0.5.2)
  • expo-media-library (15.2.2)
  • expo-modules-core (1.2.3)
  • expo-permissions (14.1.1)
  • expo-sharing (11.2.1)
  • expo-splash-screen (0.18.1)
  • expo-system-ui (2.2.1)WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.Checking the license for package Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/licensesLicense for package Android SDK Build-Tools 30.0.3 accepted.Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)"."Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.Installing Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/build-tools/30.0.3"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete."Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.Checking the license for package Android SDK Platform 33 in /home/expo/Android/Sdk/licensesLicense for package Android SDK Platform 33 accepted.Preparing "Install Android SDK Platform 33 (revision: 2)"."Install Android SDK Platform 33 (revision: 2)" ready.Installing Android SDK Platform 33 in /home/expo/Android/Sdk/platforms/android-33"Install Android SDK Platform 33 (revision: 2)" complete."Install Android SDK Platform 33 (revision: 2)" finished.[stderr]FAILURE: Build failed with an exception.[stderr]
  • What went wrong:[stderr]Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.[stderr]

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.[stderr]Could not resolve project :react-native-code-push.[stderr]Required by:[stderr]project :app[stderr]> No matching configuration of project :react-native-code-push was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.4.1' but:[stderr]- None of the consumable configurations have attributes.[stderr]

  • Try:[stderr]

Run with --stacktrace option to get the stack trace.[stderr]Run with --info or --debug option to get more log output.[stderr]Run with --scan to get full insights.[stderr]

errorenter image description here

WHEN I RUN EXPO DOCTOR IN MY PROJECT EVERYTHING GOES OK....

I have tried to clear cache, reinstall libraries, recompile almost everything and I have not been able to solve it, I reinstalled dependencies, and the project works fine, the functionality of the app is very good, only the problem I have with that my suspicions are in react-native-code-push but i tried everything and nothing works, in ios if it works the problem is with android...


Viewing all articles
Browse latest Browse all 6295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>