Comments (9)
Hey @gmackall, good catch! you are right about that. Sorry for making you lose time on this. Closing the issue.
from flutter.
In android/app/build.gradle
change on minSdkVersion 21
or try 22
from flutter.
please upgrade your minSdkVersion as mentioned in the logs
from flutter.
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.
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.
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.
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.
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.
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)
- Migrate ButtonBar use in assets-for-api-docs/packages/diagrams/lib/src/card.dart
- mac-3 low on disk space. HOT 3
- 'Multiple widgets used the same GlobalKey' on Hot Reload When Using ShellRoute with Global Key and Builder Parameter HOT 3
- After upgrading to 3.22 Flutter Web ignores the -no-web-resources-cdn config HOT 2
- Improve fidelity of CupertinoCheckbox
- Web Build Busted After Upgrade HOT 2
- App gray mode HOT 1
- The argument limit does not work on Android
- [image_picker] pickMultiImage: The argument limit does not work on Android HOT 1
- Failures-only reporter for `flutter test`
- performance issue in flutter 3.22 on android platform HOT 2
- Version 3.22.0 does not support Windows 7 HOT 2
- [tool_crash] _TypeError: (#0 BuildAuroraCommand.runCommand (package:flutter_tools/src/commands/build_aurora.dart:78:50)) HOT 1
- getting platform exception while using
- 3.22.0 Flutter Web Error using await HOT 2
- [local_auth] isDeviceSupported() behavior not clear HOT 1
- Clipping image to a circle sometimes reverts to a square HOT 1
- Linux app zoom error on TextField and Switch button HOT 4
- Flutter Applied attribution HOT 1
- get localVerificationData
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.