Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work on Expo 51 on Android #227

Open
andresespinosapc opened this issue Oct 8, 2024 · 2 comments
Open

It doesn't work on Expo 51 on Android #227

andresespinosapc opened this issue Oct 8, 2024 · 2 comments

Comments

@andresespinosapc
Copy link

When I try to add the dependency react-native-version-check-expo and build the app for Android (with Expo 51), it throws an error.

Here's the relevant build log:

> Configure project :app
 ℹ️  Applying gradle plugin 'expo-dev-launcher-gradle-plugin' ([email protected])
 ℹ️  Applying gradle plugin 'expo-updates-gradle-plugin' ([email protected])
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script '/home/expo/workingdir/build/mobile/node_modules/expo-modules-autolinking/scripts/android/autolinking_implementation.gradle' line: 408
* What went wrong:
A problem occurred evaluating project ':expo'.
> A problem occurred configuring project ':expo-localization'.
   > Failed to notify project evaluation listener.
      > compileSdkVersion is not specified. Please add it to build.gradle
      > Could not get unknown property 'release' for SoftwareComponent container 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.
> Get more help at https://help.gradle.org/.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '/home/expo/workingdir/build/mobile/node_modules/expo-modules-core/android/ExpoModulesCorePlugin.gradle' line: 85
* What went wrong:
A problem occurred configuring project ':expo'.
>
Could not get unknown property 'release' for SoftwareComponent container 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.
> Get more help at https://help.gradle.org.
==============================================================================
@MiguelBizzi
Copy link

MiguelBizzi commented Oct 26, 2024

I'm having the same issue! If you found a solution please tell me!

@Etaboada95
Copy link

I have the same issue and fix it installing expo-localization

npx expo install expo-localization

{ "expo": { "plugins": ["expo-localization"] } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants