【发布时间】:2022-08-10 04:51:39
【问题描述】:
android 应用程序设置中面临的错误问题
1: Task failed with an exception.
-----------
* Where:
Build file \'/Users/rover/Desktop/appflow/node_modules/react-native-static-server/android/build.gradle\' line: 23
* What went wrong:
A problem occurred evaluating project \':react-native-static-server\'.
> 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 \':react-native-static-server\'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
在模拟器上安装应用程序时,我在 android 上收到此错误。检查了一些在线答案,但无法解决。
标签: react-native