tdlib
tdlib copied to clipboard
Gradle cannot find plugin :tdlib when running flutter run
flutter run
Using hardware rendering with device sdk gphone64 arm64. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Plugin project :tdlib not found. Please update settings.gradle.
FAILURE: Build failed with an exception.
* Where:
Script '/opt/homebrew/Caskroom/flutter/2.8.1/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 473
* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
> Cannot invoke method afterEvaluate() on null object
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Running Gradle task 'assembleDebug'... 2 451ms
Exception: Gradle task assembleDebug failed with exit code 1
OS : Mac OS 12.4 Monterey Arch : ARM - 64 - Apple M1 chip Flutter version : 3.3.4 (I installed flutter with homebrew, and ran flutter upgrade since) Tdlib version : ^1.5.9 as of pubspec.yml
The same error happens when using flutter run in the provided example flutter project.