unity3d - 统一构建时的多个版本的 gradle 插件
问题描述
我正在使用 Skillz sdk 开发一个需要 gradle 的问答游戏。我当前的统一版本是2019.3.0.a5
. 当我构建项目时,出现以下错误。
> Failed to apply plugin [id 'com.android.library']
> Using multiple versions of the Android Gradle plugin in the same build is
not allowed.
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\launcher' is using
version 3.2.0
'C:\Users\Zachary Edgell\cash quiz\Temp\gradleOut\unityLibrary' is
using version 3.2.1
2019.1.8f1
当我尝试再次构建时,我试图将等级降为统一,但出现错误
FileNotFoundException: Temp\gradleOut\build\outputs\apk\release\gradleOut-release.apk does not exist
当我尝试进行开发构建时,2019.1.8f1
出现以下错误
FileNotFoundException:Temp\gradleOut\build\outputs\apk\release\gradleOut-debug.apk does not exist
我也试图删除temp
文件夹并重建,但我得到了同样的错误。
解决方案
如果有人遇到此问题,请通过降级到统一解决2018.4.3f1
问题,只需备份您的文件,然后尝试降级到统一2018.4.3f1
推荐阅读
- python - 游标上的 Pymongo 查询
- python - python数组:计算每行的平均值
- powershell - 调试 PowerShell,两个明显相同的值的行为不同。如何找到差异
- svn - TortoiseSVN autentication 失败的代理
- angular - Observable 被连续触发
- rust - 定位 risc-v 时如何链接 .o 和 rust .rlib?
- ruby - Sonarqube 报告错误 slather: command not found
- c - 将静态库与具有相同原型但用途不同的函数链接
- python - 使用来自特定列的信息将函数应用于 pandas 数据帧的每个单元格
- python - PyOpenGL 在着色器中显示纹理