Я пытаюсь использовать Paystack, но на iOS все работает отлично, но Android продолжает зависать,
журнал сбоев
D/FirebaseSessions( 6563): App backgrounded on com.xxx.xxx
D/OneSignal( 6563): [main] ApplicationService.onActivityPaused(1,APP_OPEN): com.xxxx.xx.MainActivity@30cd887
D/OneSignal( 6563): [main] ApplicationService.onActivityCreated(1,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
I/AppStateListener( 6563): onActivityStarted for activity : com.paystack.android.ui.paymentsheet.PaymentSheetActivity isForegound : true
D/OneSignal( 6563): [main] ApplicationService.onActivityStarted(1,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/OneSignal( 6563): [main] ApplicationService: current activity=com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/FirebaseSessions( 6563): App foregrounded on com.reflexpay.reflex_pay
D/OneSignal( 6563): [main] ApplicationService.onActivityResumed(2,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/AutofillManager( 6563): Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
W/xpay.reflex_pay( 6563): Accessing hidden method Landroid/os/SystemProperties;->addChangeCallback(Ljava/lang/Runnable;)V (unsupported, reflection, allowed)
D/AndroidRuntime( 6563): Shutting down VM
E/AndroidRuntime( 6563): FATAL EXCEPTION: main
E/AndroidRuntime( 6563): Process: com.reflexpay.reflex_pay, PID: 6563
E/AndroidRuntime( 6563): java.lang.NoSuchMethodError: No static method rememberModalBottomSheetState(ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/SheetState; in class Landroidx/compose/material3/ModalBottomSheet_androidKt; or its super classes (declaration of 'androidx.compose.material3.ModalBottomSheet_androidKt' appears in /data/app/~~kB5GB9Ap-QEDdREUH3Ff5A==/com.reflexpay.reflex_pay-G7ygEiglfqoEA86NBzDmUA==/base.apk!classes7.dex)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity.PaymentSheetUI(PaymentSheetActivity.kt:73)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity.access$PaymentSheetUI(PaymentSheetActivity.kt:35)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1$1.invoke(PaymentSheetActivity.kt:54)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1$1.invoke(PaymentSheetActivity.kt:53)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:390)
E/AndroidRuntime( 6563): at androidx.compose.material3.TextKt.ProvideTextStyle(Text.kt:349)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:69)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:68)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:60)
E/AndroidRuntime( 6563): at com.paystack.android.ui.theme.ThemeKt.PaystackTheme(Theme.kt:42)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1.invoke(PaymentSheetActivity.kt:53)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1.invoke(PaymentSheetActivity.kt:52)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.ComposeView.Content(ComposeView.android.kt:431)
2
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:250)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:216)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:145)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:144)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:133)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:140)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:139)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:390)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:139)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:123)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.Expect_jvmKt.invokeComposable(Expect.jvm.kt:24)
E/AndroidRuntime( 6563): at androidx.compose.runtime.ComposerImpl.doCompose-aFTiNEg(Composer.kt:3843)
E/AndroidRuntime( 6563): at androidx.compose.runtime.ComposerImpl.composeContent--ZbOJvo$runtime(Composer.kt:3747)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:832)
E/AndroidRuntime( 6563): at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1233)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:672)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:639)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:123)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:1990)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:168)
E/AndroidRuntime( 6563): at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.jvm.kt:313)
E/AndroidRuntime( 6563): at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.jvm.kt:191)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:2077)
E/AndroidRuntime( 6563): at android.view.View.dispatchAttachedToWindow(View.java:21980)
E/AndroidRuntime( 6563): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3490)
4
E/AndroidRuntime( 6563): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3014)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2465)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9305)
E/AndroidRuntime( 6563): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1339)
E/AndroidRuntime( 6563): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1348)
E/AndroidRuntime( 6563): at android.view.Choreographer.doCallbacks(Choreographer.java:952)
E/AndroidRuntime( 6563): at android.view.Choreographer.doFrame(Choreographer.java:882)
E/AndroidRuntime( 6563): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1322)
E/AndroidRuntime( 6563): at android.os.Handler.handleCallback(Handler.java:958)
E/AndroidRuntime( 6563): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6563): at android.os.Looper.loopOnce(Looper.java:205)
E/AndroidRuntime( 6563): at android.os.Looper.loop(Looper.java:294)
E/AndroidRuntime( 6563): at android.app.ActivityThread.main(ActivityThread.java:8177)
E/AndroidRuntime( 6563): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 6563): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/AndroidRuntime( 6563): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
D/FirebaseSessions( 6563): App backgrounded on com.reflexpay.reflex_pay
I/Process ( 6563): Sending signal. PID: 6563 SIG: 9
Lost connection to device.
ссылка на SDK
sdk-link
это мой Gradle
plugins {
id "com.android.application"
// START: FlutterFire Configuration
id 'com.google.gms.google-services'
// END: FlutterFire Configuration
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('app/keystore.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def flutterMinSdkVersion = 24
android {
namespace "com.xxx.xxx"
compileSdk 36
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/bu ... on-id.html).
applicationId "com.xxx.xxx"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/and ... figuration.
minSdkVersion 24
targetSdkVersion 35
versionCode 47
versionName flutterVersionName
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
shrinkResources true
minifyEnabled true
signingConfig signingConfigs.release
}
}
flavorDimensions "app"
productFlavors {
dev {
dimension "app"
applicationId "com.xxx.xxx"
versionNameSuffix "-dev"
resValue "string", "app_name", "xxx-Dev"
}
prod {
dimension "app"
resValue "string", "app_name", "xxxx"
applicationId "com.xxx.android"
}
}
}
flutter {
source '../..'
}
dependencies {
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... ystack-sdk
Почему приложение вылетает при запуске PayStack SDK ⇐ Android
Форум для тех, кто программирует под Android
-
Anonymous
1764897422
Anonymous
Я пытаюсь использовать Paystack, но на iOS все работает отлично, но Android продолжает зависать,
журнал сбоев
D/FirebaseSessions( 6563): App backgrounded on com.xxx.xxx
D/OneSignal( 6563): [main] ApplicationService.onActivityPaused(1,APP_OPEN): com.xxxx.xx.MainActivity@30cd887
D/OneSignal( 6563): [main] ApplicationService.onActivityCreated(1,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
I/AppStateListener( 6563): onActivityStarted for activity : com.paystack.android.ui.paymentsheet.PaymentSheetActivity isForegound : true
D/OneSignal( 6563): [main] ApplicationService.onActivityStarted(1,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/OneSignal( 6563): [main] ApplicationService: current activity=com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/FirebaseSessions( 6563): App foregrounded on com.reflexpay.reflex_pay
D/OneSignal( 6563): [main] ApplicationService.onActivityResumed(2,APP_OPEN): com.paystack.android.ui.paymentsheet.PaymentSheetActivity@a6e5f82
D/AutofillManager( 6563): Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
W/xpay.reflex_pay( 6563): Accessing hidden method Landroid/os/SystemProperties;->addChangeCallback(Ljava/lang/Runnable;)V (unsupported, reflection, allowed)
D/AndroidRuntime( 6563): Shutting down VM
E/AndroidRuntime( 6563): FATAL EXCEPTION: main
E/AndroidRuntime( 6563): Process: com.reflexpay.reflex_pay, PID: 6563
E/AndroidRuntime( 6563): java.lang.NoSuchMethodError: No static method rememberModalBottomSheetState(ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/SheetState; in class Landroidx/compose/material3/ModalBottomSheet_androidKt; or its super classes (declaration of 'androidx.compose.material3.ModalBottomSheet_androidKt' appears in /data/app/~~kB5GB9Ap-QEDdREUH3Ff5A==/com.reflexpay.reflex_pay-G7ygEiglfqoEA86NBzDmUA==/base.apk!classes7.dex)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity.PaymentSheetUI(PaymentSheetActivity.kt:73)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity.access$PaymentSheetUI(PaymentSheetActivity.kt:35)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1$1.invoke(PaymentSheetActivity.kt:54)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1$1.invoke(PaymentSheetActivity.kt:53)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:390)
E/AndroidRuntime( 6563): at androidx.compose.material3.TextKt.ProvideTextStyle(Text.kt:349)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:69)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:68)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.material3.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:60)
E/AndroidRuntime( 6563): at com.paystack.android.ui.theme.ThemeKt.PaystackTheme(Theme.kt:42)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1.invoke(PaymentSheetActivity.kt:53)
E/AndroidRuntime( 6563): at com.paystack.android.ui.paymentsheet.PaymentSheetActivity$onCreate$1.invoke(PaymentSheetActivity.kt:52)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.ComposeView.Content(ComposeView.android.kt:431)
2
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:250)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:216)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:145)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:144)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:370)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:133)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:140)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:139)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:390)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:139)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:123)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
E/AndroidRuntime( 6563): at androidx.compose.runtime.internal.Expect_jvmKt.invokeComposable(Expect.jvm.kt:24)
E/AndroidRuntime( 6563): at androidx.compose.runtime.ComposerImpl.doCompose-aFTiNEg(Composer.kt:3843)
E/AndroidRuntime( 6563): at androidx.compose.runtime.ComposerImpl.composeContent--ZbOJvo$runtime(Composer.kt:3747)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:832)
E/AndroidRuntime( 6563): at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1233)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:672)
E/AndroidRuntime( 6563): at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:639)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:123)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:1990)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:168)
E/AndroidRuntime( 6563): at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.jvm.kt:313)
E/AndroidRuntime( 6563): at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.jvm.kt:191)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:121)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:114)
E/AndroidRuntime( 6563): at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:2077)
E/AndroidRuntime( 6563): at android.view.View.dispatchAttachedToWindow(View.java:21980)
E/AndroidRuntime( 6563): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3490)
4
E/AndroidRuntime( 6563): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3497)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3014)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2465)
E/AndroidRuntime( 6563): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9305)
E/AndroidRuntime( 6563): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1339)
E/AndroidRuntime( 6563): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1348)
E/AndroidRuntime( 6563): at android.view.Choreographer.doCallbacks(Choreographer.java:952)
E/AndroidRuntime( 6563): at android.view.Choreographer.doFrame(Choreographer.java:882)
E/AndroidRuntime( 6563): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1322)
E/AndroidRuntime( 6563): at android.os.Handler.handleCallback(Handler.java:958)
E/AndroidRuntime( 6563): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6563): at android.os.Looper.loopOnce(Looper.java:205)
E/AndroidRuntime( 6563): at android.os.Looper.loop(Looper.java:294)
E/AndroidRuntime( 6563): at android.app.ActivityThread.main(ActivityThread.java:8177)
E/AndroidRuntime( 6563): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 6563): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/AndroidRuntime( 6563): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
D/FirebaseSessions( 6563): App backgrounded on com.reflexpay.reflex_pay
I/Process ( 6563): Sending signal. PID: 6563 SIG: 9
Lost connection to device.
ссылка на SDK
sdk-link
это мой Gradle
plugins {
id "com.android.application"
// START: FlutterFire Configuration
id 'com.google.gms.google-services'
// END: FlutterFire Configuration
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('app/keystore.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def flutterMinSdkVersion = 24
android {
namespace "com.xxx.xxx"
compileSdk 36
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.xxx.xxx"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 24
targetSdkVersion 35
versionCode 47
versionName flutterVersionName
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
shrinkResources true
minifyEnabled true
signingConfig signingConfigs.release
}
}
flavorDimensions "app"
productFlavors {
dev {
dimension "app"
applicationId "com.xxx.xxx"
versionNameSuffix "-dev"
resValue "string", "app_name", "xxx-Dev"
}
prod {
dimension "app"
resValue "string", "app_name", "xxxx"
applicationId "com.xxx.android"
}
}
}
flutter {
source '../..'
}
dependencies {
}
Подробнее здесь: [url]https://stackoverflow.com/questions/79836053/why-is-app-crashing-while-launching-paystack-sdk[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия