razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
108 stars 149 forks source link

Not able to run the example app since app compilation is failing with the errors #387

Open vinodpatil18 opened 5 months ago

vinodpatil18 commented 5 months ago

Description

Not able to run the example app since app compilation is failing with the errors

/Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:10: error: cannot find symbol import com.razorpay.GenericPluginCallback; ^ symbol: class GenericPluginCallback location: package com.razorpay /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:29: error: cannot find symbol checkout = new Checkout().upiTurbo(activity); ^ symbol: method upiTurbo(Activity) location: class Checkout /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:40: error: cannot find symbol checkout.upiTurbo.linkNewUpiAccount(customerMobile, color , new GenericPluginCallback(){ ^ symbol: class GenericPluginCallback location: class UpiTurbo /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:41: error: method does not override or implement a method from a supertype @Override ^ /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:51: error: method does not override or implement a method from a supertype @Override ^ /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:40: error: cannot find symbol checkout.upiTurbo.linkNewUpiAccount(customerMobile, color , new GenericPluginCallback(){ ^ symbol: variable upiTurbo location: variable checkout of type Checkout /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:73: error: cannot find symbol checkout.upiTurbo.manageUpiAccounts(customerMobile, color , new GenericPluginCallback(){ ^ symbol: class GenericPluginCallback location: class UpiTurbo /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:74: error: method does not override or implement a method from a supertype @Override ^ /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:78: error: method does not override or implement a method from a supertype @Override ^ /Users/apple/StudioProjects/razorpay-flutter-master/android/src/main/java/com/razorpay/razorpay_flutter/UpiTurbo.java:73: error: cannot find symbol checkout.upiTurbo.manageUpiAccounts(customerMobile, color , new GenericPluginCallback(){ ^ symbol: variable upiTurbo location: variable checkout of type Checkout Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 10 errors

FAILURE: Build failed with an exception.

Flutter Version :

Flutter 3.13.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision 6c4930c4ac (8 months ago) • 2023-10-18 10:57:55 -0500 Engine • revision 767d8c75e8 Tools • Dart 3.1.4 • DevTools 2.25.0

Steps To Reproduce

  1. checkout to repository
  2. run sample app on Android

Expected Results

Example app Should compile and run successfully

vivekshindhe commented 5 months ago

@vinodpatil18 Hi, thanks for bringing this to our attention. We are looking into this. Will be resolving this shortly. Will update here once resolved. Apologies for the inconvenience.

yaakovschectman commented 3 weeks ago

@vivekshindhe Do you have any updates on this? It is several months later and I now am also unable to build due to unresolved symbols.