Expo Bare Workflow SDK 46 failed to run in android

Please provide the following:

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

I created a new project using cli : npx create-expo-app --template bare-minimum.
and run the project straight away after, and get following error:

Configure project :expo-modules-core
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • Where:
    Script ‘/Users/eric/Projects_Folder/my-app/node_modules/expo-modules-autolinking/scripts/android/autolinking_implementation.gradle’ line: 272

  • What went wrong:
    A problem occurred evaluating project ‘:expo’.

A problem occurred configuring project ‘:expo-modules-core’.
Failed to notify project evaluation listener.
java.lang.RuntimeException: Unsupported ABI for NDK r19+: ARMEABI
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’.

com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle

  • 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.

Hi @ericlli

I’m not sure what’s going wrong there, but you might have more luck doing it the following way, since the EAS Build servers automatically “prebuild” every managed Expo app during the build process to generate the native projects, so it should definitely work:

$ npx create-expo-app your-app-name
$ cd your-app-name
$ npx expo prebuild

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