Hi Joel,

Great that you are trying! Because you are using swf,js version of
framework you simply need to download dependencies. In that case
playerglobal.swc.

Put playerglobal in the folder which is in the stacktrace.

If you don't need to build your app to swf download JS only version.

Thanks,
Piotr

On Sun, Apr 1, 2018, 06:43 Joel Tan <[email protected]> wrote:

> Hello All,
>
> This is my first time trying to setup Apache Royale project, I am using
> Visual Studio Code and follow all the instructions given. I got the
> following errors, not sure what was wrong, can anyone advice?
>
> The SDK I am using: *apache-royale-0.9.3-bin-js-swf.tar.gz*
>
>
> Compilation Error:
>
> -----------------------------------------------------------------------------------------------------------------------------------
> > Executing task: asconfigc --debug=true
> --flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3 <
>
> MXMLJSC
>
> +royalelib=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks
> --debug=true
> --source-map=false
> --targets=JSRoyale
> src/HelloRoyale.mxml
>
> /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml(74):
> col: 0 Error: unable to open
>
> '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7/playerglobal.swc'.
>
> /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml
> (line: 74)
>
>       </external-library-path>
>
>
>
> /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml(98):
> col: 0 Error: unable to open
>
> '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7'.
>
> /Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/royale-config.xml
> (line: 98)
>
>       </library-path>
>
>
> 1.027796141 seconds
> The terminal process terminated with exit code: 5
>
> Terminal will be reused by tasks, press any key to close it.
>
> -----------------------------------------------------------------------------------------------------------------------------------
> Error: unable to open
>
> '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7/playerglobal.swc'.
> Error: unable to open
>
> '/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3/royale-asjs/frameworks/libs/player/11.7'.
>
> tasks.json:
> The property isShellCommand is deprecated. Use the type property of the
> task and the shell property in the options instead. See also the 1.14
> release notes.
> The property showOutput is deprecated. Use the reveal property inside the
> presentation property instead. See also the 1.14 release notes.
>
> -----------------------------------------------------------------------------------------------------------------------------------
> tasks.json file content:
>
> {
> "version": "2.0.0",
> "command": "asconfigc",
> "isShellCommand": true,
> "args": [
> "--debug=true",
> "--flexHome=/Users/joel/Me/DeveloperHub/ApacheRoyale/0.9.3"
> ],
> "showOutput": "always",
> "problemMatchers": [
> "$royale"
> ]
> }
>
>
> -----------------------------------------------------------------------------------------------------------------------------------
> asconfig.json file content:
>
> {
> "compilerOptions": {
> "source-map": false,
>      "targets": [
>          "JSRoyale"
>      ]
> },
> "files": [
>      "src/HelloRoyale.mxml"
> ]
> }
>
>
> -----------------------------------------------------------------------------------------------------------------------------------
>
> It also appeared this error message in Visual Studio Code:
> *Could not locate valid Java executable. To configure Java manually, use
> the nextgenas.java setting.*
>
> What is the value for { "nextgenas.java": "???????" }, can show an example?
>
> Thank you!
>
>
> Joel
>

Reply via email to