Yes! Now we can build and debug. But we have to change the asconfig.json between debug (command + shift + enter) and build.
That is the asconfig.json (part) that will work for the release build task (iOS):
"files": [
{
"file": "system",
"path": "."
},
{
"file": "assets/fonts",
"path": "fonts"
},
{
"file": "assets/gui",
"path": "gui"
},
{
"file": "assets/images",
"path": "images"
},
{
"file": "assets/scenes3D",
"path": "scenes3D"
},
{
"file": "linked-src/assets",
"path": "assets"
}
]
But when we want debug, this error appear:
Invalid destination path for file in Adobe AIR application. Source: system, Destination: .
When we change the point to a space in the first element
{
"file": "system",
"path": " "
},
we can debug without the error.
Use the version with the space, we cant’t build with this error:
> Executing task: /usr/bin/java -jar /Users/torie/.vscode/extensions/bowlerhatllc.vscode-nextgenas-0.25.0/bin/asconfigc.jar --sdk /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK --debug=false --project /Users/torie/xpunkt-dev/Spectarea/asconfig.json --air ios <
Loading configuration: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/frameworks/airmobile-config.xml
1572558 bytes written to [my-path]/bin-debug/app.swf in 3,434 seconds
Adobe AIR code signing password:
[my-path]/bin-debug/app-app.xml: error 303: Icon icon120.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon144.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon57.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon76.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon114.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon72.png is missing from package
[my-path]/bin-debug/app-app.xml: error 303: Icon icon152.png is missing from package
The terminal process terminated with exit code: 12
Terminal will be reused by tasks, press any key to close it.
([my-path]
and app-app.xml
we have changed for this post.)
When we change back to the point, the build task and the app run fine.
Is there a trick?