mango33sg / react-native-samsung-health Goto Github PK
View Code? Open in Web Editor NEWReact Native bridge module for interacting with Samsung Health
License: The Unlicense
React Native bridge module for interacting with Samsung Health
License: The Unlicense
BUILD FAILED in 3s
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/home/parth/Reactnative/project/node_modules/react-native-samsung-health/android/src/main/java/com/reactnative/samsunghealth/SamsungHealthPackage.java:36: error: method does not override or implement a method from a supertype
@OverRide
^
1 error
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
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 3s
at checkExecSyncError (child_process.js:601:13)
at execFileSync (child_process.js:621:13)
at runOnAllDevices (/home/parth/Reactnative/project/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:74:39)
at buildAndRun (/home/parth/Reactnative/project/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:158:41)
at then.result (/home/parth/Reactnative/project/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:125:12)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Able to fetch steps count and calories value but not getting distance value.
Hi, thanks for the package. I am getting an error while trying to run on android.
My device is galaxy s8.
SamsungHealthPackage.java:36: error: method does not override or implement a method from a supertype
Execution failed for task ':react-native-samsung-health:compileReleaseJavaWithJavac'.
i copy paste the code into a new project and this pops up.
Any thought ?
Task :app:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings
227 actionable tasks: 4 executed, 223 up-to-date
/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:118: error: constructor SamsungHealthPackage in class SamsungHealthPackage cannot be applied to given types;
new SamsungHealthPackage(),
^
required: String
found: no arguments
reason: actual and formal argument lists differ in length
1 error
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
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 26s
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:118: error: constructor SamsungHealthPackage in class SamsungHealthPackage cannot be applied to given types;
new SamsungHealthPackage(),
^
required: String
found: no arguments
reason: actual and formal argument lists differ in length
1 error
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
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 26s
at checkExecSyncError (child_process.js:629:11)
at execFileSync (child_process.js:647:13)
at runOnAllDevices (/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
at buildAndRun (/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:179:41)
at then.result (/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:133:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
I am receiving this error after installing, manually linking, and trying to run app on android device. I am using RN 0.47.2
It seems to be coming from this code:
@Override public List<Class<? extends JavaScriptModule>> createJSModules() { return Collections.emptyList(); }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.