cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [cordova-plugin-media] brunocbatista edited a comment on issue #277: [Android only] Audio file doesn't play
Date Mon, 01 Jun 2020 20:35:27 GMT

brunocbatista edited a comment on issue #277:

   (Sorry for any mistake, English is not my official language.)
   I have a solution for android 10.
   1. Add to your `<edit-config>` in the config.xml file:
                 ` <application android:requestLegacyExternalStorage="true" />`
   2. Make sure that the build.gradle in the **/platforms/android/** folder has the variables
configured for sdk api level 29:
                defaultBuildToolsVersion = "29.0.0"
                defaultMinSdkVersion = 19
                defaultTargetSdkVersion = 29
                defaultCompileSdkVersion = 29
   3. Finally, make sure your build is running at sdk's api level 29.
   The error happens due to a lack of android permission on the external storage folder (android
10 updates).
   Links that I used as a basis to develop the solution

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message