【发布时间】:2018-08-06 21:14:00
【问题描述】:
我正在尝试使用 gradlefx 构建一个项目。在构建期间,我收到以下异常错误。
get-data:
[get] Getting: http://flex.apache.org/installer/sdk-installer-config-4.0.xml
[get] To: /home/ubuntu/.gradle/gradleFx/sdks/86c6aa5c2c1084d7f4e8996be5c5cfa2e429cbe9/sdk-installer-config-4.0.xml
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'dashas-master'.
The following error occurred while executing this line:
/home/ubuntu/.gradle/gradleFx/sdks/86c6aa5c2c1084d7f4e8996be5c5cfa2e429cbe9/installer.xml:119: Reference air.sdk.path.linux.3.9 not found.
我不知道为什么 gradle 没有下载文件。我可以从以下 XML 文件中清楚地看到版本air.sdk.path.linux.2.6。
来自:http://flex.apache.org/installer/sdk-installer-config-4.0.xml
<linux>
<versions default="2.6">
<versionA id="air.sdk.version.linux.2.6" version="2.6" displayVersion="2.6">
<server id="air.sdk.server.linux.2.6">http://airdownload.adobe.com</server>
<folder id="air.sdk.folder.linux.2.6">air/lin/download/2.6/</folder>
<path id="air.sdk.path.linux.2.6">http://airdownload.adobe.com/air/lin/download/2.6/</path>
<file id="air.sdk.file.linux.2.6">AdobeAIRSDK.tbz2</file>
</versionA>
</versions>
</linux>
这里有什么问题吗?请建议我解决此类错误的任何方法。
【问题讨论】:
标签: apache ubuntu flash gradle apache-flex