-
Notifications
You must be signed in to change notification settings - Fork 68
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
fails to build Android with React Native 0.72.0 #286
Comments
Facing the same on this side, but that's using any of the HMS packages. 0.72.0 introduces the following change that triggers this (note the lack of version specified) classpath("com.android.tools.build:gradle") |
Hi, this is affecting us too. I cannot see any reasonable workaround as the AGCP plugin doesn't seem to be open source. We are probably gonna stop providing new updates for AppGallery users. |
Has anyone found a solution to this? |
I manage to build successfully with rn 0.72.5. package.json In root/gradle, I use this version
|
I tried with ads and location and its not working. It's critical for us to find solution for that or we will have to stop updating app inside huawei store. We use this 2 packages, already updated to the newest version:
Based on version changes it should work with rn72. I've tried add version to I've also tried with different agconnect versions but with no success: Before adding gradle version it's same error as in question:
After eg.
|
Finally after checking out this location integration example - which would nevertheless be nice to update based on the new app from create-app... I found mix that is building with success on our project:
package.json: |
Thanks for your response. Could you please tell me, what JDK version are you using? |
@bserrano27 |
i have the same issue :( |
Hi, I created a new vanilla project with react native 0.71.11 and added "@hmscore/react-native-hms-map"
Everything worked well.
However, after upgrading to React Native 0.72.0, the build fails on android and throw the following error
FAILURE: Build failed with an exception.
A problem occurred configuring project ':app'.
I also followed the given example from react-native-hms-map repo, still having this issues.
I suppose this isn't library bug but rather an issue with the new build system in general ?
here my full source code https://github.com/dhanazam/huaweiRN
thanks
The text was updated successfully, but these errors were encountered: