【问题标题】:ERROR Installation @mauron85/react-native-background-geolocation错误安装@mauron85/react-native-background-geolocation
【发布时间】:2023-01-11 18:17:15
【问题描述】:

2 秒内构建失败

错误无法安装应用程序。确保您已设置 Android 开发环境:https://reactnative.dev/docs/environment-setup。 错误:命令失败:gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

失败:构建失败,出现异常。

  • 在哪里: 构建文件 'D:\FPT\TT\ggmap_tracking_realtime\android\app\build.gradle' 行:282

  • 什么地方出了错: 评估项目“:app”时出现问题。

在项目“:app”中找不到路径为“:@mauron85_react-native-background-geolocation”的项目。

  • 尝试:

使用 --stacktrace 选项运行以获取堆栈跟踪。 使用 --info 或 --debug 选项运行以获得更多日志输出。 使用 --scan 运行以获得完整的见解。

【问题讨论】:

    标签: javascript


    【解决方案1】:

    我尝试手动设置

    In android/settings.gradle
    
    In android/app/build.gradle
    
    Register the module (in MainApplication.java)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-10
      • 1970-01-01
      • 1970-01-01
      • 2016-05-24
      • 2016-12-12
      • 2020-12-15
      • 2021-02-06
      • 1970-01-01
      相关资源
      最近更新 更多