Santos-Enoque / complete_flutter_ecommerce

This repo will contain the backend code and the Ui of the flutter ecommerce app
676 stars 423 forks source link

build error #20

Closed Layalekiameh closed 3 years ago

Layalekiameh commented 3 years ago

File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnull/google-services.json /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/debug/google-services.json /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnullDebug/google-services.json /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnull/debug/google-services.json /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/debug/nullnull/google-services.json /Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/google-services.json

Layalekiameh commented 3 years ago

the problem is in image picker file and when I remove the image_picker plugin is run but I got this error There should be exactly one item with [DropdownButton]'s value: . Either zero or 2 or more [DropdownMenuItem]s were detected with the same value 'package:flutter/src/material/dropdown.dart': Failed assertion: line 834 pos 15: 'items == null || items.isEmpty || value == null || items.where((DropdownMenuItem item) { return item.value == value; }).length == 1'