audioplayer icon indicating copy to clipboard operation
audioplayer copied to clipboard

overrides a deprecated API.

Open mohammadne opened this issue 5 years ago • 6 comments

Initializing gradle...                                              0.9s
Resolving dependencies...                                           3.6s
Note: C:\Users\Hamid\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\audioplayer-0.5.2\android\src\main\java\bz\rxla\audioplayer\AudioplayerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Running Gradle task 'assembleRelease'...                                

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugAndroidTestRuntimeClasspath'.
   > Could not download espresso-core.aar (androidx.test.espresso:espresso-core:3.1.0-alpha3)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/test/espresso/espresso-core/3.1.0-alpha3/espresso-core-3.1.0-alpha3.aar'.
         > Read timed out
   > Could not download runner.aar (androidx.test:runner:1.1.0-alpha3)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/test/runner/1.1.0-alpha3/runner-1.1.0-alpha3.aar'.
         > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/test/runner/1.1.0-alpha3/runner-1.1.0-alpha3.aar'.
            > Read timed out
   > Could not download monitor.aar (androidx.test:monitor:1.1.0-alpha3)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/test/monitor/1.1.0-alpha3/monitor-1.1.0-alpha3.aar'.
         > Read timed out
   > Could not download annotation.jar (androidx.annotation:annotation:1.0.0-alpha1)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.jar'.
         > Read timed out

* 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 2m 21s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                     142.3s (!)
*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
*******************************************************************************************
Gradle task assembleRelease failed with exit code 1

it says C:\Users\Hamid\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\audioplayer-0.5.2\android\src\main\java\bz\rxla\audioplayer\AudioplayerPlugin.java uses or overrides a deprecated API. what can I do?

mohammadne avatar Aug 24 '19 09:08 mohammadne

I am getting this too

tnaffh avatar Sep 14 '19 13:09 tnaffh

I'm getting this too, any ideas how to fix?

johnny-stevie avatar Nov 03 '19 20:11 johnny-stevie

Same here

aderchox avatar Dec 31 '19 06:12 aderchox

Same here

fabienlierville avatar Mar 17 '20 11:03 fabienlierville

same here, any solutions?!

madanii avatar May 16 '20 17:05 madanii

the "overrides a deprecated API" notice. is just a warning and shouldn't cause any problems when compiling.

moda20 avatar May 17 '20 01:05 moda20