Closed vivekkujur closed 5 years ago
@vivekkujur Can you help us with the following details:
While we try to reproduce the issue, can you check if the add-manifest
branch of the plugin fixes it? ( Change ref: "v1.0.0-alpha"
to ref: "add-manifest"
in pubspec.yml
, and run flutter packages get
)
Did you find a solution this? I have been facing the same problem and cannot seem to find any solution for it. This is the error I get. Pleas help me.
E/flutter (29223): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Unable to find explicit activity class {com.example.packagename/com.razorpay.CheckoutActivity}; have you declared this activity in your AndroidManifest.xml?, null)
E/flutter (29223): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter (29223): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
E/flutter (29223):
i am getting this error pls help me? Unhandled Exception: PlatformException(error, Unable to find explicit activity class {com.example.custom_razorpay/com.razorpay.flutter_customui.RazorpayPaymentActivity}; have you declared this activity in your AndroidManifest.xml?, null, android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.custom_razorpay/com.razorpay.flutter_customui.RazorpayPaymentActivity}; have you declared this activity in your AndroidManifest.xml?
hi , iam using flutter getting error when _razorpay.open(options);
void openCheckout() async {
}
error stack: - E/MethodChannel#razorpay_flutter( 1109): Failed to handle method call E/MethodChannel#razorpay_flutter( 1109): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.foodmonk.androidapp/com.razorpay.CheckoutActivity}; have you declared this activity in your AndroidManifest.xml? E/MethodChannel#razorpay_flutter( 1109): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2012) E/MethodChannel#razorpay_flutter( 1109): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1675) E/MethodChannel#razorpay_flutter( 1109): at android.app.Activity.startActivityForResult(Activity.java:4586) E/MethodChannel#razorpay_flutter( 1109): at android.app.Activity.startActivityForResult(Activity.java:4544) E/MethodChannel#razorpay_flutter( 1109): at com.razorpay.razorpay_flutter.RazorpayDelegate.openCheckout(RazorpayDelegate.java:55) E/MethodChannel#razorpay_flutter( 1109): at com.razorpay.razorpay_flutter.RazorpayFlutterPlugin.onMethodCall(RazorpayFlutterPlugin.java:43) E/MethodChannel#razorpay_flutter( 1109): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:201) E/MethodChannel#razorpay_flutter( 1109): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:88) E/MethodChannel#razorpay_flutter( 1109): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:219) E/MethodChannel#razorpay_flutter( 1109): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#razorpay_flutter( 1109): at android.os.MessageQueue.next(MessageQueue.java:326) E/MethodChannel#razorpay_flutter( 1109): at android.os.Looper.loop(Looper.java:160) E/MethodChannel#razorpay_flutter( 1109): at android.app.ActivityThread.main(ActivityThread.java:6762) E/MethodChannel#razorpay_flutter( 1109): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#razorpay_flutter( 1109): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/MethodChannel#razorpay_flutter( 1109): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)