简体   繁体   中英

why this gradle error occur ? when building the project?

I've got a gradle FAILURE: Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.

As a result I couldn't build the app and I've got that FAILURE: message. log cat

graddle

Problem is with the system broadcast intent ["android.media.VOLUME_CHANGED_ACTION"] you are trying to use. This intent can not be used by non system app.

You can use MediaButton events. https://developer.android.com/guide/topics/media-apps/mediabuttons#mediabuttons-and-active-mediasessions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM