Flutter reader sdk in-app payment cant authorize when call ReaderSdk.authorize : java.lang.ClassNotFoundException: com.squareup.AppBootstrapFactory

E/MethodChannel#square_reader_sdk( 5678): Failed to handle method call
E/MethodChannel#square_reader_sdk( 5678): java.lang.RuntimeException: java.lang.ClassNotFoundException: com.squareup.AppBootstrapFactory
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.internal.AppBootstrapHolder.loadAppBootstrapFactory(AppBootstrapHolder.java:33)
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.internal.AppBootstrapHolder.onCreate(AppBootstrapHolder.java:21)
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.ReaderSdk.initialize(ReaderSdk.java:38)
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.flutter.SquareReaderSdkFlutterPlugin.initializeReaderSdk(SquareReaderSdkFlutterPlugin.java:160)
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.flutter.SquareReaderSdkFlutterPlugin.onMethodCall(SquareReaderSdkFlutterPlugin.java:79)
E/MethodChannel#square_reader_sdk( 5678): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#square_reader_sdk( 5678): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:296)
E/MethodChannel#square_reader_sdk( 5678): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:320)
E/MethodChannel#square_reader_sdk( 5678): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#square_reader_sdk( 5678): 	at android.os.Handler.handleCallback(Handler.java:938)
E/MethodChannel#square_reader_sdk( 5678): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#square_reader_sdk( 5678): 	at android.os.Looper.loop(Looper.java:246)
E/MethodChannel#square_reader_sdk( 5678): 	at android.app.ActivityThread.main(ActivityThread.java:8653)
E/MethodChannel#square_reader_sdk( 5678): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#square_reader_sdk( 5678): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/MethodChannel#square_reader_sdk( 5678): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
E/MethodChannel#square_reader_sdk( 5678): Caused by: java.lang.ClassNotFoundException: com.squareup.AppBootstrapFactory
E/MethodChannel#square_reader_sdk( 5678): 	at java.lang.Class.classForName(Native Method)
E/MethodChannel#square_reader_sdk( 5678): 	at java.lang.BootClassLoader.findClass(ClassLoader.java:1358)
E/MethodChannel#square_reader_sdk( 5678): 	at java.lang.BootClassLoader.loadClass(ClassLoader.java:1418)
E/MethodChannel#square_reader_sdk( 5678): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/MethodChannel#square_reader_sdk( 5678): 	at com.squareup.sdk.reader.internal.AppBootstrapHolder.loadAppBootstrapFactory(AppBootstrapHolder.java:30)
E/MethodChannel#square_reader_sdk( 5678): 	... 15 more
E/MethodChannel#square_reader_sdk( 5678): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

Is the class accessible to the SDK? It looks like the error is that it’s not found when it’s being called. :slightly_smiling_face: