I am facing this issue while building my apk. i am using expo managed workflow.

"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" failed.

341

[stderr]

FAILURE: Build completed with 2 failures.

342

[stderr]

1: Task failed with an exception.

343

[stderr]

-----------

344

[stderr]

* Where:

345

[stderr]

Script '/home/expo/workingdir/build/node_modules/expo-modules-autolinking/scripts/android/autolinking_implementation.gradle' line: 356

346

[stderr]

* What went wrong:

347

[stderr]

A problem occurred evaluating project ':expo'.

348

[stderr]

> A problem occurred configuring project ':expo-av'.

349

[stderr]

   > Failed to notify project evaluation listener.

350

[stderr]

      >

351

[stderr]

com.android.builder.sdk.InstallFailedException: Failed to install the following SDK components:

352

[stderr]

            ndk;23.1.7779620 NDK (Side by side) 23.1.7779620

353

[stderr]

Install the missing components using the SDK manager in Android Studio.

354

[stderr]

      > Could not get unknown property 'release' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.

355

[stderr]

* Try:

356

[stderr]

> Run with --stacktrace option to get the stack trace.

357

[stderr]

> Run with --info or --debug option to get more log output.

358

[stderr]

> Run with --scan to get full insights.

359

[stderr]

==============================================================================

360

[stderr]

2: Task failed with an exception.

361

[stderr]

-----------

362

[stderr]

* What went wrong:

363

[stderr]

A problem occurred configuring project ':expo'.

364

[stderr]

> compileSdkVersion is not specified. Please add it to build.gradle

365

[stderr]

* Try:

366

[stderr]

> Run with --stacktrace option to get the stack trace.

367

[stderr]

> Run with --info or --debug

368

[stderr]

option to get more log output.

369

[stderr]

> Run with --scan to get full insights.

370

[stderr]

==============================================================================

371

[stderr]

* Get more help at https://help.gradle.org

372

[stderr]

BUILD FAILED in 2m 27s

373

10 actionable tasks: 10 executed

374

Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Hi @codewithkishan

I’ve just tried building an app and it worked OK for me. Does it work if you try it again? And there’s nothing else about it further up in the logs that might give more information on what went wrong?

[...]
> Configure project :expo-modules-core
Checking the license for package NDK (Side by side) 23.1.7779620 in /home/expo/Android/Sdk/licenses
License 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/licenses
License 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
[...]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.