SDK——Software Development Kit 软件开发工具包。
我们来看看百度百科的介绍:
软件开发工具包一般都是一些软件工程师为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件时的开发工具的集合。
软件开发工具广义上指辅助开发某一类软件的相关文档、范例和工具的集合。
再看看维基百科的解释:
A software development kit (SDK) is a collection of software development tools in one installable package. They facilitate the creation of applications by having compiler, debugger and perhaps a software framework. They are normally specific to a hardware platform and operating system combination.
API —— Application Program Interface
通俗来说,就是SDK的出入口。
SDK与API的关系类似 SDK像平时喝的可口可乐,而API类似和可口可乐的吸管(假定只能用吸管喝快乐水的情况)。
参考: