Hello there.I have a problem with building sample hello world
application (line by line from manual)
on russian windows 7. First thing that go wrong is that weird
encoding error:
>Traceback (most recent call last):
> File "make_apk.py", line 706, in <module>
> sys.exit(main(sys.argv))
> File "make_apk.py", line 696, in main
> MakeApk(options, app_info, manifest)
> File "make_apk.py", line 436, in MakeApk
> Execution(options, name)
> File "make_apk.py", line 293, in Execution
> RunCommand(update_project_cmd)
> File "K:\PP\project\crosswalk\crosswalk-9.38.208.10\util.py", line 38, in
> RunC
>ommand
> return output.decode("utf-8")
>UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 50:
>invalid
> start byte
So i change the command line encoding as someone said on internet by using
>chcp 65001
and that error is gone, but now instead of this my build is never complete (i
wait
for 3+ hours and nothing happens). And if i terminate the procces it would
print
>Traceback (most recent call last):
> File "make_apk.py", line 706, in <module>
> sys.exit(main(sys.argv))
> File "make_apk.py", line 696, in main
> MakeApk(options, app_info, manifest)
> File "make_apk.py", line 436, in MakeApk
> Execution(options, name)
> File "make_apk.py", line 247, in Execution
> api_level = GetAndroidApiLevel(android_path)
> File "make_apk.py", line 69, in GetAndroidApiLevel
> target_output = RunCommand([android_path, 'list', 'target', '-c'])
> File "K:\PP\project\crosswalk\crosswalk-9.38.208.10\util.py", line 30, in
> RunC
>ommand
> output = proc.communicate()[0]
> File "c:\python\lib\subprocess.py", line 946, in communicate
> stdout = _eintr_retry_call(self.stdout.read)
> File "c:\python\lib\subprocess.py", line 491, in _eintr_retry_call
> return func(*args)
Here is how i build:
>python make_apk.py --package=org.crosswalkproject.example \
>--manifest=xwalk-simple/manifest.json
and my manifest (complete from manual):
>{
> "name": "simple",
> "version": "0.0.0.1",
> "app": {
> "launch":{
> "local_path": "index.html"
> }
> },
> "icons": {
> "128": "icon.png"
> }
>}
Any idea of what am i doing wrong?
---
Это сообщение свободно от вирусов и вредоносного ПО благодаря защите от вирусов
avast!
http://www.avast.com
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help