builttoroam / device_calendar

A cross platform plugin for modifying calendars on the user's device
https://pub.dev/packages/device_calendar
BSD 3-Clause "New" or "Revised" License
270 stars 272 forks source link

Flutter build appbundle --release #523

Open VasMaxence opened 10 months ago

VasMaxence commented 10 months ago

Hello,

When I tried to run flutter build appbundle --release I got this error :

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 832ms Running Gradle task 'bundleRelease'... 1 305ms Gradle task bundleRelease failed with exit code 1


Do you have an idea how I can fix ?

PS: I used latest version of package and android :

ext.kotlin_version = '1.9.21' repositories { google() mavenCentral() }

dependencies {
    classpath 'com.android.tools.build:gradle:8.1.3'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.google.gms:google-services:4.4.0'
}
Peng1104 commented 9 months ago

Already Fixed in the development build, you can wait a new release or if you want to fix you need to fined the build.gradle of this packed in your local computer and add this new line:

namespace 'com.builttoroam.devicecalendar'

inside of android

thomassth commented 3 months ago

Try the 4.3.3 prerelease.