Skip to content

Error building React Android for React 0.72 #5

@Skullcan

Description

@Skullcan

Your Environment

  • Plugin version: 0.7.7
  • Platform: Android
  • OS version: Win 11
  • Device manufacturer and model:
  • Running in Simulator: Yes
  • React Native version: 0.72.4
  • Plugin configuration options:

Context

When building after installing the lib the compiler can't finish with an error.

Steps to Reproduce

  1. Start a RN 0.72 project.
  2. Install the lib.
  3. Run yarn android.

Debug logs


1: Task failed with an exception.

  • What went wrong:
    Some problems were found with the configuration of task ':mak12_react-native-background-geolocation:packageDebugResources' (type 'MergeResources').
    • Gradle detected a problem with the following location: 'E:\projetos\emifmobile\node_modules@mak12\react-native-background-geolocation\android\lib\build\generated\res\rs\debug'.

      Reason: Task ':mak12_react-native-background-geolocation:packageDebugResources' uses this output of task ':@mak12_react-native-background-geolocation:compileDebugRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.


2: Task failed with an exception.

  • What went wrong:
    Some problems were found with the configuration of task ':@mak12_react-native-background-geolocation:extractDeepLinksDebug' (type 'ExtractDeepLinksTask').
    • Gradle detected a problem with the following location: 'E:\projetos\emifmobile\node_modules@mak12\react-native-background-geolocation\android\lib\build\generated\res\rs\debug\navigation'.

      Reason: Task ':@mak12_react-native-background-geolocation:extractDeepLinksDebug' uses this output of task ':mak12_react-native-background-geolocation:compileDebugRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.


3: Task failed with an exception.

  • What went wrong:
    Some problems were found with the configuration of task ':mak12_react-native-background-geolocation:extractDeepLinksDebug' (type 'ExtractDeepLinksTask').
    • Gradle detected a problem with the following location: 'E:\projetos\emifmobile\node_modules@mak12\react-native-background-geolocation\android\lib\build\generated\res\rs\debug\navigation'.

      Reason: Task ':mak12_react-native-background-geolocation:extractDeepLinksDebug' uses this output of task ':@mak12_react-native-background-geolocation:compileDebugRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.


4: Task failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ':mak12_react-native-background-geolocation:packageDebugAssets' (type 'MergeSourceSetFolders').
    • Gradle detected a problem with the following location: 'E:\projetos\emifmobile\node_modules@mak12\react-native-background-geolocation\android\lib\build\intermediates\shader_assets\debug\out'.

      Reason: Task ':mak12_react-native-background-geolocation:packageDebugAssets' uses this output of task ':@mak12_react-native-background-geolocation:compileDebugShaders' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.


5: Task failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ':mak12_react-native-background-geolocation:copyDebugJniLibsProjectOnly' (type 'LibraryJniLibsTask').
    • Gradle detected a problem with the following location: 'E:\projetos\emifmobile\node_modules@mak12\react-native-background-geolocation\android\lib\build\intermediates\merged_native_libs\debug\out'.

      Reason: Task ':mak12_react-native-background-geolocation:copyDebugJniLibsProjectOnly' uses this output of task ':@mak12_react-native-background-geolocation:mergeDebugNativeLibs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions