-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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: Unable to build app in React native version 0.59.9 #25294
Comments
i am having same issue android.support.v4.app.INotificationSideChannel$Stub$Proxy |
I'm having the same issue despite doing nothing (no new packages and recently didn't execute react native link). |
Seeing the same thing with 0.59.8, worked till yesterday. No dependency changes since then. |
Same for me. My build worked until yesterday and now without any changes I have
It seems this is tied to google update https://developers.google.com/android/guides/releases but I don't know how to correct this problem |
i have same problem |
how to resolve it ??? |
Can confirm, haven't found solution yet. If following added to manifest
then gradle can't resolve androidx dependencies for packages like Also tried to run |
@remarcus same issue here |
seem here,
After doing this, will cause some other problem, add after
some library(react-native-i18n) will show error |
It looks like two things seems to happen (maybe for the same reason) On versions
I get following error (looks to be the same as in the original post)
On version
I get a error message that suggest to add something to the Manifest as seen in some other comments.
|
For me the problem does not occur on a fresh new react-native project. After adding my dependencies one at a time I found that it was |
Same for me. It was working few hours ago and now i'm getting
Tried updating manifest. |
thanks, i use "[email protected]" , then update 2.1.2 the problem is gone. |
Thank you so much, my app is building again after this change. |
|
@ComicScrip I started with a fresh new react-native app and tried to app the dependencies of my app one at a time and check when the |
|
so amazing,got it~ |
hey everyone - this seems to not be strictly caused by React Native itself, but some third party dependency that you may have installed. In particular, it seems to me that it's on Gradle side (we've seen similar issues in the past). I'll close this - and reopen someone can provide a repro of a clean react-native init'd project on 0.59.9 failing consistently. But if you want to help, please comment ahead - I'm not planning to lock this until it spins out of control - and add new details that you may notice/find 🤗 I'll also reach out to the other RNCommunity maintainers to ask for help - as soon as we have a reliable understanding of what's going on & a workaround, I'll update the top post with it. As always, please refrain from posting useless comments like "happens to me to/+1/etc. You can use the reactions to signal the extent of the issue. |
Thanks @scesbron
Then I change Note: when upgrading |
Ok it seems to be related to google releasing a new version of their Play Service: please refer to this comment. EDIT: locking this so that we will use the other issue for further comments. |
React Native version:
"react": "^16.8.3",
"react-native": "^0.59.9",
Platform : Android
buildToolsVersion = "27.0.3"
minSdkVersion = 19
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
Building app on android before today is still working fine. but today suddenly got issues
So, upgrade to sdk version but keep getting new issues
Android sdk and libraries version:
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
D8: Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy
Steps To Reproduce
Describe what you expected to happen:
Snack, code example, or link to a repository:
The text was updated successfully, but these errors were encountered: