Android支持库发布了哪些许可证? [英] What license(s) are the Android support libraries released under?

查看:53
本文介绍了Android支持库发布了哪些许可证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读Android支持库的文档,但是明确表示您应该将其包含在Android项目中,但未提及该库本身所拥有的许可证(仅存在的许可证声明适用于文档页面的内容,而不是其描述的代码).Eclipse发出的副本也不包含任何许可信息,对Google的查询大多只是链接回相同的文档页面.

I've been reading through the documentation for the Android Support Library, but while it explicitly says that you should include it in your Android project, it doesn't mention anything about what license the library itself is under (the only license notice present applies to the contents of the documentation page, not the code it describes). The copy spat out by Eclipse does not include any licensing information either, and queries to Google mostly just link back to the same documentation pages.

这使我感到困惑.我是否应该包含该代码来自Google的通知?根本不放任何许可通知吗?还是我不正确地理解该库的用途?诚然,我是Android开发的新手.

This confuses me. Should I include a notice that the code is from Google? Not put in any license notice at all? Or am I not properly understanding how the library is meant to be used? Admittedly, I am quite new to Android development.

推荐答案

每个源文件(例如

Each source file, (like this one) contains a copyright header like this:

/*
 * Copyright (C) 2011 The Android Open Source Project
 *
 * 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.
 */

其中声明了Apache许可:

Which states an Apache license:

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

而且,我认为apache许可证允许构建和出售衍生作品.不过,您应该:

And, I think apache license allows derivative works to be built and sold. Still, you should:

  1. 在衍生产品的来源中也包含相同的许可证.
  2. 清楚地说明您在哪些基础上进行了更改.

您可以将其放置在项目根目录的 Licence.txt Readme.txt 中.

You can place this in Licence.txt or Readme.txt at the root of your project.

这篇关于Android支持库发布了哪些许可证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆