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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with gradlew clean in android folder #41702

Closed
SitaMelark opened this issue Nov 29, 2023 · 3 comments
Closed

Issue with gradlew clean in android folder #41702

SitaMelark opened this issue Nov 29, 2023 · 3 comments
Labels
Newer Patch Available Platform: Android Android applications. Resolution: Answered When the issue is resolved with a simple answer

Comments

@SitaMelark
Copy link

Description

Having trouble to do the clean because im getting an exception. Heres what i get:

> Task :gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:jar UP-TO-DATE
> Task :gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE

> Configure project :react-native-blob-util
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.

> Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_app:firebase.bom using default value: 32.5.0
:react-native-firebase_app:play.play-services-auth using default value: 20.7.0
:react-native-firebase_app package.json found at C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_app:version set from package.json: 18.6.1 (18,6,1 - 18006001)
:react-native-firebase_app:android.compileSdk using custom value: 33
:react-native-firebase_app:android.targetSdk using custom value: 33
:react-native-firebase_app:android.minSdk using custom value: 21
:react-native-firebase_app:reactNativeAndroidDir C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\react-native\android

> Configure project :react-native-firebase_messaging
:react-native-firebase_messaging package.json found at C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\@react-native-firebase\messaging\package.json
:react-native-firebase_app package.json found at C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\@react-native-firebase\app\package.json
:react-native-firebase_messaging:firebase.bom using default value: 32.5.0
:react-native-firebase_messaging package.json found at C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\@react-native-firebase\messaging\package.json
:react-native-firebase_messaging:version set from package.json: 18.6.1 (18,6,1 - 18006001)
:react-native-firebase_messaging:android.compileSdk using custom value: 33
:react-native-firebase_messaging:android.targetSdk using custom value: 33
:react-native-firebase_messaging:android.minSdk using custom value: 21
:react-native-firebase_messaging:reactNativeAndroidDir C:\Users\Eportal\ReactProyectos\Gestorum\node_modules\react-native\android

> Configure project :react-native-reanimated
Android gradle plugin: 7.4.2
Gradle: 8.0.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.

> Task :app:externalNativeBuildCleanDebug
Clean react_codegen_rnpermissions-armeabi-v7a, react_codegen_RNVectorIconsSpec-armeabi-v7a, react_codegen_safeareacontext-armeabi-v7a, react_codegen_rnpdf-armeabi-v7a, react_codegen_rngesturehandler_codegen-armeabi-v7a, react_codegen_RNImagePickerSpec-armeabi-v7a, react_codegen_reactnativemmkv-armeabi-v7a, react_codegen_rnscreens-armeabi-v7a, appmodules-armeabi-v7a, react_codegen_ReactNativeBlobUtilSpec-armeabi-v7a, react_codegen_rndocumentpicker-armeabi-v7a, react_codegen_RNDatePickerSpecs-armeabi-v7a
Clean react_codegen_rnpermissions-arm64-v8a, react_codegen_RNVectorIconsSpec-arm64-v8a, react_codegen_safeareacontext-arm64-v8a, react_codegen_rnpdf-arm64-v8a, react_codegen_rngesturehandler_codegen-arm64-v8a, react_codegen_RNImagePickerSpec-arm64-v8a, react_codegen_reactnativemmkv-arm64-v8a, react_codegen_rnscreens-arm64-v8a, appmodules-arm64-v8a, react_codegen_ReactNativeBlobUtilSpec-arm64-v8a, react_codegen_rndocumentpicker-arm64-v8a, react_codegen_RNDatePickerSpecs-arm64-v8a
Clean react_codegen_rnpermissions-x86, react_codegen_RNVectorIconsSpec-x86, react_codegen_safeareacontext-x86, react_codegen_rnpdf-x86, react_codegen_rngesturehandler_codegen-x86, react_codegen_RNImagePickerSpec-x86, react_codegen_reactnativemmkv-x86, react_codegen_rnscreens-x86, appmodules-x86, react_codegen_ReactNativeBlobUtilSpec-x86, react_codegen_rndocumentpicker-x86, react_codegen_RNDatePickerSpecs-x86
Clean react_codegen_rnpermissions-x86_64, react_codegen_RNVectorIconsSpec-x86_64, react_codegen_safeareacontext-x86_64, react_codegen_rnpdf-x86_64, react_codegen_rngesturehandler_codegen-x86_64, react_codegen_RNImagePickerSpec-x86_64, react_codegen_reactnativemmkv-x86_64, react_codegen_rnscreens-x86_64, appmodules-x86_64, react_codegen_ReactNativeBlobUtilSpec-x86_64, react_codegen_rndocumentpicker-x86_64, react_codegen_RNDatePickerSpecs-x86_64

> Task :app:externalNativeBuildCleanRelease FAILED
Clean react_codegen_RNVectorIconsSpec-armeabi-v7a, react_codegen_safeareacontext-armeabi-v7a, react_codegen_rnpdf-armeabi-v7a, react_codegen_rngesturehandler_codegen-armeabi-v7a, react_codegen_RNImagePickerSpec-armeabi-v7a, react_codegen_reactnativemmkv-armeabi-v7a, react_codegen_rnscreens-armeabi-v7a, appmodules-armeabi-v7a, react_codegen_ReactNativeBlobUtilSpec-armeabi-v7a, react_codegen_rndocumentpicker-armeabi-v7a, react_codegen_RNDatePickerSpecs-armeabi-v7a
C/C++: CMake Error in CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::fabricjni" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/fabricjni/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Warning in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-blob-util/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   The object file directory
C/C++:     C:/Users/Eportal/ReactProyectos/Gestorum/android/app/.cxx/RelWithDebInfo/4j66443g/armeabi-v7a/ReactNativeBlobUtilSpec_autolinked_build/CMakeFiles/react_codegen_ReactNativeBlobUtilSpec.dir/./
C/C++:   has 190 characters.  The maximum full path to an object file is 250
C/C++:   characters (see CMAKE_OBJECT_PATH_MAX).  Object file
C/C++:     react/renderer/components/ReactNativeBlobUtilSpec/ReactNativeBlobUtilSpecJSI-generated.cpp.o
C/C++:   cannot be safely placed under this directory.  The build may not work
C/C++:   correctly.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-blob-util/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-date-picker/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-document-picker/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Warning in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   The object file directory
C/C++:     C:/Users/Eportal/ReactProyectos/Gestorum/android/app/.cxx/RelWithDebInfo/4j66443g/armeabi-v7a/rngesturehandler_codegen_autolinked_build/CMakeFiles/react_codegen_rngesturehandler_codegen.dir/./
C/C++:   has 192 characters.  The maximum full path to an object file is 250
C/C++:   characters (see CMAKE_OBJECT_PATH_MAX).  Object file
C/C++:     react/renderer/components/rngesturehandler_codegen/rngesturehandler_codegenJSI-generated.cpp.o
C/C++:   cannot be safely placed under this directory.  The build may not work
C/C++:   correctly.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-image-picker/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-mmkv/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-pdf/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-permissions/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-safe-area-context/android/src/main/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-screens/android/src/main/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Error in C:/Users/Eportal/ReactProyectos/Gestorum/node_modules/react-native-vector-icons/android/build/generated/source/codegen/jni/CMakeLists.txt:
C/C++:   Imported target "ReactAndroid::folly_runtime" includes non-existent path
C/C++:     "C:/Users/Eportal/.gradle/caches/transforms-3/9625de964b053f8bd8a6391c7233566a/transformed/jetified-react-android-0.72.4-release/prefab/modules/folly_runtime/include"
C/C++:   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
C/C++:   * The path was deleted, renamed, or moved to another location.
C/C++:   * An install or uninstall procedure did not complete successfully.
C/C++:   * The installation package was faulty and references files it does not
C/C++:   provide.
C/C++: CMake Generate step failed.  Build files cannot be regenerated correctly.
C/C++: ninja: error: rebuilding 'build.ninja': subcommand failed

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.

See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
7 actionable tasks: 2 executed, 5 up-to-date

React Native Version

0.72.4

Output of npx react-native info

No issues with this

Steps to reproduce

.

Snack, screenshot, or link to a repository

.

@github-actions github-actions bot added Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available labels Nov 29, 2023
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.72.7. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@github-actions github-actions bot added the Platform: Android Android applications. label Nov 29, 2023
@cortinico
Copy link
Contributor

There are no errors or exceptions. What you see is only build warnings.

@cortinico cortinico added Resolution: Answered When the issue is resolved with a simple answer and removed Needs: Triage 🔍 Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Newer Patch Available Platform: Android Android applications. Resolution: Answered When the issue is resolved with a simple answer
Projects
None yet
Development

No branches or pull requests

2 participants