-
Notifications
You must be signed in to change notification settings - Fork 810
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 Builds Fail Could not find method compile() for arguments [project ':react-native-orientation'] #412
Comments
I am suffering from this problem too after following the
|
@NLanese see here for Expo's package which might tackle your needs. This package seems dead since 2018 unfortunately. https://docs.expo.dev/versions/latest/sdk/screen-orientation/ |
I changed the word compile to implementation like this :: implementation "com.facebook.react:react-native:+" |
go to package in node_modules and then go to android/build.gradle node_modules>react-native-orientation>android>build.gradle |
The last PR that was mentioned this issue is the #430 |
After following all of the manual linking instructions, I am unable to build or run the app as a whole on any Android Devices (iOS works fine)
React Native has moved away from
npx react-native link
meaning the instructions for auto-linking no longer seem to apply, yet there's a lot of issues getting this to work on Android.The text was updated successfully, but these errors were encountered: