-
Notifications
You must be signed in to change notification settings - Fork 3
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
Can't assemble
with React Native 0.73 (only bundle
works)
#85
Comments
Hello @denis-rift Thank you for the report, it seems to be an issue with Android R8 plugin from Google Can you try this new version an let me know please? |
Hello @kherembourg , Still the same error after updated to 4.2.2 with Thanks |
Arf :( It is an issue from Google AGP so there is nothing much I can do really I think I did however added freeCompilerArgs = listOf("-Xstring-concat=inline") to the build.gradle file Can you try to set this in your app/build.gradle file ?
If I understand correctly, you are not able to compile with R8 enabled so for a release build right? |
kherembourg In fact, R8 is still disabled with |
@denis-rift Ok thanks, I have been able to replicate the issue with our example project on this repository Indeed, when I use the command Unfortunately, I have no idea how to fix it. It is entirely related to Android and not the SDK I will continue to investigate but I don't understand why the solution confirmed in the issue tracker is not working here |
Ok thanks @kherembourg Please, keep me uptodate if you find something :) |
For following, bugnsag has a similar (but a bit different) issue with AGP 8: |
I cannot add anything to the discussion beside saying that I also have this problem. I don't understand any of Android code. That being said: purchasely is the only of over 50 libraries in my project that has this problem :-(. |
Hello @denis-rift Indeed, with Android Gradle Plugin 8.+, ReactNative is obfuscating the native modules... and Purchasely Module had obfuscation enabled On my side, everything works fine now @RRaideRR thank you for the report, the fix will be available tomorrow around 4pm CET with version 4.2.3 |
I can confirm it is working now :-). Thanks for the quick fix Kevin! |
Indeed, works fine. Thanks @kherembourg ! |
Getting the error
when trying to assemble an android build.
But creating a bundle works fine...
Tried with:
The text was updated successfully, but these errors were encountered: