Closed BringTheChill closed 3 years ago
When I try to run my project (package at the latest version btw) I get this:
e: C:\src\flutter\flutter\.pub-cache\git\flutter_native_timezone-f1512c09e4f3c8739fd4ab603722075d0c43d4c9\android\src\main\kotlin\com\whelksoft\flutter_native_timezone\FlutterNativeTimezonePlugin.kt: (13, 7): Redeclaration: FlutterNativeTimezonePlugin e: C:\src\flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_native_timezone-1.0.4\android\src\main\kotlin\com\whelksoft\flutter_native_timezone\FlutterNativeTimezonePlugin.kt: (10, 7): Redeclaration: FlutterNativeTimezonePlugin FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flutter_native_timezone:compileDebugKotlin'.
JFYI to people who came here and have the same weird issue. Sharing my solution which was simply deleting android/.gradle folder as also shared here.
When I try to run my project (package at the latest version btw) I get this: