Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build failed on react-native 0.54.2 #25

Open
kitchenSpoon opened this issue Mar 23, 2018 · 9 comments
Open

Android build failed on react-native 0.54.2 #25

kitchenSpoon opened this issue Mar 23, 2018 · 9 comments

Comments

@kitchenSpoon
Copy link

kitchenSpoon commented Mar 23, 2018

Hey guys, I've just upgrade react-native to 0.54.2 and its giving me a compilation error on Android
This seems to be hapening on v1.1.1 of react-native-newrelic

RNUtils.java:43: error: incompatible types: ReadableArray cannot be converted to ReadableNativeArray hashMap.put(key, toArrayList(readableNativeMap.getArray(key)));

@Clawg
Copy link

Clawg commented Apr 28, 2018

Same error on 0.55.3

@eleretic
Copy link

Fixed in #28

@ManuMorenoGonzalez
Copy link

Same error on 0.55.4, for us isn't a solution to modify the RNUtils.java file, because we modify this file every time we do npm install.

@eleretic
Copy link

@ManuMorenoGonzalez , fork my repo then change this line in your package.json:
"react-native-newrelic": "^1.1.1",
to:
"react-native-newrelic": "git+ssh://[email protected]/YOURUSERNAME/react-native-newrelic.git",

That way your npm install will work

@mikebridge
Copy link

Any plans to merge this?

@enoler
Copy link

enoler commented Nov 28, 2018

Same prolem with 0.57.4.

It will be a solution?

@eleretic
Copy link

Same prolem with 0.57.4.

It will be a solution?

You should try it, it most likely is the same fix

@han8909227
Copy link

Please merge #28 if that's a fix

@nisargdesai15
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants