purchases-android icon indicating copy to clipboard operation
purchases-android copied to clipboard

Can't build my android project

Open RohovDmytro opened this issue 1 year ago • 5 comments

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

RohovDmytro avatar Jul 11 '24 16:07 RohovDmytro

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

RCGitBot avatar Jul 11 '24 16:07 RCGitBot

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

rglanz-rc avatar Jul 15 '24 13:07 rglanz-rc

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

RohovDmytro avatar Jul 19 '24 00:07 RohovDmytro

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

rglanz-rc avatar Jul 19 '24 17:07 rglanz-rc

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

RohovDmytro avatar Aug 14 '24 22:08 RohovDmytro

This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.

github-actions[bot] avatar Dec 11 '24 00:12 github-actions[bot]