#
closed
build apk failed

Hi, i've got Task :app:compileFlutterBuildRelease FAILED when build generate signed APK using 

Android Studio Giraffe | 2022.3.1 Patch 2

Build #AI-223.8836.35.2231.10811636, built on September 15, 2023

Runtime version: 17.0.6+0-b2043.56-10027231 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Windows 11 10.0

GC: G1 Young Generation, G1 Old Generation

Memory: 3072M

Cores: 12

Registry:

    external.system.auto.import.disabled=true

    ide.text.editor.with.preview.show.floating.toolbar=false

Non-Bundled Plugins:

    Dart (223.8950)

    io.flutter (75.1.2)

and

Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git

Framework • revision ead455963c (13 days ago) • 2023-09-26 18:28:17 -0700

Engine • revision a794cf2681

Tools • Dart 3.1.3 • DevTools 2.25.0

with build output

> Task :app:compileFlutterBuildRelease

../../../AppData/Local/Pub/Cache/hosted/pub.dev/nb_utils-5.0.8/lib/src/widgets/blur_widget.dart:37:23: Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.

 - 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('/D:/flutter/packages/flutter/lib/src/painting/border_radius.dart').

 - 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('/D:/flutter/packages/flutter/lib/src/painting/border_radius.dart').

        borderRadius: borderRadius,

                      ^

Target kernel_snapshot failed: Exception

> Task :app:compileFlutterBuildRelease FAILED


The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.1.2.

Android SDK Build Tools 30.0.3 will be used.

To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.


We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding

    android.suppressUnsupportedCompileSdk=33

to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to

use a newer Android Gradle Plugin that has been tested with compileSdk = 33


i tried to changed version build gradle to 7.1.3, but the apk build still failed. i hope You guys can help with this problem, thanks in advance

ATTACHED FILES

Asked 1 year ago on October 10, 2023 3:01 PM Comments 7 times


  1. Generic placeholder image

    Viktoria replied

    Your issue has been resolved through anydesk.

  2. Generic placeholder image

    fandrioni effendi replied

    hi, sorry for that, you can access my computer again

  3. Generic placeholder image

    Viktoria replied

    Ok then accept the session

  4. Generic placeholder image

    fandrioni effendi replied

    Hello too, i already activate anydesk at this moment

  5. Generic placeholder image

    Viktoria replied

    Hello 

    You can share remote access during our working hours (Mon-Sat 9:00 am - 6:00 pm (GMT +5:30)).

    Thank you:)

  6. Generic placeholder image

    fandrioni effendi replied

    sorry for late reply, this is my access code on chrome remote desktop

    686265617309 or

    Anydesk

    1 008 788 934

  7. Generic placeholder image

    Angela replied

    Hello fandrioni effendi,

    Please share anydesk/ chrome remote access so we can help you remotely

    Thanks & Regards
    - Angela
Recent Tickets
river is not receiving ri... 5 months ago on January 29, 2025 9:03 AM Permission denied for thi... 1 week ago on July 13, 2025 2:20 AM No Such Module 'OneSignal... 2 weeks ago on July 6, 2025 8:45 AM Documentation outdated... 3 weeks ago on June 25, 2025 10:46 AM error starting 1 month ago on June 2, 2025 6:20 AM hi there 1 month ago on May 29, 2025 4:48 PM Class Schedule 1 month ago on May 29, 2025 10:35 AM First time installation... 2 months ago on May 18, 2025 10:09 AM App is showing blank afte... 2 months ago on May 8, 2025 2:57 PM The app Issue 2 months ago on April 30, 2025 6:44 PM