Flutter Error: Fix this issue by adding …compileSdkVersion 33

Posted by

Fix this issue by adding the following to C:\…\android\app\build.gradle:android {compileSdkVersion 33…}

Open the android/app/build.gradle file in your Flutter project

Locate the android block, and within it, find the compileSdkVersion line.

The suggested version in the error message is 33, but you might need to use a different version based on the plugin requirements.

android {
    compileSdkVersion 33
    // ... other configurations
}

Save the changes to the file.

After updating the compileSdkVersion, you should run command.

flutter pub get
0 0 votes
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
trackback

[…] Flutter Error: Fix this issue by adding …compileSdkVersion 33 […]

trackback

[…] Flutter Error: Fix this issue by adding …compileSdkVersion 33 […]

2
0
Would love your thoughts, please comment.x
()
x