命令行编译和 Android studio 编译的差距

使用Creator构建发布 >构建 >编译 >运行
然后在Android studio运行在手机上可以正常启动
使用命令行编译就出现自己引入的 aar 就出现了问题

命令行编译

/Applications/CocosCreator.app/Contents/MacOS/CocosCreator \
--path projectPath \
--build "platform=android;autoCompile=true;" 

native.log

...
> Task :...:assembleRelease
Skipping task ':..:assembleRelease' as it has no actions.
:...:assembleRelease (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.

BUILD SUCCESSFUL in 4m 16s
59 actionable tasks: 4 executed, 55 up-to-date
正在移动 apk 文件 /../build/jsb-default/publish/android
编译成功。

编译过程中输出

[15347] Built to "/.../build/jsb-default" successfully
[finish [========================================] 100% 0.0s  ]
Start to compile platform [android]
[  init settings [                                        ] 0% 0.0s  ]Cocos2dx root: /.../cocos2d-x
native environment string : 
[15347] Checked Python Version [2.7.16]
Cocos2dx root: /.../Resources/cocos2d-x
[  compile native [====                                    ] 10% 0.0s  ][15347] Start to compile native project. Please wait...
[15347] The log file path [ /Users/.../.CocosCreator/logs/native.log ]
Cocos2dx root: /../Resources/cocos2d-x
[  finish [========================================] 100% 0.0s  ]
[15347] Compile native project successfully.
Failed to update data: update_out is null or out_len is 0%   

Failed to update data: update_out is null or out_len is 0%

这个是什么啦?
为啥Android studio中可以正常运行
使用命令行就出现了问题了

可以提供下执行的命令吗?我们测试下~

我回去提供一个demo工程给你们