RevenueCat / purchases-android

Android in-app purchases and subscriptions made easy.
https://www.revenuecat.com/
MIT License
245 stars 48 forks source link

Can't build my android project #1781

Open RohovDmytro opened 1 month ago

RohovDmytro commented 1 month ago

After upgrade to the latest version:

ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.

Classes that weren't resolved:
> com.google.common.util.concurrent.ListenableFuture
> com.amazon.device.iap.model.Receipt
> com.amazon.device.iap.model.RequestId
> javax.naming.NamingException
> javax.naming.directory.Attributes
> androidx.appcompat.view.ContextThemeWrapper
> sun.misc.Unsafe

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
RCGitBot commented 1 month ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

rglanz-rc commented 1 month ago

Hi, happy to help here. Just curious, does this happen with a Gradle 8.x version, or just 9?

RohovDmytro commented 1 month ago

Can't test that, I'm locked to use the latest one.

rglanz-rc commented 1 month ago

Are you building on Android (or using Expo, etc)? I'm unclear if RC is actually the one raising this issue.

RohovDmytro commented 3 weeks ago

It's an expo app. The issue has appeared again after bumping react native to 0.75.0