SHARE
TWEET

Untitled

a guest Mar 26th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\prj\Nightly>react-native run-android
  2. info Starting JS server...
  3. info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
  4.  
  5. > Configure project :react-native-maps
  6. WARNING: The specified Android SDK Build Tools version (26.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1.
  7. Android SDK Build Tools 28.0.3 will be used.
  8. To suppress this warning, remove "buildToolsVersion '26.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
  9.  
  10. > Task :react-native-maps:compileDebugJavaWithJavac
  11. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapModule.java:18: error: cannot find symbol
  12. import com.facebook.react.uimanager.UIBlock;
  13.                                    ^
  14.   symbol:   class UIBlock
  15.   location: package com.facebook.react.uimanager
  16. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapView.java:127: error: getCurrentActivity() is not public in ReactContext; cannot be accessed from outside package
  17.     if (!contextHasBug(appContext.getCurrentActivity())) {
  18.                                  ^
  19. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapView.java:128: error: getCurrentActivity() is not public in ReactContext; cannot be accessed from outside package
  20.       superContext = appContext.getCurrentActivity();
  21.                                ^
  22. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapView.java:131: error: cannot find symbol
  23.       if (!contextHasBug(reactContext.getCurrentActivity())) {
  24.                                      ^
  25.   symbol:   method getCurrentActivity()
  26.   location: variable reactContext of type ThemedReactContext
  27. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapView.java:132: error: cannot find symbol
  28.         superContext = reactContext.getCurrentActivity();
  29.                                    ^
  30.   symbol:   method getCurrentActivity()
  31.   location: variable reactContext of type ThemedReactContext
  32. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\ViewAttacherGroup.java:23: error: cannot find symbol
  33.     this.setOverflow("hidden"); // Change to ViewProps.HIDDEN until RN 0.57 is base
  34.         ^
  35.   symbol: method setOverflow(String)
  36. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapMarkerManager.java:122: error: method does not override or implement a method from a supertype
  37.   @Override
  38.   ^
  39. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapMarkerManager.java:125: error: cannot find symbol
  40.     super.setZIndex(view, zIndex);
  41.          ^
  42.   symbol: method setZIndex(AirMapMarker,float)
  43. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapModule.java:89: error: cannot find symbol
  44.     uiManager.addUIBlock(new UIBlock() {
  45.                              ^
  46.   symbol:   class UIBlock
  47.   location: class AirMapModule
  48. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapModule.java:154: error: cannot find symbol
  49.     uiManager.addUIBlock(new UIBlock()
  50.                              ^
  51.   symbol:   class UIBlock
  52.   location: class AirMapModule
  53. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\AirMapModule.java:191: error: cannot find symbol
  54.     uiManager.addUIBlock(new UIBlock()
  55.                              ^
  56.   symbol:   class UIBlock
  57.   location: class AirMapModule
  58. C:\prj\Nightly\node_modules\react-native-maps\lib\android\src\main\java\com\airbnb\android\react\maps\RegionChangeEvent.java:15: error: no suitable constructor found for Event(int)
  59.     super(id);
  60.     ^
  61.     constructor Event.Event() is not applicable
  62.       (actual and formal argument lists differ in length)
  63.     constructor Event.Event(int,long) is not applicable
  64.       (actual and formal argument lists differ in length)
  65. Note: Some input files use or override a deprecated API.
  66. Note: Recompile with -Xlint:deprecation for details.
  67. Note: Some input files use unchecked or unsafe operations.
  68. Note: Recompile with -Xlint:unchecked for details.
  69. 12 errors
  70.  
  71. > Task :react-native-maps:compileDebugJavaWithJavac FAILED
  72.  
  73. FAILURE: Build failed with an exception.
  74.  
  75. * What went wrong:
  76. Execution failed for task ':react-native-maps:compileDebugJavaWithJavac'.
  77. > Compilation failed; see the compiler error output for details.
  78.  
  79. * Try:
  80. 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.
  81.  
  82. * Get more help at https://help.gradle.org
  83.  
  84. BUILD FAILED in 35s
  85. 15 actionable tasks: 13 executed, 2 up-to-date
  86. error Could not install the app on the device, read the error above for details.
  87. Make sure you have an Android emulator running or a device connected and have
  88. set up your Android development environment:
  89. https://facebook.github.io/react-native/docs/getting-started.html
  90. error Command failed: gradlew.bat app:installDebug
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top