xinthink / react-native-material-kit

Bringing Material Design to React Native
https://rnmk.xinthink.com
MIT License
4.84k stars 576 forks source link

Build Issue for Android Devices #351

Open michaellatman opened 7 years ago

michaellatman commented 7 years ago

Build out below. Any ideas?

:react-native-material-kit:preBuild UP-TO-DATE
:react-native-material-kit:preReleaseBuild UP-TO-DATE
:react-native-material-kit:checkReleaseManifest
:react-native-material-kit:preDebugAndroidTestBuild UP-TO-DATE
:react-native-material-kit:preDebugBuild UP-TO-DATE
:react-native-material-kit:preDebugUnitTestBuild UP-TO-DATE
:react-native-material-kit:preReleaseUnitTestBuild UP-TO-DATE
:react-native-material-kit:prepareComAndroidSupportAppcompatV72301Library
:react-native-material-kit:prepareComAndroidSupportSupportV42301Library
:react-native-material-kit:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library
:react-native-material-kit:prepareComFacebookFrescoDrawee101Library
:react-native-material-kit:prepareComFacebookFrescoFbcore101Library
:react-native-material-kit:prepareComFacebookFrescoFresco101Library
:react-native-material-kit:prepareComFacebookFrescoImagepipeline101Library
:react-native-material-kit:prepareComFacebookFrescoImagepipelineBase101Library
:react-native-material-kit:prepareComFacebookFrescoImagepipelineOkhttp3101Library
:react-native-material-kit:prepareComFacebookReactReactNative0471Library
:react-native-material-kit:prepareComFacebookSoloaderSoloader010Library
:react-native-material-kit:prepareOrgWebkitAndroidJscR174650Library
:react-native-material-kit:prepareReleaseDependencies
:react-native-material-kit:compileReleaseAidl
:react-native-material-kit:compileReleaseNdk UP-TO-DATE
:react-native-material-kit:compileLint
:react-native-material-kit:copyReleaseLint UP-TO-DATE
:react-native-material-kit:compileReleaseRenderscript
:react-native-material-kit:generateReleaseBuildConfig
:react-native-material-kit:generateReleaseResValues
:react-native-material-kit:generateReleaseResources
:react-native-material-kit:mergeReleaseResources
:react-native-material-kit:processReleaseManifest
:react-native-material-kit:processReleaseResources
:react-native-material-kit:generateReleaseSources
:react-native-material-kit:incrementalReleaseJavaCompilationSafeguard
:react-native-material-kit:compileReleaseJavaWithJavac
:react-native-material-kit:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/mlatman/dev/rnative/mt/MissionSocialRN/node_modules/react-native-material-kit/android/src/main/java/com/github/xinthink/rnmk/ReactMaterialKitPackage.java:25: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /Users/mlatman/dev/rnative/mt/MissionSocialRN/node_modules/react-native-material-kit/android/src/main/java/com/github/xinthink/rnmk/widget/TickView.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:react-native-material-kit:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-material-kit:compileReleaseJavaWithJavac'.
> 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.

BUILD FAILED

Total time: 43.664 secs
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
Crash-- commented 7 years ago

which version of RN do you use?

yuriolive commented 7 years ago

Same here: react-native-cli: 2.0.1 react-native: 0.47.1 Java 8 Windows 10

michaellatman commented 7 years ago

react-native-cli: 2.0.1 react-native: 0.47.1

MacOS

CarlosDevlp commented 7 years ago

same error, react-native: ^0.46.1 Windows 7

tudor2it commented 7 years ago

Same error: "dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.47.1", "react-native-material-kit": "^0.4.1" }, "devDependencies": { "babel-jest": "20.0.3", "babel-preset-react-native": "^2.1.0", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12" }, "jest": { "preset": "react-native" }

npm -v: 3.10.10 node -v: v6.11.2 react-native -v react-native-cli: 2.0.1 react-native: 0.47.1

:react-native-material-kit:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have chang ed, no previous execution, etc.). D:\KEA\project\node_modules\react-native-material-kit\android\src\main\java\com\github\xinthink\rnmk \ReactMaterialKitPackage.java:25: error: method does not override or implement a method from a super type @Override ^ Note: D:\KEA\project\node_modules\react-native-material-kit\android\src\main\java\com\github\xinthin k\rnmk\widget\TickView.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error :react-native-material-kit:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

alexander-kucheryavenko commented 7 years ago

Hey guys, could you please resolve this issue with @override inside \node_modules\react-native-material-kit\android\src\main\java\com\github\xinthink\rnmk\ReactMaterialKitPackage.java:25. It would be really great if you could fix it, because for now it's impossible to use the latest your update with stable RN0.47. Many thanks!!!

mvsmal commented 7 years ago

+1

safaiyeh commented 7 years ago

https://github.com/xinthink/react-native-material-kit/pull/347

odinho commented 7 years ago

Yeah, this is fixed, but can we get a new release, so we don't have to do it manually?