Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2879

Erorr while trying build react native android app

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: