DragonBones / dragonbones.github.io

113 stars 47 forks source link

MacOS Mojave 10.14.2: Error when starting DragonBonesPro: Adobe AIR This application has an invalid application descriptor. Try re-installing or contacting the publisher for assistance. #21

Open micsun-al opened 4 years ago

micsun-al commented 4 years ago

Description

On macOS Mojave 10.14.2 with a clean install of DragonBones, it gives the following error:

Adobe AIR
This application has an invalid application descriptor.
Try re-installing or contacting the publisher for
assistance.
OK

Clicking "OK" closes DragonBonesPro. I can not seem to be able to get it to start due to this error.

Environment:

Installed:

Thank you!

HumanOScillator commented 4 years ago

Hi there... I was so frustrated with this Error because 5.6.2 Version was the only newest version with the Export Log In problem removed and it was completely nowhere, and 5.6.3 it actually comes with this error for Mac so...

In order to solve the Dragon Bones 5.6.3 Adobe Air Directory Issue you can do this:

  1. First explore the Dragon bones Application project in order to get through his Files: DragonBonesPro.app > Contents > Resources > META-INF > AIR

  2. Once there you will find a file named "application.xml"

  3. Now open it with any text editor and change every value listed down here until each variable gets this values OR You can actually just erase everything in there and copy/paste the next lines of code:

<application xmlns="http://ns.adobe.com/air/application/14.0">
  <id>DragonBonesProInstaller</id>
  <filename>DragonBonesPro</filename>
  <name>Dragon Bones</name>
  <versionNumber>0.0.0</versionNumber>
  <initialWindow>
    <content>DragonBonesPro.swf</content>
    <systemChrome>none</systemChrome>
    <transparent>true</transparent>
    <maximizable>true</maximizable>
    <resizable>true</resizable>
    <renderMode>gpu</renderMode>
    <requestedDisplayResolution>high</requestedDisplayResolution>
    <autoOrients>false</autoOrients>
    <fullScreen>false</fullScreen>
    <visible>true</visible>
  </initialWindow>
  <supportedProfiles>extendedDesktop</supportedProfiles>
  <icon>
    <image16x16>assets/icon/16.png</image16x16>
    <image29x29>assets/icon/29.png</image29x29>
    <image32x32>assets/icon/32.png</image32x32>
    <image36x36>assets/icon/36.png</image36x36>
    <image48x48>assets/icon/48.png</image48x48>
    <image50x50>assets/icon/50.png</image50x50>
    <image58x58>assets/icon/58.png</image58x58>
    <image72x72>assets/icon/72.png</image72x72>
    <image100x100>assets/icon/100.png</image100x100>
    <image114x114>assets/icon/114.png</image114x114>
    <image128x128>assets/icon/128.png</image128x128>
    <image144x144>assets/icon/144.png</image144x144>
    <image512x512>assets/icon/512.png</image512x512>
  </icon>
</application>
  1. Finally just SAVE and try to open it

Note: This might not be the best values for those variables so if you prefer feel free to change some inputs if you think is needed.

Also have in mind that you maybe (not really sure about this) you may need to update Adobe Air in your computer, but this only a hint.

Best of luck!

elibujn commented 3 years ago

I have the same problem on Windows 10 image