Expo SDK 42 to 43 Android Error

Please provide the following:

  1. SDK Version: 443
  2. Platforms(Android/iOS/web/all): Android

Hi am trying to upgrade sdk 42 to 43 and receive the following error:

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDevDebug -PreactNativeDevServerPort=8081

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/praveenjayarajan/Documents/payright/customer-app/node_modules/expo-application/android/build.gradle' line: 33

* What went wrong:
A problem occurred evaluating project ':expo'.
> A problem occurred configuring project ':expo-application'.
   > Could not get unknown property 'release' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.

* Try:
Run 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':expo'.
> compileSdkVersion is not specified.

* Try:
Run 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.
==============================================================================

Any ideas why this could be?

Regards,

PJ.

Anyone able to assist? @wkozyra @notbrent

Is this managed or bare?

How are you building the app?

What do you get if you run expo doctor?

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