voximplant / flutter_callkit

Flutter SDK for CallKit integration to Flutter applications on iOS
MIT License
53 stars 18 forks source link

Cannot invoke method afterEvaluate() on null object - ANDROID #26

Closed aososam closed 2 years ago

aososam commented 2 years ago

I used to be able to run my app on android even if this package is not for android. I upgraded Flutter to 2.10.1 and I started getting this error: I tried also the last Flutter version and It did not work either

Plugin project :flutter_callkit_voximplant not found. Please update settings.gradle.

FAILURE: Build failed with an exception.

* Where:
Script '/Volumes/Data/Users/andres/Documents/DEV/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 470

* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > Cannot invoke method afterEvaluate() on null object

Flutter doctor:

[✓] Flutter (Channel stable, 3.0.1, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.67.2)
[✓] VS Code (version 1.67.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Is anyone else getting this error when running on Android?

YuliaGrigorieva commented 2 years ago

Hello @aososam ,

We have released 2.1.0 version to fix this issue.

Best regards, Yulia Grigorieva

hashirawan01 commented 1 year ago

what does it mean @YuliaGrigorieva i also facing this issue what do you mean by this please help