On 28 May 2014 15:44, Adam M <[email protected]> wrote:

> The problem is, that when I use 'python make_apk.py
> --manifest=xwalk-simple/manifest.json' I have an error (screenshot
> included).
>
> How to fix that? What is with that aapt thing? I don't know very well
> Android SDK.
>

Hello.

The error probably isn't with aapt, but with the Ant build. (For reference,
aapt is a tool for packaging assets for inclusion in an Android apk
package.)

Try running ant on its own from a command line:
$ ant -version

If it complains about a missing tools.jar, it may be that Ant is trying to
run using the JRE version of the java executable, rather than the JDK one.
Ant must use the JDK java executable, otherwise it won't work.

You could also check which version of Ant you are using. I have version
1.9.3, which works, so you could upgrade to that if you have an older
version.

You might also want to make sure you're using a fairly recent Java version
(I have 1.7.0_51), and that you're using the Oracle JDK (you probably are
if you're using Windows).

If none of that gives any more clues, it may be that aapt is the problem;
though this is unlikely as the make_apk.py script did manage to locate an
aapt.exe file.

Elliot
-- 
Elliot Smith
Senior Software Engineer
Intel Open Source Technology Centre
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to