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] #1851 build error #1956

Closed
pedrolopes10 opened this issue Jan 10, 2018 · 6 comments
Closed

[ANDROID] #1851 build error #1956

pedrolopes10 opened this issue Jan 10, 2018 · 6 comments

Comments

@pedrolopes10
Copy link

pedrolopes10 commented Jan 10, 2018

After updating for commit #1851 throws an error when building:

AirMapModule.java:205: error: cannot find symbol
WritableMap coordJson = new WritableNativeMap();
^
symbol: class WritableMap

Environment

react-native: 0.52.0
react: 16.2.0
react-native-maps: "git+ssh://git@github.com/react-community/react-native-maps.git"

Steps to Reproduce

npm update
react-native run-android

@danielgindi & @rborn

Thanks

@rborn
Copy link
Collaborator

rborn commented Jan 10, 2018

@pedrolopes10 please update the issue following the template and I'll reopen it.

@rborn rborn closed this as completed Jan 10, 2018
@pedrolopes10 pedrolopes10 changed the title #1851 build error [ANDROID] #1851 build error Jan 10, 2018
@rborn rborn reopened this Jan 10, 2018
@rborn
Copy link
Collaborator

rborn commented Jan 10, 2018

@danielgindi can you have a look at this one? Thnx

@vendramini
Copy link
Contributor

Same here. Adding import com.facebook.react.bridge.WritableMap; on AirMapModule.java and problem solved.

@rborn
Copy link
Collaborator

rborn commented Jan 10, 2018

@vendramini mind a PR?

@vendramini
Copy link
Contributor

vendramini commented Jan 10, 2018

#1958 done.

@rborn
Copy link
Collaborator

rborn commented Jan 11, 2018

#1958 merged, closing

@rborn rborn closed this as completed Jan 11, 2018
This issue was closed.
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

3 participants