audioplayer icon indicating copy to clipboard operation
audioplayer copied to clipboard

AudioPlayerPlugin.java users or overrides a deprecated api

Open henryejemuta opened this issue 5 years ago • 4 comments

Got the error below when building the apk version, haven't tried ios yet but need to be reviewed

Note: /<path to flutter>/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayer-0.8.1/android/src/main/java/bz/rxla/audioplayer/AudioplayerPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.                    
Note: Some input files use or override a deprecated API.                
Note: Recompile with -Xlint:deprecation for details.

henryejemuta avatar Apr 19 '20 10:04 henryejemuta

Same error for me as well.

terminal-bash avatar Jun 04 '20 18:06 terminal-bash

Same error for me.

famachot avatar Aug 18 '20 23:08 famachot

@famachot it is a feature for supporting older devices, the deprecated APIs are the ones from before Android 8. They are not that old.

moda20 avatar Aug 19 '20 07:08 moda20

@moda20 Thanks, changed my application to new flutter project and its worked for me

famachot avatar Aug 20 '20 17:08 famachot