yarn add 安装依赖包后,编译报如下错误,导致工程无法运行
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- build-system, mobile
Research direction
Start by inspecting node_modules/@uiw/react-native-alipay/android/build.gradle at line 23 and the surrounding Android build configuration, then reproduce the reported React Native Android build failure. Done means the project builds and runs without the missing Maven plugin or unspecified compileSdkVersion errors.
Written by the indexing model from the issue text.
Description
1: Task failed with an exception.
-
Where:
Build file 'D:\Project\xbov-dp-mobile\node_modules@uiw\react-native-alipay\android\build.gradle' line: 23 -
What went wrong:
A problem occurred evaluating project ':uiw_react-native-alipay'.
Plugin with id 'maven' not found.
- 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 ':uiw_react-native-alipay'.
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.
==============================================================================
- Get more help at https://help.gradle.org
BUILD FAILED in 14s
at makeError (D:\Project\xbov-dp-mobile\node_modules\execa\index.js:174:9)
at D:\Project\xbov-dp-mobile\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (D:\Project\xbov-dp-mobile\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (D:\Project\xbov-dp-mobile\node_modules\@react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
- Dominant language
- Java
- Stars
- 239
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-native-alipay
-
IOS调试时,包不支持模拟器调试Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
uiwjs/react-native-alipay#75 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
uiwjs/react-native-alipay#73 · 3 comments ·
-
Taro 能用吗?Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
uiwjs/react-native-alipay#72 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
uiwjs/react-native-alipay#71 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
uiwjs/react-native-alipay#70 · 1 comment ·
All issues in uiwjs/react-native-alipay
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
liberation-data/drivine4j#547 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts itPossibly taken @AkashB23 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
spring-cloud/spring-cloud-stream#3321 ·
Maintainers usually reply within 1 day
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Possibly taken @fishdry1000 claimed this 4 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
ai-driven-fuzzing bug claude Minor
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
linagora/twake-calendar-side-service#1333 ·
Maintainers usually reply within 1 day