在 ubuntu 17.04 中出现错误 "Reference air.sdk.path.linux.3.9 not found "
Getting error "Reference air.sdk.path.linux.3.9 not found " in ubuntu 17.04
我正在尝试使用 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>
这里有什么问题吗?请给我建议任何解决此类错误的方法。
我自己找到了解决方案。我们可以通过指定 air.sdk.version=2.6 -Dair.sdk.version=2.6
来编译项目。我们可以通过命令构建
gradle clean compile -Dair.sdk.version=2.6
我正在尝试使用 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>
这里有什么问题吗?请给我建议任何解决此类错误的方法。
我自己找到了解决方案。我们可以通过指定 air.sdk.version=2.6 -Dair.sdk.version=2.6
来编译项目。我们可以通过命令构建
gradle clean compile -Dair.sdk.version=2.6