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

RN 59.x - AndroidX libraries cannot be found #126

Closed
jeveloper opened this issue Jul 11, 2019 · 5 comments
Closed

RN 59.x - AndroidX libraries cannot be found #126

jeveloper opened this issue Jul 11, 2019 · 5 comments

Comments

@jeveloper
Copy link

Fairly general question

What is causing these errors:

cannot find symbol on all androidx imports

Java 10, Gradle build version 3.4.1 , RN 0.59.10

Thanks!

@jannainm
Copy link

Not sure this really helps anyone but I was not able to build with 1.0.0-alpha.23 so in my package.json I pinned it to version 22 specifically for now, "react-native-screens": "1.0.0-alpha.22". I'm also on RN 0.59.10 and I believe we need to be on 0.60 for android x supported libs.

@jhoanborges
Copy link

@jannainm a downgrade to "react-native-screens": "1.0.0-alpha.22" did the trick thank you

@thekevinbrown
Copy link

I didn't have react-native-screens as a direct dependency, so I ran

$ npm i [email protected] --save-exact

and am now able to build.

@scerelli
Copy link

scerelli commented Aug 2, 2019

try this

yarn add --dev jetify
then in your package.json scripts add:
"postinstall": "jetify"
then yarn jetify

then build

@WoLewicki
Copy link
Member

It looks like the issue is outdated, I am closing it then. Feel free to comment if I am wrong.

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

6 participants