-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Description
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
:@segment/analytics-react-native:preBuild UP-TO-DATE
:@segment/analytics-react-native:preDebugBuild UP-TO-DATE
:@segment/analytics-react-native:compileDebugAidl UP-TO-DATE
:@segment/analytics-react-native:compileDebugRenderscript UP-TO-DATE
:@segment/analytics-react-native:checkDebugManifest UP-TO-DATE
:@segment/analytics-react-native:generateDebugBuildConfig UP-TO-DATE
:@segment/analytics-react-native:generateDebugResValues UP-TO-DATE
:@segment/analytics-react-native:generateDebugResources UP-TO-DATE
:@segment/analytics-react-native:packageDebugResources UP-TO-DATE
:@segment/analytics-react-native:platformAttrExtractor UP-TO-DATE
:@segment/analytics-react-native:processDebugManifest UP-TO-DATE
:@segment/analytics-react-native:generateDebugRFile UP-TO-DATE
:@segment/analytics-react-native:compileDebugKotline: E:\ReactNative\deleteme\facebook-rn-sample\node_modules\@segment\analytics-react-native\android\src\main\java\com\segment\analytics\reactnative\core\RNAnalyticsPackage.kt: (35, 110): No type arguments expected for class ReactShadowNode
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':@segment/analytics-react-native:compileDebugKotlin'.
> Compilation error. See log for more 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 5s
10 actionable tasks: 1 executed, 9 up-to-date
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/android-setup.html
I tried integrating Segment.io react native but got this build error for the kotlin class
Metadata
Metadata
Assignees
Labels
No labels