wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

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

Closed AGurindapalli closed 5 years ago

AGurindapalli commented 5 years ago

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

rommyarb commented 5 years ago

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

helloscoopa commented 5 years ago

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

pacozaa commented 5 years ago

+1 I have the same problem

pankajgupta1 commented 5 years ago

I too have the same problem

pankajgupta1 commented 5 years ago

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

rommyarb commented 5 years ago

@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.

support[bot] commented 5 years ago

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.

alanyong91 commented 5 years ago

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

L-Yeiser commented 5 years ago

Why was this closed? there should be 0.58 support.

pie6k commented 5 years ago

Any update about it?

M-Ali-B commented 5 years ago

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

jsdev90 commented 5 years ago

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?

ChurikiTenna commented 1 year ago

Same here