tjarvstrand / flutter_timezone

A fork of https://github.com/pinkfish/flutter_native_timezone
Apache License 2.0
42 stars 29 forks source link

Release new version #9

Closed bartekpacia closed 1 year ago

bartekpacia commented 1 year ago

After upgrading my Flutter project to Gradle v8 and AGP v8, I'm getting:

$ flutter build apk --debug
Changing current working directory to: /Users/bartek/dev/leancode/patrol/packages/patrol/example

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':flutter_timezone'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

     android {
         namespace 'com.example.namespace'
     }

     If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

* 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 538ms

As a temporary workaround, I'm doing:

  flutter_timezone:
    git:
      url: https://github.com/tjarvstrand/flutter_timezone.git
      ref: 0532f3848c79bc85090851e4e0b713faf33eab6d
tjarvstrand commented 1 year ago

Ah, crap. Sorry, I forgot to publish the latest changes. It's out now as 1.0.5

tjarvstrand commented 1 year ago

I'll close this at completed. Feel free to open if you feel it's necessary.