plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Bug]: Cannot compile since update to Flutter 3.3.3

Open And96 opened this issue 4 years ago • 4 comments

Platform

Android 11

Plugin

share_plus

Version

latest

Flutter SDK

3.3.3

Steps to reproduce

Cannot compile Android app since upgrade to flutter 3.3.3

Code Sample

Tried to remove package and add again but didnt solve
Tried flutter clean
Tried to clean and rebluild gradle with ./gradlew in android directory
Tried adding 
lintOptions {
        abortOnError false
        checkReleaseBuilds false
    }

Actually cannot compile the project. No problem on prevoius flutter SDK on 3.3.2

Logs

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':share_plus:lintDebug'.
> Lint found errors in the project; aborting build.

  Fix the issues identified by lint, or create a baseline to see only new errors:
  
  android {
      lint {
          baseline = file("lint-baseline.xml")
      }
  }

For more details, see https://developer.android.com/studio/write/lint#snapshot



### Flutter Doctor

```shell
.

Checklist before submitting a bug

  • [X] I Google'd a solution and I couldn't find it
  • [X] I searched on StackOverflow for a solution and I couldn't find it
  • [X] I read the README.md file of the plugin
  • [X] I'm using the latest version of the plugin
  • [X] All dependencies are up to date with flutter pub upgrade
  • [X] I did a flutter clean
  • [X] I tried running the example project

And96 avatar Oct 09 '22 15:10 And96

Sorry. Solved.

And96 avatar Oct 09 '22 15:10 And96

@And96 How you solved this issue?

I am facing same issue. Flutter: 3.3.1 android_alarm_manager_plus : 2.1.0

kamlesh9070 avatar Nov 26 '22 09:11 kamlesh9070

Ohh I cannot remember. I didnt writeanything about this issue. Actually it works. But I cannot say what I changed. Sorry

And96 avatar Nov 27 '22 14:11 And96

I'm having exactly the same issue

erperejildo avatar May 17 '24 08:05 erperejildo