umair13adil / flutter_logs

An extensive logging framework developed for flutter apps.
https://itnext.io/sending-logs-from-flutter-apps-in-real-time-using-elk-stack-mqtt-c24fa0cb9802
Apache License 2.0
39 stars 28 forks source link

Namespace error on Gradle 8.0 #59

Closed john011022 closed 2 months ago

john011022 commented 7 months ago

When you try to build the app using Gradle 8.0 it gives an error saying namespace is not defined for flutter_logs.

If I downgrade the gradle version the app is built and deployed.

Configuration That does not work

classpath 'com.android.tools.build:gradle:8.1.4' distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip

Hyla96 commented 6 months ago

@john011022

I created this PR to support gradle 8.0 and up: https://github.com/umair13adil/flutter_logs/pull/61

Temporarily, in your pubspec.yaml you can point to the package like this:

  flutter_logs:
    git: https://github.com/Hyla96/flutter_logs
umair13adil commented 2 months ago

The issue has been resolved in version 2.1.12