Log.zip (58.3 KB)
目录太长?
是的,一般都是路径太长了
试试将项目构建目录下的该文件替换成附件里的文件
NewProject/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle
build.gradle.zip (1.9 KB)
没明白 直接替换也报错了 那里面的代码我对比了之前的 你给的这个加了很多东西 类似于路径之类的!!!
Looking for a different daemon…
The client will now receive all logging from the daemon (pid: 35344). The daemon log file: C:\Users\pc.gradle\daemon\4.10.3\daemon-35344.out.log
Starting 7th build in daemon [uptime: 1 hrs 6 mins 6.625 secs, performance: 100%, no major garbage collections]
Using 8 worker leases.
Starting Build
Settings evaluated using settings file ‘D:\CocosBuild\CocosCreatorProj\apkAndUp\build\jsb-link\frameworks\runtime-src\proj.android-studio\settings.gradle’.
Projects loaded. Root project using build file ‘D:\CocosBuild\CocosCreatorProj\apkAndUp\build\jsb-link\frameworks\runtime-src\proj.android-studio\build.gradle’.
Included projects: [root project ‘proj.android-studio’, project ‘:apkAndUp’, project ‘:game’, project ‘:instantapp’, project ‘:libcocos2dx’]
Parallel execution is an incubating feature.
Configure project :
Evaluating root project ‘proj.android-studio’ using build file ‘D:\CocosBuild\CocosCreatorProj\apkAndUp\build\jsb-link\frameworks\runtime-src\proj.android-studio\build.gradle’.
FAILURE: Build failed with an exception.
-
Where:
Build file ‘D:\CocosBuild\CocosCreatorProj\apkAndUp\build\jsb-link\frameworks\runtime-src\proj.android-studio\build.gradle’ line: 3 -
What went wrong:
A problem occurred evaluating root project ‘proj.android-studio’.
Plugin with id ‘com.android.application’ not found.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 0s
执行命令出错,返回值:1。
那里面的玩意我也不明白啊
哦,不能替换,你还是改下项目路径,放到盘符根目录试试
好的~