-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: reference to reject is ambiguous #30
Comments
Same here. Changing all However, got a new error:
My workaround is replacing the line 34 |
@compski @maxhis
|
Still not fixed, checked 1.2.2. I can confirm what @maxhis did works |
Please run |
Line 34 is still the same. Tried it on my local machine and it works as suggested by @maxhis . if (option.hasKey(TIMEOUT_KEY)) { |
Could you please tell which version version you use? |
"react-native-ping": "^1.2.2", |
Ah yes, my lock.json had the wrong version. Sorry for the misunderstanding! Thank you for quick responses |
BUILD FAILED in 5s
15 actionable tasks: 12 executed, 3 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
C:\Users\username\Documents\JS projects\pingtest>react-native run-android
info Starting JS server...
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-ping:compileDebugJavaWithJavac'.
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 7s
15 actionable tasks: 1 executed, 14 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.
The text was updated successfully, but these errors were encountered: