Giter VIP home page Giter VIP logo

Comments (9)

rzambroni avatar rzambroni commented on May 23, 2024 1

Hey @gmackall, good catch! you are right about that. Sorry for making you lose time on this. Closing the issue.

from flutter.

keodoff avatar keodoff commented on May 23, 2024

In android/app/build.gradle change on minSdkVersion 21 or try 22

from flutter.

naveenpardeep avatar naveenpardeep commented on May 23, 2024

please upgrade your minSdkVersion as mentioned in the logs

from flutter.

rzambroni avatar rzambroni commented on May 23, 2024

Hi, yes, that works of course (21 and above).. but was wondering if the default minsdk of the test should be upgraded as well.

from flutter.

gmackall avatar gmackall commented on May 23, 2024

I'm not able to reproduce this, likely because the example app in question
https://github.com/flutter/packages/blob/d4cd4f00254b2fdb50767c837ecd27bcbac488cd/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle#L33
already has minSdkVersion set to 20.

Is your packages repo out of date? Can you post the full contents of
/Users/qa/Documents/packages/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle

from flutter.

rzambroni avatar rzambroni commented on May 23, 2024

I'm not able to reproduce this, likely because the example app in question https://github.com/flutter/packages/blob/d4cd4f00254b2fdb50767c837ecd27bcbac488cd/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle#L33 already has minSdkVersion set to 20.

Is your packages repo out of date? Can you post the full contents of /Users/qa/Documents/packages/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle

Mine is also using minSdkVersion = 20, But it could be that we are using different simulators.

from flutter.

gmackall avatar gmackall commented on May 23, 2024

I'm not able to reproduce this, likely because the example app in question https://github.com/flutter/packages/blob/d4cd4f00254b2fdb50767c837ecd27bcbac488cd/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle#L33 already has minSdkVersion set to 20.
Is your packages repo out of date? Can you post the full contents of /Users/qa/Documents/packages/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle

Mine is also using minSdkVersion = 20, But it could be that we are using different simulators.

Can you pipe both stdout and stderr to log?
i.e. flutter test integration_test -d <PUT_YOUR_ANDROID_SIMULATOR_ID> &> logs.txt. I suspect there is more to the logs, which is missing.

from flutter.

gmackall avatar gmackall commented on May 23, 2024

Hmm I think I can see what might have happened - did you test this on master, and then on stable? I see you mention both master and stable in the issue description.

If you did, the changes from #142267 are in master, so you would have had your minSdkVersion in /Users/qa/Documents/packages/packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle auto-upgraded from 20 to flutter.minSdkVersion, which on master would have been 21.

And then if you downgraded to stable to test after that, flutter.minSdkVersion would have become 19, which would have caused this error. Are you certain you don't have any unstaged changes in the packages repo, indicating this auto-upgrade happened? And if you don't, is it still reproducible?

from flutter.

github-actions avatar github-actions commented on May 23, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.