Comments (5)
@AbdeMohlbi Thanks for the suggestion. I actually don't have anything that looks like that in my settings.gradle
file. But your hint got me looking in the right place, and I found that by upgrading the Android Gradle Plugin using Android Studio's "AGP upgrade assistant", this actually fixed the problem I was having. After running the upgrade assistant, the following line was changed within settings.gradle
:
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version '7.3.0' apply false
}
became
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version '7.4.2' apply false
}
And after that I could build the project successfully.
from flutter.
i know this issue has been closed but for anyone in the near future who had stuck to open the AGP assistant like my case try this :
https://stackoverflow.com/questions/70880154/agp-upgrade-assistant-window-not-opening-in-android-studio
from flutter.
your may need this first :
https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration
try updating android>settings.gradle file by replacing this line
id "org.jetbrains.kotlin.android" version "{kotlin.version_1}" apply false
with :
id "org.jetbrains.kotlin.android" version "{kotlin.version_2}" apply false
try this by making the kotlin compiler and api version and language version in setting>kotlin compiler inside android studio that could help as i have the same issue
from flutter.
@oldmankit Exactly brother what i was trying to say is that you can do that from settings also and it will configure the files by itself .
I think someone may find this issue in the near future helpfull .
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)
- Provide an empty status placeholder for DataTable HOT 1
- ClipPath crash HOT 1
- Allow rebuilding suggestions for Searchbar manually HOT 1
- Change mouse wheel sensitivity at runtime on Windows
- The package url_launcher 6.2.6 is build with an older kotlin version (expected 1.8, got 1,6) HOT 4
- [tool_crash] FileSystemException: Cannot open file, OS Error: O arquivo já está sendo usado por outro processo., errno = 32 HOT 2
- Target debug_bundle_windows_assets failed: PathExistsException: Cannot copy file HOT 5
- Engine roll to the framework failing on macros package version issue HOT 13
- SliverMainAxisGroup in a reverse scroll view doesn't work as expected HOT 2
- [tool_crash] FileSystemException: Failed to decode data using encoding 'utf-8', null HOT 1
- On iOS, the cursor does not move even if you enter a full-width space in the TextField (3.22.0) HOT 4
- ccache support is gone in the latest version of Buildroot. HOT 2
- [web] JS formatter breaks the templates in the new load API. HOT 3
- [add2app] Android cannot register flutter plugin HOT 6
- Tool Crash - _TypeError: type 'String' is not a subtype of type 'int?' in type cast HOT 5
- [tool_crash] OutOfMemoryError: (null) HOT 2
- Can't interact with app build for integration testing HOT 5
- [google_maps_flutter] setMapStyle should not be deprecated HOT 2
- [two_dimensional_scrollables] TapGestureRecognizer of TableSpan not working after setState() HOT 8
- [Impeller] Latest Vulkan SDK introduces validation failures.
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.