Closed aTeamSolace closed 4 years ago
this doesn't seem to be related to this plugin.
C:\Users\Shubham\AndroidStudioProjects\Ec_Gaints\e_commerce_layout_sy>flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18362.836], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [√] Chrome - develop for the web [√] Android Studio (version 3.6) [√] VS Code (version 1.45.1) [√] Connected device (3 available)
• No issues found!
PUBSPEC.YAML FILE
name: ecommercelayoutsy description: A new Flutter application.
version: 1.0.0+1
environment: sdk: ">=2.1.0 <3.0.0"
dependencies: flutter: sdk: flutter
cupertino_icons: ^0.1.3 auto_size_text: ^2.1.0 google_fonts: ^1.0.0 flutter_svg: ^0.17.4 flutter_icons: ^1.1.0 country_pickers: ^1.2.1 firebase_auth: ^0.16.0 fluttertoast: ^4.0.1 page_transition: ^1.1.5 flutter_spinkit: ^4.1.2+1 google_maps_flutter: ^0.5.27+3 google_map_location_picker: ^3.3.0
dev_dependencies: flutter_test: sdk: flutter
flutter:
uses-material-design: true assets:
@humazed still occuring same issue did you know why occured this ?
C:\Users\Shubham\AndroidStudioProjects\Ec_Gaints\e_commerce_layout_sy>flutter doctor -v [√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18362.836], locale en-IN) • Flutter version 1.18.0-11.1.pre at E:\flutter_installation\flutter • Framework revision 2738a1148b (2 weeks ago), 2020-05-13 15:24:36 -0700 • Engine revision ef9215ceb2 • Dart version 2.9.0 (build 2.9.0-8.2.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Users\Shubham\AppData\Local\Android\Sdk • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = C:\Users\Shubham\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 44.0.2 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.45.1) • VS Code at C:\Users\Shubham\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.9.1
[√] Connected device (3 available) • moto g 6 • ZF6224G85X • android-arm • Android 9 (API 28) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.61
• No issues found!
there was no activity on this issue and I can't reproduce it, feel free to reopen if it still happening with you.
It's occur because you have done some changes in this package. Solution Steps : flutter pub cache repair restart IDE flutter clean flutter pub get flutter run
The plugin
google_api_availability
doesn't have a main class defined in E:\flutter_installation\flutter.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\android\src\main\java\com\baseflow\googleapiavailability\GoogleApiAvailabilityPlugin.java or E:\flutter_installation\flutter.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\android\src\main\kotlin\com\baseflow\googleapiavailability\GoogleApiAvailabilityPlugin.kt. This is likely to due to an incorrectandroidPackage: com.baseflow.googleapiavailability
ormainClass
entry in the plugin's pubspec.yaml. If you are the author of this plugin, fix theandroidPackage
entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.