Hi All,
I am a newbie here and i am trying reuse “Task app” template to customize and build my app “Bhumiputhra” as in the below URL. Kindly help me to resolve the issue with my deployment for android. https://app.crowdbotics.com/dashboard/app/23363
In the logs below is the error message reads as :
Android build failed. Error: e[1G[⠋] e[1G[⠙] e[1G[⠹] e[1G[⠸] e[1G[⠼] e[1G[⠴] e[0me[2Ke[1G[]
e[1m* What went wrong:e[m
e[1mExecution failed for task ‘:app:bundleReleaseJsAndAssets’.e[m
e[1m> Process ‘command ‘npx’’ finished with non-zero exit value 1e[m
e[1mDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.e[m
e[1mUse ‘–warning-mode all’ to show the individual deprecation warnings.e[m
Hi, I have received the exact same error code as above when trying to deploy my application https://app.crowdbotics.com/dashboard/app/23832. The Android build failed due to some kind of Gradle error. My application does not use an app template like OP’s – it only contains a two Splash Screens (one of them fully configured, the other unused), an Onboarding Slide Screen, and a customized Blank page.
[1mFAILURE: Build failed with an exception.e[m
e[1m* What went wrong:e[m
e[1mExecution failed for task ':app:bundleReleaseJsAndAssets'.e[m
e[1m> Process 'command 'npx'' finished with non-zero exit value 1e[m
e[1m* Try:e[m
e[1mRun 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.e[m
[1m* Get more help at [https://help.gradle.orge[m](https://help.gradle.org%1B[m/)
[1mDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.e[m
e[1mUse '--warning-mode all' to show the individual deprecation warnings.e[m
Per this Stack Overflow thread describing the same error, I downloaded my repo, ran ./gradlew clean in my /android folder, and got the following error:
Could not read script '/Users/johnbender/Downloads/my-new-mobile-app-23832-master/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' as it does not exist.
Not sure if that’s helpful. I tried adding that /node_modules/@react-native-community/cli-platform-android/native_modules.gradle file to different parts of the repo and didn’t get any positive results – it ultimately seemed to point to a CircleCI error of some kind.
In over my head at this point, just trying to help!