React-native-navigation: Execution failed for task ':react-native-navigation:compileReactNative57DebugJavaWithJavac'.

Created on 4 Oct 2018  ·  12Comments  ·  Source: wix/react-native-navigation

Issue Description

Please follow the below Thread

https://github.com/wix/react-native-navigation/pull/3851

and

https://stackoverflow.com/questions/52624652/wix-react-native-navigation-v2-rn57-support

Environment

questiostack overflow

Most helpful comment

+1 I have the same problem

All 12 comments

Maybe bcoz react-native-navigation does not support RN 0.57 yet?

i had the same issue. haven't fixed yet. :(

+1 I have the same problem

I too have the same problem

Maybe bcoz react-native-navigation does not support RN 0.57 yet?

that works on RN 57, some people are running that with react native 57 version @rommyarb

@pankajgupta1
I read it here
_"RNN only support react-native 0.51 ("reactNative51"), 0.55 ("reactNative55"), and 0.56 ("reactNative56")"_

Edit:
Now RNN supports RN 0.57 and above.

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation tag.

+1 with this issue. Downgrade react native to 0.57 can fix, but seriously, I don't want to do that.

Why was this closed? there should be 0.58 support.

Any update about it?

I think its all about missingDimensionStrategy

Important note about missingDimensionStrategy

reactNative51 - RN 0.54.x and below
reactNative55 - RN 0.55.x
reactNative56 - RN 0.56.x
reactNative57 - RN 0.57.0 - 0.57.4
reactNative57_5 - RN 0.57.5 and above

I read it here

I upgraded the RN version with RN0.59.1 since android build need to support 64bit architecture.

https://developer.android.com/distribute/best-practices/develop/64-bit

So I changed the defaultConfig following the install guide for RN 0.57.5 and above

defaultConfig {
applicationId "com.mobileticketingapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5" // See note below!
versionCode 3
versionName "1.3"
ndk {
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}

But I still see the same issue (react-native-navigation:compileReactNative57_5ReleaseJavaWithJavac) with RNN 2.26.5 during the release build

How can I resolve this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhanguangao picture zhanguangao  ·  3Comments

viper4595 picture viper4595  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments

swingywc picture swingywc  ·  3Comments

nbolender picture nbolender  ·  3Comments