Flutter android app crashes upon startup if I include a certain package

后端 未结 5 744
庸人自扰
庸人自扰 2021-01-06 01:33

A problem has suddenly recently arisen such that simply by including the dependency in \'location\' in pubspec.yaml like e.g.

dependencies:
  flutter:
             


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-06 02:06

    no need to change anything, a simple flutter build apk will solve the problem (if all the packages in pubspec.yaml are updated and error free)

    this happens quite often when switching to a branch that has a completely different list of packages, flutter needs to build...

提交回复
热议问题