-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to build Android debug build #8
Comments
@GaddiSunshine now you can upgrade, we've just released The first path from the snippet provided is |
Thanks for the reply. I tried the new versions. Versions:
With these versions I still have the same problem:
I have not added anything manually as the android folder is generated by expo in a managed workflow. |
@GaddiSunshine could you please try the Sync project with gradle files option with the Android project? |
Hey @vladd-g I have tried cleaning, syncing, prebuilding, building and everything. When I have the @adapty/react-native-ui installed, I always get the same error when building an android debug build. |
I tried upgrading to the following packages:
Still getting the same errors while trying to build android debug build. |
@GaddiSunshine did you try prebuilding? But please be careful,
As far as I can see, the expo is aware of custom maven path from the main Adapty SDK (the first path in the list in your snippet), but isn't aware of that from the AdaptyUI SDK. Looks like it needs rebuilding or something |
Yes, I have tried prebuilding. I have removed and prebuilt/built the android folder again multiple times. I have done gradle clean and gradle sync. Nothing is working. Every time |
Well, as a temporary solution, you can add it manually to your android module's |
Hey @vladd-g Thanks for all the replies. It turned out to be a similar issue to this one. I was able to do this workaround. Now I am able to build and everything works as expected. |
Hey @GaddiSunshine, happy to hear that! And thanks for sharing! |
@GaddiSunshine also please update "react-native-adapty" to "2.9.6" |
Unable to build an android debug build with the package
"@adapty/react-native-ui": "2.0.1"
. Building a release build works.When I remove the
@adapty/react-native-ui
package, then the build works.Platform:
Versions:
The text was updated successfully, but these errors were encountered: