adbayb / react-native-android-kit

:package: Android Native Kit for React-Native
MIT License
110 stars 20 forks source link

Build fails at 45% :react-native-android-kit:compileReleaseJavaWithJavac #17

Closed zjjt closed 8 years ago

zjjt commented 8 years ago

I am trying to buil an apk to test on my phone and it fails.Can you help me figure this out? here's my log:

cd android && ./gradlew :app:installDebug --stacktrace :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :react-native-android-kit:compileLint :react-native-android-kit:copyReleaseLint UP-TO-DATE :react-native-android-kit:preBuild UP-TO-DATE :react-native-android-kit:preReleaseBuild UP-TO-DATE :react-native-android-kit:checkReleaseManifest :react-native-android-kit:preDebugAndroidTestBuild UP-TO-DATE :react-native-android-kit:preDebugBuild UP-TO-DATE :react-native-android-kit:preDebugUnitTestBuild UP-TO-DATE :react-native-android-kit:preReleaseUnitTestBuild UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportDesign2340Library UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportRecyclerviewV72340Library UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportSupportV42340Library UP-TO-DATE :react-native-android-kit:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoDrawee0110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoFbcore0110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoFresco0110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoImagepipeline0110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoImagepipelineBase0110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookFrescoImagepipelineOkhttp30110Library UP-TO-DATE :react-native-android-kit:prepareComFacebookReactReactNative0320Library UP-TO-DATE :react-native-android-kit:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE :react-native-android-kit:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE :react-native-android-kit:prepareReleaseDependencies :react-native-android-kit:compileReleaseAidl UP-TO-DATE :react-native-android-kit:compileReleaseRenderscript UP-TO-DATE :react-native-android-kit:generateReleaseBuildConfig UP-TO-DATE :react-native-android-kit:generateReleaseAssets UP-TO-DATE :react-native-android-kit:mergeReleaseAssets UP-TO-DATE :react-native-android-kit:generateReleaseResValues UP-TO-DATE :react-native-android-kit:generateReleaseResources UP-TO-DATE :react-native-android-kit:mergeReleaseResources UP-TO-DATE :react-native-android-kit:processReleaseManifest UP-TO-DATE :react-native-android-kit:processReleaseResources UP-TO-DATE :react-native-android-kit:generateReleaseSources UP-TO-DATE :react-native-android-kit:processReleaseJavaRes UP-TO-DATE :react-native-android-kit:compileReleaseJavaWithJavac /Users/zehijeanjacquesthibaut/Desktop/TRIZ_DIGITAL/WEBAPPS_MOBILE_APPS/NSIA/NsiaVieMob/NsiaVieMobileApp/node_modules/react-native-android-kit/android/src/main/java/fr/ayoubdev/rnak/components/button/ButtonNode.java:10: error: ButtonNode is not abstract and does not override abstract method measure(CSSNodeAPI,float,CSSMeasureMode,float,CSSMeasureMode,MeasureOutput) in MeasureFunction public class ButtonNode extends LayoutShadowNode implements CSSNode.MeasureFunction { ^ /Users/zehijeanjacquesthibaut/Desktop/TRIZ_DIGITAL/WEBAPPS_MOBILE_APPS/NSIA/NsiaVieMob/NsiaVieMobileApp/node_modules/react-native-android-kit/android/src/main/java/fr/ayoubdev/rnak/components/button/ButtonNode.java:19: error: method does not override or implement a method from a supertype @Override ^ /Users/zehijeanjacquesthibaut/Desktop/TRIZ_DIGITAL/WEBAPPS_MOBILE_APPS/NSIA/NsiaVieMob/NsiaVieMobileApp/node_modules/react-native-android-kit/android/src/main/java/fr/ayoubdev/rnak/components/floatingbutton/FabNode.java:10: error: FabNode is not abstract and does not override abstract method measure(CSSNodeAPI,float,CSSMeasureMode,float,CSSMeasureMode,MeasureOutput) in MeasureFunction public class FabNode extends LayoutShadowNode implements CSSNode.MeasureFunction { ^ /Users/zehijeanjacquesthibaut/Desktop/TRIZ_DIGITAL/WEBAPPS_MOBILE_APPS/NSIA/NsiaVieMob/NsiaVieMobileApp/node_modules/react-native-android-kit/android/src/main/java/fr/ayoubdev/rnak/components/floatingbutton/FabNode.java:19: error: method does not override or implement a method from a supertype @Override ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors :react-native-android-kit:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 39.625 secs

adbayb commented 8 years ago

Fixed on v1.1.3 release (cf. 23ab5f77b176882674db4682b00b4a3df2636d3f commit)

zjjt commented 8 years ago

thanks i will try it out