最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

React nativ with expo go, error gradle > Could not set unknown property 'classifier' for task ':e

matteradmin2PV0评论

I try to build my project react nativ, on expo go, but i have this error graddle when i try to build it.

All my dependencies are up to date, and expo-ads-admob too

> Configure project :app
 ℹ️  Applying gradle plugin 'expo-dev-launcher-gradle-plugin' ([email protected])
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/home/expo/workingdir/build/node_modules/expo-ads-admob/android/build.gradle' line: 40
* What went wrong:
A problem occurred evaluating project ':expo-ads-admob'.
> Could not set unknown property 'classifier' for task ':expo-ads-admob:androidSourcesJar' of type .gradle.api.tasks.bundling.Jar.
* 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 .
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '/home/expo/workingdir/build/node_modules/expo-modules-core/android/ExpoModulesCorePlugin.gradle' line: 95
* What went wrong:
A problem occurred configuring project ':expo'.
>
Could not get unknown property 'release' for SoftwareComponent container of type .gradle.api.internalponent.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 
==============================================================================
BUILD FAILED in 1m 32s
18 actionable tasks: 18 execu

ted

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far