简体   繁体   English

我无法在我的模拟器上运行这个应用程序有人可以帮助我吗

[英]i cant run this app on my emulator CAN someone help me

Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details启动一个 Gradle 守护进程,无法重用 2 个不兼容的守护进程,使用 --status 获取详细信息

Configure project:app WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.配置项目:应用程序警告:配置“compile”已过时,已被“implementation”和“api”取代。 It will be removed soon.它将很快被删除。 For more information see: http://d.android.com/r/tools/update-dependency-configurations.html有关详细信息,请参阅: http://d.android.com/r/tools/update-dependency-configurations.html

Configure project:react-native-check-app-install WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.配置项目:react-native-check-app-install 警告:配置“compile”已过时,已被“implementation”和“api”取代。 It will be removed soon.它将很快被删除。 For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.2.有关详细信息,请参阅: http://d.android.com/r/tools/update-dependency-configurations.html警告:指定的 Android SDK 构建工具版本 (23.0.1) 被忽略,因为它低于支持的最低版本Android Gradle 插件 3.5.2 的版本 (28.0.3)。 Android SDK Build Tools 28.0.3 will be used. Android SDK 将使用构建工具 28.0.3。 To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.要抑制此警告,请从 build.gradle 文件中删除“buildToolsVersion '23.0.1'”,因为 Android Gradle 插件的每个版本现在都有构建工具的默认版本。

Task:react-native-community_async-storage:compileDebugJavaWithJavac任务:react-native-community_async-storage:compileDebugJavaWithJavac

Task:react-native-community_masked-view:compileDebugJavaWithJavac任务:react-native-community_masked-view:compileDebugJavaWithJavac

Task:react-native-community_picker:compileDebugJavaWithJavac任务:react-native-community_picker:compileDebugJavaWithJavac

Task:react-native-community_datetimepicker:compileDebugJavaWithJavac任务:react-native-community_datetimepicker:compileDebugJavaWithJavac

Task:react-native-gesture-handler:compileDebugJavaWithJavac任务:反应本机手势处理程序:compileDebugJavaWithJavac

Task:react-native-push-notification:compileDebugJavaWithJavac任务:react-native-push-notification:compileDebugJavaWithJavac

Task:react-native-linear-gradient:compileDebugJavaWithJavac任务:react-native-linear-gradient:compileDebugJavaWithJavac

Task:react-native-vector-icons:compileDebugJavaWithJavac任务:react-native-vector-icons:compileDebugJavaWithJavac

Task:app:processDebugGoogleServices Parsing json file: C:\coding\App\storyqube-frontend\android\app\google-services.json任务:app:processDebugGoogleServices 解析json 文件:C:\coding\App\storyqube-frontend\android\app\google-services.json

Task:react-native-check-app-install:compileDebugJavaWithJavac任务:react-native-check-app-install:compileDebugJavaWithJavac

Task:react-native-screens:compileDebugJavaWithJavac任务:反应本机屏幕:compileDebugJavaWithJavac

Task:react-native-sound:compileDebugJavaWithJavac任务:反应本机声音:compileDebugJavaWithJavac

Task:react-native-safe-area-context:compileDebugJavaWithJavac任务:react-native-safe-area-context:compileDebugJavaWithJavac

Task:react-native-svg:compileDebugJavaWithJavac任务:react-native-svg:compileDebugJavaWithJavac

Task:react-native-webview:compileDebugJavaWithJavac任务:react-native-webview:compileDebugJavaWithJavac

Task:react-native-voice_voice:compileDebugJavaWithJavac任务:react-native-voice_voice:compileDebugJavaWithJavac

Task:app:processDebugResources FAILED任务:应用程序:processDebugResources 失败

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.此版本中使用了已弃用的 Gradle 功能,使其与 Gradle 7.0 不兼容。 Use '--warning-mode all' to show the individual deprecation warnings.使用“--warning-mode all”来显示各个弃用警告。 See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings 246 actionable tasks: 246 executed warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.请参阅https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings 246 个可操作任务:246 个已执行警告:[选项] 源值 7 已过时,将在未来版本警告中删除:[选项] 目标值 7 已过时,将在未来的版本警告中删除:[options] 要抑制有关过时选项的警告,请使用 -Xlint:-options。 Note: C:\coding\App\storyqube-frontend\node_modules@react-native-community\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules@react-native-community\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.java 使用或覆盖已弃用的 881000512。Note13388 :使用 -Xlint:deprecation 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:某些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-gesture-handler\android\src\main\java\com\swmansion\gesturehandler\react\RNGestureHandlerButtonViewManager.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-gesture-handler\android\src\main\java\com\swmansion\gesturehandler\react\RNGestureHandlerButtonViewManager.java 使用或覆盖已弃用的 API。 :使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: Some input files use unchecked or unsafe operations.注意:某些输入文件使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotificationHelper.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotificationHelper.java 使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java uses unchecked or unsafe operations.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java 使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:某些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: Some input files use unchecked or unsafe operations.注意:某些输入文件使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-sound\android\src\main\java\com\zmxv\RNSound\RNSoundModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-sound\android\src\main\java\com\zmxv\RNSound\RNSoundModule.java 使用或覆盖已弃用的 API。注意:重新编译 - Xlint:deprecation 了解详情。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 3 个警告注意:一些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-webview\android\src\main\java\com\reactnativecommunity\webview\RNCWebViewManager.java uses unchecked or unsafe operations.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-webview\android\src\main\java\com\reactnativecommunity\webview\RNCWebViewManager.java 使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.警告:[options] 源值 7 已过时,将在未来版本中删除 警告:[options] 目标值 7 已过时,将在未来版本中删除Xlint:-选项。 3 warnings 3 次警告

FAILURE: Build failed with an exception.失败:构建失败,出现异常。

  • What went wrong: Execution failed for task ':app:processDebugResources'.出了什么问题:任务 ':app:processDebugResources' 执行失败。

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\coding\App\storyqube-frontend\android\app\src\main\AndroidManifest.xml:13:5-71:19: AAPT: error: resource mipmap/storyqube (aka com.storyqube:mipmap/storyqube) not found. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\coding\App\storyqube-frontend\android\app\src\main\AndroidManifest.xml:13:5-71:19 :AAPT:错误:找不到资源 mipmap/storyqube(又名 com.storyqube:mipmap/storyqube)。

  • Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. Run with --scan to get full insights.使用 --info 或 --debug 选项运行以获取更多日志 output。使用 --scan 运行以获取完整的见解。

  • Get more help at https://help.gradle.orghttps://help.gradle.org获得更多帮助

BUILD FAILED in 41s 41 秒内构建失败

error Failed to install the app.错误无法安装应用程序。 Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup .确保您已设置 Android 开发环境: https://reactnative.dev/docs/environment-setup Run CLI with --verbose flag for more details.使用 --verbose 标志运行 CLI 以获取更多详细信息。 Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.错误:命令失败:gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 警告:[options] 源值 7 已过时,将在未来版本中删除 警告:[options] 目标值 7 已过时,将在未来删除发布警告:[选项] 要禁止有关过时选项的警告,请使用 -Xlint:-options。 Note: C:\coding\App\storyqube-frontend\node_modules@react-native-community\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules@react-native-community\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.java 使用或覆盖已弃用的 881000512。Note13388 :使用 -Xlint:deprecation 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:某些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-gesture-handler\android\src\main\java\com\swmansion\gesturehandler\react\RNGestureHandlerButtonViewManager.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-gesture-handler\android\src\main\java\com\swmansion\gesturehandler\react\RNGestureHandlerButtonViewManager.java 使用或覆盖已弃用的 API。 :使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: Some input files use unchecked or unsafe operations.注意:某些输入文件使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotificationHelper.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotificationHelper.java 使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java uses unchecked or unsafe operations.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java 使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:某些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: Some input files use unchecked or unsafe operations.注意:某些输入文件使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-sound\android\src\main\java\com\zmxv\RNSound\RNSoundModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-sound\android\src\main\java\com\zmxv\RNSound\RNSoundModule.java 使用或覆盖已弃用的 API。注意:重新编译 - Xlint:deprecation 了解详情。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 3 条警告 警告:[选项] 源值 7 已过时,将在未来的版本中删除 警告:[选项] 目标值 7 已过时,将在未来的版本中删除使用 -Xlint:-选项。 3 warnings Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 3 个警告注意:一些输入文件使用或覆盖已弃用的 API。注意:使用 -Xlint:deprecation 重新编译以获取详细信息。 Note: C:\coding\App\storyqube-frontend\node_modules\react-native-webview\android\src\main\java\com\reactnativecommunity\webview\RNCWebViewManager.java uses unchecked or unsafe operations.注意:C:\coding\App\storyqube-frontend\node_modules\react-native-webview\android\src\main\java\com\reactnativecommunity\webview\RNCWebViewManager.java 使用未经检查或不安全的操作。 Note: Recompile with -Xlint:unchecked for details.注意:使用 -Xlint:unchecked 重新编译以获取详细信息。 warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.警告:[options] 源值 7 已过时,将在未来版本中删除 警告:[options] 目标值 7 已过时,将在未来版本中删除Xlint:-选项。 3 warnings 3 次警告

FAILURE: Build failed with an exception.失败:构建失败,出现异常。

  • What went wrong: Execution failed for task ':app:processDebugResources'.出了什么问题:任务 ':app:processDebugResources' 执行失败。

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\coding\App\storyqube-frontend\android\app\src\main\AndroidManifest.xml:13:5-71:19: AAPT: error: resource mipmap/storyqube (aka com.storyqube:mipmap/storyqube) not found. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\coding\App\storyqube-frontend\android\app\src\main\AndroidManifest.xml:13:5-71:19 :AAPT:错误:找不到资源 mipmap/storyqube(又名 com.storyqube:mipmap/storyqube)。

  • Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output. Run with --scan to get full insights.使用 --info 或 --debug 选项运行以获取更多日志 output。使用 --scan 运行以获取完整的见解。

  • Get more help at https://help.gradle.orghttps://help.gradle.org获得更多帮助

BUILD FAILED in 41s 41 秒内构建失败

at makeError (C:\coding\App\storyqube-frontend\node_modules\execa\index.js:174:9)
at C:\coding\App\storyqube-frontend\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\coding\App\storyqube-frontend\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5)      
at async Command.handleAction (C:\coding\App\storyqube-frontend\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:9)

this is my log and I don't know whats wrong with my code but nothing is helping me这是我的日志,我不知道我的代码有什么问题,但没有任何帮助

As far as I can tell from your logs somewhere in your Android Manifest or your native android code you have called a resource mipmap/storyqube which comes from com.storyqube package. The build process fails because that file is simply not found.据我所知,从您的 Android 清单或您的本机 android 代码中某处的日志中,您调用了资源mipmap/storyqube ,它来自com.storyqube package。构建过程失败,因为根本找不到该文件。 Could you check to see if you have a reference to it in your code?你能检查一下你的代码中是否有对它的引用吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法在 android 工作室模拟器中运行我的应用程序构建 - I cant run my app build in android studio emulator 有人可以帮我处理全局变量吗? - can someone help me with my global variables? 我在使用 android studio 构建我的第一个 flutter 应用程序时遇到问题,几乎没有错误有人可以帮助我吗? - I am having issue building my first flutter app with android studio getting few errors can someone help me? 我的代码给了我这个错误有人可以帮助我吗 - my code is giving me this error can someone help me out 如何使用 flutter 开发集成 PDF 的应用程序? 请有人帮我制定路线图 - How can I develop a app using flutter with integrating a PDFs ? Pls someone help me with the roadmap 我一直在制作一个应用程序,希望为其所有呼叫维护私人呼叫日志。 有人可以帮我吗 - I have been making an app for which I want to maintain a private call log for all my calls. Can someone please help me out with this 有人可以帮忙吗,我无法获得此简单的评分功能 - Can someone please help, I cant get this simple scolling feature 有人可以帮助我使用这个文件夹字符串的应用程序吗? - Can someone help me with the App that uses this folder string? 有人可以帮助我修复我的Android AsyncTask吗? - can someone help me to fix my android AsyncTask? 我的应用程序无法在模拟器中运行..请帮帮我 - My app is not working in emulator..please help me out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM