Skip to content

App crashes on Razorpay Checkout launch – java.lang.NoSuchMethodError: AnalyticsUtil.logFunctionEntryΒ #470

@Mahesh-Langote

Description

@Mahesh-Langote

Our Flutter application started crashing while opening the Razorpay Checkout UI after a recent Razorpay build update (observed since yesterday ~3 PM IST).

This issue is occurring during production/final testing, and multiple developers are reporting the same crash, indicating this may be a widespread SDK issue rather than an app-specific problem.


Environment

  • Platform: Android
  • Flutter SDK: 3.53.3 (stable)
  • razorpay_flutter: 1.4.0
  • Android Gradle Plugin: Latest stable
  • Build Type: Debug & Release

Steps to Reproduce

  1. Integrate razorpay_flutter: ^1.4.0
  2. Initialize Razorpay checkout
  3. Trigger payment flow
  4. App crashes immediately when Razorpay UI is launched

Expected Behavior

Razorpay Checkout UI should open normally without crashing.


Actual Behavior

App crashes instantly with a fatal exception when Razorpay Checkout activity starts.


Crash Log

E/AndroidRuntime: FATAL EXCEPTION: main
E/AndroidRuntime: java.lang.NoSuchMethodError: 
No static method logFunctionEntry(Ljava/lang/String;Ljava/lang/String;Z)V 
in class Lcom/razorpay/AnalyticsUtil;

at com.razorpay.BaseCheckoutActivity.onCreate(BaseCheckoutActivity.java:106)
at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:25)
at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)

Additional Context

  • This issue started suddenly without any code changes on our side
  • Multiple developers are reporting the same error on GitHub
  • Looks like a binary incompatibility or missing method in the latest Razorpay Android SDK
  • Blocking production release and Play Store deployment

Request

Please confirm:

  • Whether this is a known issue
  • If there is a temporary workaround or rollback version
  • ETA for a fixed SDK release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions