-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Exception in thread "main" java.lang.IllegalArgumentException #830
Comments
I have resolved this issue by changing my SDK version from 27 to 26. And my Java version from 1.8 to 1.7. |
+1 here, same problem |
I too have this problem, and unfortunately I can't downgrade my Java to 1.7. Any ideas? |
As specified in this link: Prior to version 15 firebase and google-play-services, should have the same version, in our project we specified googlePlayServicesVersion to 11, but not firebaseVersion. Specifying the same version for both in android/build.gradle worked like a charm! |
Same issue. I'm using the v2 of react-native-navigation and I need to use java 1.8 and min sdk 19. Any ideas how solve this issue? I'm in a hurry to solve this. =[ |
@addMind-me which version of googlePlayservices and firebase are you using in your project ? If any of these versions are prior to 15 they need to be the same, as described here, if it's 11.2.0 for example, you need do this:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
Trying to compile my Android app with this package. Will not build. I have followed the Android installation guidelines to a T. Error only occurs when the changes from the Android installation guide are made, when I comment out those changes, the app builds fine, so the problem ONLY occurs when attempting to build the project with this package.
My app:
react-native: 0.55.4
react-native-push-notification 3.1.1
compileSdkVersion 27
buildToolsVersion '27.0.3'
Error from console (after running
react-native run-android
)android/settings.gradle
android/app/build.gradle
android/app/src/main/AndroidManifest.xml
android/app/src/main/java/com/{APP_NAME}/MainApplication.java
The text was updated successfully, but these errors were encountered: