当我使用 Apache 许可的库时,我可以在 GPL 下许可我的项目吗?

Can I license my project under GPL when I use Apache-licensed libraries?

首先,我知道我正式必须在开源社区中询问有关许可证的问题,但我已经在这里看到了足够多的问题,并且在那里发布的帖子在一天内获得的浏览量与您在此处的浏览量一样多大约 3 分钟后。

也就是说,我已经做了很多研究,我想我知道我的问题的答案,但我想确保我做对了。在过去的几年里,我在我的项目上花了太多时间,以至于用错误的许可证把它搞砸了。

我目前正在开发一个 Android 应用程序,我想稍后将其作为开放源代码发布。我希望每个人都能够为该项目做出贡献,但我也希望该项目的分支是开源的。这就是为什么我最初选择 GPLv2 作为我的许可证,但我一直在读到它的 'openness' 非常严格。目前我只在我的项目中使用 Apache v2.0 许可的库,据我所知,Apache v2.0 许可与 GPLv2 兼容。

TL;DR
如果我的 Android 项目包含 Apache v2.0 许可的库和我自己编写的代码,我是否可以在 GPLv2 下许可和分发它?还是有更好的选择来满足我的愿望?

Apache 基金会 a document about GPL compatibility.

选择语录:

Apache 2 software can therefore be included in GPLv3 projects, because the GPLv3 license accepts our software into GPLv3 works. However, GPLv3 software cannot be included in Apache projects.

Despite our best efforts, the FSF has never considered the Apache License to be compatible with GPL version 2

所以看来您应该可以在 GPLv3 项目中包含 Apache 代码(GPLv2 则不然)。

有关如何将非 GPL 代码包含到 GPL 项目中的实际方面,另请参阅此 advice from the Software Freedom Law Center