react-native-material-kit icon indicating copy to clipboard operation
react-native-material-kit copied to clipboard

Build Issue for Android Devices

Open michaellatman opened this issue 7 years ago • 9 comments

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

michaellatman avatar Aug 09 '17 18:08 michaellatman

which version of RN do you use?

Crash-- avatar Aug 11 '17 12:08 Crash--

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

yuriolive avatar Aug 12 '17 01:08 yuriolive

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

MacOS

michaellatman avatar Aug 12 '17 02:08 michaellatman

same error, react-native: ^0.46.1 Windows 7

CarlosDevlp avatar Aug 15 '17 02:08 CarlosDevlp

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.

  • What went wrong: Execution failed for task ':react-native-material-kit:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

tudor2it avatar Aug 18 '17 18:08 tudor2it

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!!!

alexander-kucheryavenko avatar Aug 24 '17 13:08 alexander-kucheryavenko

+1

mvsmal avatar Aug 24 '17 13:08 mvsmal

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

safaiyeh avatar Aug 30 '17 22:08 safaiyeh

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

odinho avatar Oct 16 '17 13:10 odinho