Not able to sync dependency in build.gradle in flutter

前端 未结 5 1197
渐次进展
渐次进展 2021-01-01 19:41

I want to use some native library. and I am using below dependnecy

implementation \'com.google.android.gms:play-services-vision:10.+\'

in build.gradle in

5条回答
  •  Happy的楠姐
    2021-01-01 20:11

    i know i am late but let me suggest the way as per i done and it's working , if it helps to someone

    1. Open android studio flutter project
    2. Go to file
    3. Click on setting
    4. Search for "Flutter"
    5. at bottom of that view there is an experiments section do check that both checkbox

    after doing this add any dependencies in android gradle and go to file and click on "Sync with file system" and you are done , please check the below screenshot to do check the experiments item

提交回复
热议问题