Having issues with Awesome Notification & AndroidAwnCore

Troubleshooting

Here's the log of the issue:

Launching lib\main.dart on CPH2359 in debug mode...
Upgrading build.gradle
Running Gradle task 'assembleDebug'...                          

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve me.carda:AndroidAwnCore:0.10.0.
     Required by:
         project :app > project :awesome_notifications
      > Could not resolve me.carda:AndroidAwnCore:0.10.0.
         > Could not get resource 'https://jitpack.io/me/carda/AndroidAwnCore/0.10.0/AndroidAwnCore-0.10.0.pom'.
            > Could not GET 'https://jitpack.io/me/carda/AndroidAwnCore/0.10.0/AndroidAwnCore-0.10.0.pom'. Received status code 401 from server: Unauthorized

* 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 1m 14s
Running Gradle task 'assembleDebug'...                             76.2s
[!] Gradle threw an error while downloading artifacts from the network.
Retrying Gradle Build: #1, wait time: 100ms
Running Gradle task 'assembleDebug'...                          

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve me.carda:AndroidAwnCore:0.10.0.
     Required by:
         project :app > project :awesome_notifications
      > Could not resolve me.carda:AndroidAwnCore:0.10.0.
         > Could not get resource 'https://jitpack.io/me/carda/AndroidAwnCore/0.10.0/AndroidAwnCore-0.10.0.pom'.
            > Could not GET 'https://jitpack.io/me/carda/AndroidAwnCore/0.10.0/AndroidAwnCore-0.10.0.pom'. Received status code 401 from server: Unauthorized

* 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 19s
Running Gradle task 'assembleDebug'...                          [!] Gradle threw an error while downloading artifacts from the network.
   20.6s
Error: Gradle task assembleDebug failed with exit code 1

The error happened while I was making changes to my app and tried to run the app on my phone. Tried changing versions of 'AwesomeNotification' but it didn't work. Please help, deadline is in a week๐Ÿ˜ญ

Edit 1: Is likely a JitPack issue. Checked their discord, more people have the same issue
Edit 2: Seems like they fixed it but I am still running into a problem while building APK with Awesome Notifications version 0.10.0 and 0.10.1, however v0.9.3 works.

Edit 3: It is most likely fixed now. You can access https://jitpack.io/me/carda/AndroidAwnCore/0.10.0/AndroidAwnCore-0.10.0.pom now. I got a successful build for the awesome_notifications: ^0.10.1

What have you tried so far?
  • Checked online forums, no such issues that I found

  • Tried changing version of Awesome Notification.(Not tried all versions but if there are any that could solve the issue, please lmk)

Did you check FlutterFlow's Documentation for this topic?
No
9
10 replies