android - 如何在使用由 Apache 提供支持的库的 Android 应用程序中添加 Apache License 2.0

标签 android apache licensing

我需要我的应用程序使用由 Apache 提供支持的库项目,如果我添加 Apache License 2.0 ,我只负责使用该库
在我的应用程序中。
我的问题是在应用程序中的何处添加许可证?

可以吗,如果我只在应用程序的“关于”部分添加样板通知。

样板通知:

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

最佳答案

您可以将 OSS Licenses Gradle Plugin 用于您的应用程序。这个 Gradle 插件在编译时扫描项目的 POM 依赖项。当应用程序的直接依赖项存在 Maven POM 时,插件会处理该元素并将每个许可证的链接和标题嵌入到最终应用程序 APK 中的 Android Assets 中。
有关详细信息,请参阅以下链接:
https://github.com/google/play-services-plugins/tree/master/oss-licenses-plugin

关于android - 如何在使用由 Apache 提供支持的库的 Android 应用程序中添加 Apache License 2.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39198758/

相关文章:

android - 在 android 中用自定义图像替换 Google Plus 登录按钮

android - 转换异常 : after Updating Fragment from ViewPager

python - 在 Windows 上安装 Django

java - 您可以通过市场要求对 Android 应用程序进行年度升级吗

android - 是否必须使用api 22 Lollipop 编译我的应用程序?

java - 如何显示在新 Activity 中拍摄的图像

ruby-on-rails - 我在哪里可以找到 Apache-Passenger 配置文件?

macos - 在 OS X Yosemite 上设置 Apache 2.4.9 时遇到问题

c++ - 我可以使用 Qt LGPL 许可证并在没有任何限制的情况下出售我的应用程序吗?

azure-active-directory - 用于检索许可证/计划信息的 Microsoft Graph API