flutter_inapp_purchase icon indicating copy to clipboard operation
flutter_inapp_purchase copied to clipboard

android can not initialize

Open chhsh122 opened this issue 2 years ago • 1 comments

Version of flutter_inapp_purchase

5.3.1

Platforms you faced the error (IOS or Android or both?)

android

Expected behavior

init success

Actual behavior

Another exception was thrown: MissingPluginException(No implementation found for method initConnection on channel flutter_inapp)

Tested environment (Emulator? Real Device?)

real device

Steps to reproduce the behavior

flutter version. 2.8.1 android version 10 var result = await FlutterInappPurchase.instance.initialize();

problem : Another exception was thrown: MissingPluginException(No implementation found for method initConnection on channel flutter_inapp)

I can init and example can't too

chhsh122 avatar Jul 20 '22 09:07 chhsh122

I was facing the same exact issue.

What I did:

  • Cleaned the project using #flutter clean
  • Changed version to "flutter_inapp_purchase: ^5.3.0"

And it solved my problem. Try it may be it will work for you too :)

hamza1772 avatar Jul 22 '22 17:07 hamza1772

fine it fine by itself

chhsh122 avatar Aug 23 '22 06:08 chhsh122