Я веду проект, управляемый выставкой. Сборка приложения для iOS работает нормально, но для Android все еще не удалось. Глядя на ошибку при локальной сборке с помощью Android, кажется, что проблема связана с полосой, но я не знаю, как ее решить, поскольку все работает хорошо, когда я запускаю на физическом устройстве. ниже приведена ошибка в терминале.
[RUN_GRADLEW] > Task :app:minifyReleaseWithR8 FAILED
[RUN_GRADLEW] ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /tmp/paulin/eas-build-local-nodejs/a32037e6-c759-....c6063c1be96d/build/android/app/build/outputs/mapping/release/missing_rules.txt.
[RUN_GRADLEW] ERROR: R8: Missing class com.stripe.android.pushProvisioning.PushProvisioningActivity$g (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent))
[RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Args (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider))
[RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Error (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent))
[RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider))
[RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningEphemeralKeyProvider (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider) and 1 other context)
[RUN_GRADLEW] > Task :realm:buildCMakeRelease[arm64-v8a][realm-js-android-binding]
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Execution failed for task ':app:minifyReleaseWithR8'.
[RUN_GRADLEW] > A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
[RUN_GRADLEW] > Compilation failed to complete
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] >
[RUN_GRADLEW] Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 3m 49s
[RUN_GRADLEW] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[RUN_GRADLEW] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[RUN_GRADLEW] For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[RUN_GRADLEW] 1252 actionable tasks: 1252 executed
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Build failed
Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
npx exited with non-zero code: 1
Error: build command failed.
Я веду проект, управляемый выставкой. Сборка приложения для iOS работает нормально, но для Android все еще не удалось. Глядя на ошибку при локальной сборке с помощью Android, кажется, что проблема связана с полосой, но я не знаю, как ее решить, поскольку все работает хорошо, когда я запускаю на физическом устройстве. ниже приведена ошибка в терминале. [code][RUN_GRADLEW] > Task :app:minifyReleaseWithR8 FAILED [RUN_GRADLEW] ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /tmp/paulin/eas-build-local-nodejs/a32037e6-c759-....c6063c1be96d/build/android/app/build/outputs/mapping/release/missing_rules.txt. [RUN_GRADLEW] ERROR: R8: Missing class com.stripe.android.pushProvisioning.PushProvisioningActivity$g (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent)) [RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Args (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider)) [RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Error (referenced from: void com.reactnativestripesdk.pushprovisioning.PushProvisioningProxy$createActivityEventListener$listener$1.onActivityResult(android.app.Activity, int, int, android.content.Intent)) [RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningActivityStarter (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider)) [RUN_GRADLEW] Missing class com.stripe.android.pushProvisioning.PushProvisioningEphemeralKeyProvider (referenced from: void com.reactnativestripesdk.pushprovisioning.DefaultPushProvisioningProxy.beginPushProvisioning(android.app.Activity, java.lang.String, com.reactnativestripesdk.pushprovisioning.EphemeralKeyProvider) and 1 other context) [RUN_GRADLEW] > Task :realm:buildCMakeRelease[arm64-v8a][realm-js-android-binding] [RUN_GRADLEW] FAILURE: Build failed with an exception. [RUN_GRADLEW] * What went wrong: [RUN_GRADLEW] Execution failed for task ':app:minifyReleaseWithR8'. [RUN_GRADLEW] > A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable [RUN_GRADLEW] > Compilation failed to complete [RUN_GRADLEW] * Try: [RUN_GRADLEW] > Run with --stacktrace option to get the stack trace. [RUN_GRADLEW] > [RUN_GRADLEW] Run with --info or --debug option to get more log output. [RUN_GRADLEW] > Run with --scan to get full insights. [RUN_GRADLEW] > Get more help at https://help.gradle.org. [RUN_GRADLEW] BUILD FAILED in 3m 49s [RUN_GRADLEW] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. [RUN_GRADLEW] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [RUN_GRADLEW] For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. [RUN_GRADLEW] 1252 actionable tasks: 1252 executed [RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.