-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stellite androd build error #56
Comments
The above issue is resolved by add shell=True; But,another error occured: |
lz@lz:~/work/code/stellite$ ./tools/build.py --target-platform=android --target stellite_http_client build
chromium is already exists: /home/lz/work/code/stellite/third_party/chromium_android
check chromium ...
check chromium tag ...
copy .gclient ...
copy modified_files ...
copy chromium/src/.gn ...
copy node_binder files ...
Running: ln -s /home/lz/work/code/stellite/node_binder
copy stellite files...
Running: ln -s /home/lz/work/code/stellite/stellite
copya stellite build fakefiles ...
Running: ln -s /home/lz/work/code/stellite/build_android/src/tools/vim/chromium.ycm_extra_conf.py /home/lz/work/code/stellite/.ycm_extra_conf.py
generate ninja script ...
Running: /home/lz/work/code/stellite/third_party/depot_tools/gn gen /home/lz/work/code/stellite/build_android/src/out_android_armv6/obj
Done. Made 1223 targets from 133 files in 748ms
Running: ninja -C /home/lz/work/code/stellite/build_android/src/out_android_armv6/obj stellite_http_client
ninja: Entering directory `/home/lz/work/code/stellite/build_android/src/out_android_armv6/obj'
[5/1778] ACTION //base:android_runtime_jni_headers__jni_Runtime(//build/toolchain/android:clang_arm)
FAILED: gen/android_runtime_jni_headers/base/jni/Runtime_jni.h
python ../../base/android/jni_generator/jni_generator.py --depfile gen/base/android_runtime_jni_headers__jni_Runtime.d --jar_file ../../third_party/android_tools/sdk/platforms/android-23/android.jar --input_file java/lang/Runtime.class --optimize_generation=1 --ptr_type=long --output_dir gen/android_runtime_jni_headers/base/jni --includes ../../../../../../base/android/jni_generator/jni_generator_helper.h --native_exports_optional
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1387, in
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1380, in main
GenerateJNIHeader(input_file, output_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 1285, in GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
File "../../base/android/jni_generator/jni_generator.py", line 645, in CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[10/1778] CXX obj/base/base_paths/base_paths_android.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "./tools/build.py", line 2037, in
sys.exit(main(sys.argv[1:]))
File "./tools/build.py", line 2026, in main
build.build()
File "./tools/build.py", line 1384, in build
build.build_target(self.target)
File "./tools/build.py", line 1007, in build_target
self.execute(command)
File "./tools/build.py", line 723, in execute
raise Exception('command execution are failed')
Exception: command execution are failed
The text was updated successfully, but these errors were encountered: