Giter VIP home page Giter VIP logo

Comments (2)

VictorDev200 avatar VictorDev200 commented on June 2, 2024

Same to me on Gradle 8.0.1:

  • What went wrong:
    Some problems were found with the configuration of task ':react-native-voice_voice:packageDebugResources' (type 'MergeResources').
    • Gradle detected a problem with the following location: 'node_modules@react-native-voice\voice\android\build\generated\res\rs\debug'.

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

      Possible solutions:

      1. Declare task ':@react-native-voice_voice:compileDebugRenderscript' as an input of ':react-native-voice_voice:packageDebugResources'.
      2. Declare an explicit dependency on ':@react-native-voice_voice:compileDebugRenderscript' from ':react-native-voice_voice:packageDebugResources' using Task#dependsOn.
      3. Declare an explicit dependency on ':@react-native-voice_voice:compileDebugRenderscript' from ':react-native-voice_voice:packageDebugResources' using Task#mustRunAfter.

      Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

    • Gradle detected a problem with the following location: 'node_modules@react-native-voice\voice\android\build\generated\res\resValues\debug'.

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

      Possible solutions:

      1. Declare task ':@react-native-voice_voice:generateDebugResValues' as an input of ':react-native-voice_voice:packageDebugResources'.
      2. Declare an explicit dependency on ':@react-native-voice_voice:generateDebugResValues' from ':react-native-voice_voice:packageDebugResources' using Task#dependsOn.
      3. Declare an explicit dependency on ':@react-native-voice_voice:generateDebugResValues' from ':react-native-voice_voice:packageDebugResources' using Task#mustRunAfter.

      Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

from voice.

VictorDev200 avatar VictorDev200 commented on June 2, 2024

@socialmad I think I have a solution, do npm install react-native-voice and run the app, avoid doing the manual linking steps, it breaks the app. so just npm install should work

from voice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.