Comments (7)
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.
Fixed it by commenting the release block on build.gradle file!!
from colorwaver.
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.
Fixed it by updating the ndkVersion = "21.3.6528147" on build.gradle!
from colorwaver.
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.
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.
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)
- "Attempting to assign to readonly property" when using color interpolation
- "Tried to clone a value backed by a different Runtime" on Hermes/iOS HOT 1
- Error when generating using npx react-native run-android --variant=release HOT 2
- great job, plz provide more example
- Thanks for sharing.
- Gradle-build error while try-android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorwaver.