View unanswered posts | View active topics



Reply to topic  [ 2 posts ] 
Compilation for all projects fails now 
Author Message
Member

Joined: Tue Jul 07, 2015 12:23 am
Posts: 7
Reply with quote
I have been using FD to make Air apps for about a year now and haven't had any real problems. After taking a month break I came back to it today. None of the files have been modified, but now every single one of my apps fails compilation with the following series of bizarre errors:

The definition of base class BitmapAsset was not found.
public class rm_sp extends mx.core.BitmapAsset

The definition of base class SoundAsset was not found.
public class rm_gm extends mx.core.SoundAsset

The definition of base class FontAsset was not found.
public class sid_sf extends mx.core.FontAsset

Each one appearing for each object I have used [Embed(source="...")] to embed as a bitmap/sound/font.

I don't know what is going on, perhaps include paths have been botched somewhere?

So I went to project->properties->compiler options->SWC libraries and added
[path]\frameworks\libs\framework.swc
[path]\frameworks\libs\air\servicemonitor.swc
and an app now compiles. This is obviously a hack and I would have to add every SWC for every app to get them to compile where I have never had to do this before.

Anyway this leads to the following when packaging for the iOS app store:

Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.
DeferredElementImpl.getTextContent()Ljava/lang/String;
at com.adobe.air.Plist.parsePlistDictionary(Plist.java:388)
at com.adobe.air.Plist.newFromString(Plist.java:370)
at com.adobe.air.ipa.IPAOutputStream.GetResourceRulesOmitPatterns(IPAOut
putStream.java:129)
at com.adobe.air.ipa.IPAOutputStream.<init>(IPAOutputStream.java:117)
at com.adobe.air.ipa.IPAPackager.<init>(IPAPackager.java:65)
at com.adobe.air.ADT$Target.newPackager(ADT.java:261)
at com.adobe.air.ADT.newPackager(ADT.java:1872)
at com.adobe.air.ADT.getPackager(ADT.java:1877)
at com.adobe.air.ADT.getIPAPackager(ADT.java:1859)
at com.adobe.air.ADT.relaunchForIPAIfNecessary(ADT.java:372)
at com.adobe.air.ADT.detectTarget(ADT.java:736)
at com.adobe.air.ADT.parsePackage(ADT.java:682)
at com.adobe.air.ADT.parseArgsAndGo(ADT.java:603)
at com.adobe.air.ADT.run(ADT.java:446)
at com.adobe.air.ADT.main(ADT.java:496)

APK setup creation FAILED.

Troubleshooting:
- verify AIR SDK target version in application.xml

Press any key to continue . . .

So there is obviously something still very wrong (again, the exact same projects were compiling/packaging last time I used FD). I suspect this is somehow still related to FD not searching in the right place for anything anymore.

I have tried removing and reinstalling FD, Air and Flex and it makes no difference. Does FD depend on any external environment variable/registry setting (I'm on Windows 7) or anything that could have been modified? Any help with this issue would be appreciated.


Mon May 30, 2016 10:56 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Sorry your question went unanswered.

This must have to do with your Flex/AIR SDK installation (and telling FD where it is in program settings), did you resolve it?


Sat Jul 02, 2016 8:11 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.