On 28 May 2014 18:52, Adam M <[email protected]> wrote: > Thank you for the answear :] > So yeah - there was an Ant problem. I didn't know about it. I fixed it (no > tools.jar error, only 'Buildfile: build.xml noes not exist Build failed'). > The funny thing is that I still have an error with aapt but the app was > created :) >
Glad you sorted it. What you saw wasn't an error in the sense of something going wrong. It was the script looking for different possible files: "aapt", "aapt.com" and "aapt.exe". What it was doing was trying the different likely names for the aapt executable on Windows, and stopping when it found one (which was "aapt.exe" in this case). Elliot > > > 2014-05-28 17:14 GMT+02:00 Smith, Elliot <[email protected]>: > > Apologies: a colleague just pointed out to me that one of the commands in >> the setup instructions has a missing quotation mark. >> >> In: >> >> https://crosswalk-project.org/#documentation/getting_started/windows_host_setup/Install-the-Android-SDK >> the commands in step 3 should read >> >> > setx path "%path%;<path to Android SDK>" >> > setx path "%path%;<path to Android SDK>\sdk\tools" >> > setx path "%path%;<path to Android SDK>\sdk\platform-tools" >> >> (Note that extra closing double quote on the second command.) >> >> I don't think this would cause your error, however, but it's worth >> running the command again just in case in case the missing quote has >> mangled your path.. >> >> Elliot >> >> >> On 28 May 2014 16:10, Smith, Elliot <[email protected]> wrote: >> >>> 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 >>> >> >> >> >> -- >> Elliot Smith >> Senior Software Engineer >> Intel Open Source Technology Centre >> > > -- 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
