0

One month ago the project was working. I dind't change anything in the implementation, it doesn't work anymore. I tried evry flutter command (clean, install dependency again etc.)

E/AndroidRuntime( 8957): FATAL EXCEPTION: main
E/AndroidRuntime( 8957): Process: com.example.app, PID: 8957
E/AndroidRuntime( 8957): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/android/view/AddPaymentMethodActivityStarter$Result;
E/AndroidRuntime( 8957):    at com.reactnativestripesdk.StripeSdkModule$mActivityEventListener$1.onActivityResult(StripeSdkModule.kt:83)
E/AndroidRuntime( 8957):    at com.facebook.react.bridge.BaseActivityEventListener.onActivityResult(BaseActivityEventListener.kt:14)
E/AndroidRuntime( 8957):    at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:774)
E/AndroidRuntime( 8957):    at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:422)
E/AndroidRuntime( 8957):    at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:964)
E/AndroidRuntime( 8957):    at io.flutter.embedding.android.FlutterFragment.onActivityResult(FlutterFragment.java:1248)
E/AndroidRuntime( 8957):    at io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult(FlutterFragmentActivity.java:645)
E/AndroidRuntime( 8957):    at android.app.Activity.dispatchActivityResult(Activity.java:8550)
E/AndroidRuntime( 8957):    at android.app.ActivityThread.deliverResults(ActivityThread.java:5583)
E/AndroidRuntime( 8957):    at android.app.ActivityThread.handleSendResult(ActivityThread.java:5631)
E/AndroidRuntime( 8957):    at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime( 8957):    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime( 8957):    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime( 8957):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
E/AndroidRuntime( 8957):    at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 8957):    at android.os.Looper.loop(Looper.java:246)
E/AndroidRuntime( 8957):    at android.app.ActivityThread.main(ActivityThread.java:8653)
E/AndroidRuntime( 8957):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8957):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime( 8957):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/AndroidRuntime( 8957): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.stripe.android.view.AddPaymentMethodActivityStarter$Result" on path: DexPathList[[zip file "/data/app/~~NDKsDKuhC75oWr6RwGNZ6g==/com.example.app-ptdG8Rl9IqD1D9Cd3fHbQA==/base.apk"],nativeLibraryDirectories=[/data/app/~~NDKsDKuhC75oWr6RwGNZ6g==/com.example.app-ptdG8Rl9IqD1D9Cd3fHbQA==/lib/arm64, /data/app/~~NDKsDKuhC75oWr6RwGNZ6g==/com.example.app-ptdG8Rl9IqD1D9Cd3fHbQA==/base.apk!/lib/arm64-v8a, /system/lib64]]
E/AndroidRuntime( 8957):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime( 8957):    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime( 8957):    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime( 8957):    ... 20 more
I/Process ( 8957): Sending signal. PID: 8957 SIG: 9
1
  • Did you solve it? Commented Mar 3 at 21:53

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.