jonasbark / flutter_in_app_update

Flutter Plugin: Enables In App Updates on Android using the official Android APIs.
Other
323 stars 79 forks source link

Build error InAppUpdatePlugin.kt: (30, 46): Too many arguments for public constructor InAppUpdatePlugin() #35

Closed tarekbazine closed 4 years ago

tarekbazine commented 4 years ago
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\in_app_update-1.1.11\android\src\main\kotlin\de\ffuf\in_app_update\InAppUpdatePlugin.kt: (29, 7): Redeclaration: InAppUpdatePlugin
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\in_app_update-1.1.8\android\src\main\kotlin\de\ffuf\in_app_update\InAppUpdatePlugin.kt: (23, 7): Redeclaration: InAppUpdatePlugin
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\in_app_update-1.1.8\android\src\main\kotlin\de\ffuf\in_app_update\InAppUpdatePlugin.kt: (30, 46): Too many arguments for public constructor InAppUpdatePlugin() defined in de.ffuf.in_app_update.InAppUpdatePlugin

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':in_app_update:compileDebugKotlin'.
jonasbark commented 4 years ago

Please cleanup your project. It seems to use 1.1.8 and 1.1.11 at the same time.

tarekbazine commented 4 years ago

I already run flutter clean but nothing changed, I will try to remove 'pub-cache' and see.

kirankarigoudar commented 4 years ago

i am getting same issue, please help to resolve this issue