2017-02-28 10 views
0

내 응용 프로그램을 컴파일하기 위해 air sdk가 업데이트되었습니다. 필자는 컴파일을 위해 air 4.6으로 flex 4.6을했고 apk와 ipa 모두를 위해 패키징을 위해 air 24를 가졌다. 이제 편집을 위해 공기 24도 필요합니다. 오류 : mx.logging.targets :: LineFormattedTarget을 패키징하는 동안 ipa 파일을 찾을 수 없습니다. 누구든지 나를 도울 수 있습니까? 공기 22로 시작했는지 확인했는데 flex4.6_air_21로 컴파일했고 작동했지만 22에서는 오류가 발생했습니다ipa 파일을 패키징 할 때 오류가 발생했습니다 : mx.logging.targets :: LineFormattedTarget을 찾을 수없고 컴파일 - abc가 실패했습니다.

+0

여기에서 IDE를 사용하지 않습니다. 개미와 함께 콘솔에서 수행됩니다. – piokub

답변

0

문제는 개미 작업을 거짓말. 우리는 이전 SDK에서 다른 flextasks.jar를 사용했습니다. 새로운 sdk로 복사 할 때 문제가 해결되었습니다. FlexSDK와 Air SDK를 오버레이하는 것은이 문제와 아무런 관련이 없습니다. 먼저 flex sdk를 컴파일에 사용하고 나서 iOS 및 Android 용 증발 및 패키징을 위해 air sdk를 사용하고 있기 때문입니다. 당신은 그들 사이에 적절한 도구를 가리키는 한, 그 두 SDK를 따로 가질 수 있습니다.

1

Flex SDK에 AIR SDK를 오버레이해야한다고 생각합니다. 지침 현재 위치 : https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

Exit Flash Builder.

(Optional) Back up the Flex SDK by copying the entire directory.

In Flash Builder, for example, copy the directory at:

Windows: C:/Program Files/Adobe/Flash Builder 4.7/sdks/4.6.0

Mac OS: /Applications/Adobe Flash Builder 4.7/sdks/4.6.0

Download the appropriate AIR SDK file for your operating system from www.adobe.com/products/air/sdk/, and save it to the root directory of the Flex SDK.

Windows: AIRSDK_Compiler.zip

Mac OS: AIRSDK_Compiler.dmg

Extract the contents of the AIR SDK archive and overwrite the existing SDK files.

Windows: Right-click the ZIP file and select Extract All, or use a decompression tool of your choice.

Mac OS: In Terminal, run these commands:

hdiutil attach AIRSDK_Compiler.dmg cp -rf /Volumes/AIR\ SDK/* /path-to-empty-FLEXSDK-directory If you have trouble overwriting files due to file permissions, try these commands:

sudo hdiutil attach AIRSDK_Compiler.dmg sudo cp -rf /Volumes/AIR\ SDK/* /path-to-empty-FLEXSDK-directory (Optional) To access the new AIR 3.4 APIs, update your application descriptor file to the 3.4 namespace.

To update the namespace, change the xmlns attribute in your application descriptor to:

(Optional) To ensure that the output SWF file targets SWF version 17, pass an additional compiler argument: -swf-version=17.

+0

우선 FB를 사용하지 않습니다. 개미에 의해 그것을 컴파일합니다. 내 문제는 도움이되지 않습니다. – piokub

+1

mx.logging.targets :: LineFormattedTarget이 Flex 패키지에 있습니다 ... Flex SDK 위에 AIR SDK를 오버레이 했습니까? – Clintm