问题已经解决了: 运行gradle tasks 。他会列出你的说有打包的task,选择你要打包的就可以了。 E:\Testing>gradle tasks :tasks------------------------------------------------------------ All tasks runnable from root project ------------------------------------------------------------Android tasks ------------- androidDependencies - Displays the Android dependencies of the project signingReport - Displays the signing info for each variant
E:\Testing>gradle tasks
:tasks------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------Android tasks
-------------
androidDependencies - Displays the Android dependencies of the project
signingReport - Displays the signing info for each variant