how to Add Apache License 2.0 in an Android App which is using a library powered by Apache how to Add Apache License 2.0 in an Android App which is using a library powered by Apache apache apache

how to Add Apache License 2.0 in an Android App which is using a library powered by Apache


You can use OSS Licenses Gradle Plugin to your app. This Gradle plugin scans the POM dependencies of a project at compile time. When a Maven POM exists for a direct dependency of the app, the plugin processes the element and embeds the link and title of each license in an Android asset in the final app APK.

Refer the following link for details:https://github.com/google/play-services-plugins/tree/master/oss-licenses-plugin