Giter Site home page Giter Site logo

Comments (7)

vineethdas avatar vineethdas commented on July 26, 2024 1

Was able to fix the issue changing the below code, and bring up the application!

ReadableNativeMap state = stateWrapper.getStateData();
For some versions of react-native-animateable-text, 'getState' doesn't work.
So have to change it accordingly.

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

Fixed it by commenting the release block on build.gradle file!!

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

Got another error:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':react-native-vision-camera'.

com.android.builder.errors.EvalIssueException: NDK at C:\xxxxx\Local\Android\Sdk\ndk\20.1.5948944 did not have a source.properties file

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 47s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

Fixed it by updating the ndkVersion = "21.3.6528147" on build.gradle!

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

Now getting the below error :

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-vision-camera:externalNativeBuildDebug'.

Build command failed.
Error while executing process C:\xxx\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C C:\Users\vinee\Documents\vision_camera\Colorwaver\node_modules\react-native-vision-camera\android.cxx\cmake\debug\armeabi-v7a VisionCamera}
ninja: Entering directory `C:\Usersxxx\Documents\vision_camera\Colorwaver\node_modules\react-native-vision-camera\android.cxx\cmake\debug\armeabi-v7a'

ninja: error: '../../../../build/third-party-ndk/hermes/jni/armeabi-v7a/libhermes.so', needed by '../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libVisionCamera.so', missing and no known rule to make it

  • 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.

  • Get more help at https://help.gradle.org

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

The above error was fixed using the solutions found at https://stackoverflow.com/questions/57036317/react-native-java-lang-unsatisfiedlinkerror-couldnt-find-dso-to-load-libherm

from colorwaver.

vineethdas avatar vineethdas commented on July 26, 2024

Got the next error as :

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
C:\Users\xxx\Documents\vision_camera\Colorwaver\node_modules\react-native-animateable-text\android\src\main\java\com\reactnativereanimatedtext\JBTextViewManager.java:96: error: cannot find symbol
ReadableNativeMap state = stateWrapper.getState();
^
symbol: method getState()
location: variable stateWrapper of type com.facebook.react.uimanager.StateWrapper
Note: C:\Users\xxx\Documents\vision_camera\Colorwaver\node_modules\react-native-animateable-text\android\src\main\java\com\reactnativereanimatedtext\JBTextShadowNode.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

from colorwaver.

Related Issues (7)

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.