-
Type: Bug
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
How frequently does the bug occur?
- Always
Description
When I try to run ./gradlew buildRelease I receive the following error on my build.
./gradlew assembleRelease works fine
Task 'buildRelease' is ambiguous in root project 'App' and its subprojects. Candidates are: 'buildCMakeRelease', 'buildCMakeRelease[arm64-v8a][realm-js-android-binding]', 'buildCMakeRelease[armeabi-v7a][realm-js-android-binding]', 'buildCMakeRelease[x86][realm-js-android-binding]', 'buildCMakeRelease[x86_64][realm-js-android-binding]', 'buildReleasePreBundle'.
Stacktrace & log output
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
FAILURE: Build failed with an exception. * What went wrong: Task 'buildRelease' is ambiguous in root project 'App' and its subprojects. Candidates are: 'buildCMakeRelease', 'buildCMakeRelease[arm64-v8a][realm-js-android-binding]', 'buildCMakeRelease[armeabi-v7a][realm-js-android-binding]', 'buildCMakeRelease[x86][realm-js-android-binding]', 'buildCMakeRelease[x86_64][realm-js-android-binding]', 'buildReleasePreBundle'.
Can you reproduce the bug?
Always
Reproduction Steps
cd android
./gradlew clean
./gradlew buildRelease
Version
12.11.0
What services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Android
Build environment
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
Gradle = "8.3"
Cocoapods version
No response