The invention provides an SDK packaging method using a packaging plug-in, the packaging plug-in and a corresponding terminal, and the method comprises the steps: obtaining plug-in configuration information through the packaging plug-in when a packaging operation on a host project is detected; determining a corresponding target file in the host project according to the plug-in configuration information, and packaging and generating a kernel package based on the target file; According to the method, the package plug-in is used for executing project package, only simple plug-in configuration information is needed, script files do not need to be dispersed one by one, the script files can be conveniently introduced, inter-project transplantation can be easily carried out, and meanwhile maintenance is convenient; the plug-in can uniformly manage the task stack Task, a user does not need to pay attention to the actual functions of all the Tasks, only parameters need to be configured, the readability of codes is remarkably improved, and compared with an existing packaging script packaging mode, the running time of SDK packaging is remarkably shortened, and the SDK packaging efficiency is improved.