prebuilts | Prebuilts for crankshaft-ng
kandi X-RAY | prebuilts Summary
kandi X-RAY | prebuilts Summary
Prebuilts for crankshaft-ng
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of prebuilts
prebuilts Key Features
prebuilts Examples and Code Snippets
Community Discussions
Trending Discussions on prebuilts
QUESTION
Software environment:
- Ubuntu 20.04 LTS server;
- Android AOSP 8.0;
- OpenJDK 8;
It works very well util yesterday I upgraded my OpenJDK from 8u282 to 8u292. Now the broken building log says:
...ANSWER
Answered 2021-Apr-30 at 09:04I think that there is a good chance that it is this:
Basically, they have turned off (default) support for TLS 1.0 and 1.1, starting in 8u291. These versions of TLS are old, insecure and deprecated; see https://en.wikipedia.org/wiki/Transport_Layer_Security
This is mentioned in the 8u291 release notes.
My advice would be to find out why your build system is not using TLS 1.2 or later. Then upgrade / fix that.
You can test if this is the problem by running curl
with the --tlsv1.2
option.
QUESTION
I am trying to build an android image, the build system by default uses jack server which keeps on failing again and again. Can any body tell me how can i fix it.
I get the following error during build
FAILED: setup-jack-server /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 4.11.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.32.CANDIDATE.jar 4.32.CANDIDATE || exit 47 )" Writing client settings in /home/test/.jack-settings Installing jack server in "/home/test/.jack-server"
Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/test/.jack-server/server.jks -destkeystore /home/test/.jack-server/server.jks -deststoretype pkcs12".
Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/test/.jack-server/client.jks -destkeystore /home/test/.jack-server/client.jks -deststoretype pkcs12". Communication error with Jack server (58), try 'jack-diagnose' or see Jack server log Failed to contact Jack server: Problem reading /home/test/.jack-server/client.pem. Try 'jack-diagnose' Failed to contact Jack server: Problem reading /home/test/.jack-server/client.pem. Try 'jack-diagnose'
Jack server diagnose also dosen't give any usefull information
./prebuilts/sdk/tools/jack-diagnose error: process ID list syntax error
Usage: ps [options]
Try 'ps --help ' or 'ps --help ' for additional help text.
For more details see ps(1). Port 8077 is used by another process (pid=), please ensure to free the port or change port configuration in '/home/test/.jack-settings' and '/home/test/.jack-server/config.properties' error: process ID list syntax error
Usage: ps [options]
Try 'ps --help ' or 'ps --help ' for additional help text.
For more details see ps(1). Port 8076 is used by another process (pid=), please ensure to free the port or change port configuration in '/home/test/.jack-settings' and '/home/test/.jack-server/config.properties'
and jack program throws an error for open SSL connect.
SSL error when connecting to the Jack server, retrying with debug
- Trying 127.0.0.1...
- TCP_NODELAY set
- Connected to localhost (127.0.0.1) port 8076 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: /home/test/.jack-server/server.pem CApath: /etc/ssl/certs } [5 bytes data]
- TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data]
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8076
- Closing connection 0
Can anybody please help me out in resolving this. I am struggling to get a clean build.
...ANSWER
Answered 2021-May-11 at 16:03When Jack diagnose gives error 35 (SSL error) the following steps worked for me
- Edit java.security file under /etc/java-8-openjdk/security/
- Remove TLSv1, TLSv1.1 from jdk.tls.disabledAlgorithms
- Restart the jack server:
- cd /prebuilts/sdk/tools/
- ./jack-admin kill-server
- ./jack-admin start-server
QUESTION
System: ubuntu 18.04 environment:VirtualBox The first time I compiled the AOSP source code on Ubuntu 18.04, it passed, and the second time I compiled it failed. Here is an error message.
...ANSWER
Answered 2021-May-03 at 14:27I just found the answer, see the link below enter link description here
Change the code to this, from /etc/java-8-openjdk/security/java.security remove TLSv1, TLSv1.1.
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA,
DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL,
include jdk.disabled.namedCurves
QUESTION
When i tried to integrate Google Kythe
system with my own Android source code.
And i found i need to generate compile_commands.json
first.
So i run command prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-$target.ninja -t compdb
, however generate nothing.
ANSWER
Answered 2021-Apr-13 at 06:52OK, it seems only latest ninja process could generate the json file. so i download from github and compile ninja myself. now it works
QUESTION
I tried to build AOSP using the following commands:
...ANSWER
Answered 2021-Mar-25 at 19:50I'm not an usual contributor to S/O but I spent a lot of time fixing this particular problem for someone so I thought it'd be nice if I gave you my solution for this.
zipinfo is likely crashing because there is a preloaded library called libAppProtection, installed in /usr/local, that crashes under the conditions imposed by the AOSP build. I had found a workaround for this particular problem but if the cause of the problem is the same as what I faced, you will have further problems down the line for which you won't find a workaround.
GDB stacktrace of 'fec' another program crashing the same way
In Firefox shows only blank pages - even about:config is just white it describes that the library is related to Citrix Workspace App SDK.
If you observe the same thing I did when running zipinfo or fec (in my case) with GDB, I can only recommend that you remove this program while you deal with building the AOSP sources. I know this has worked and did not cause any drawbacks for the client. Maybe just disabling the preloaded library in /etc/ld.so.preload would work but I have not tried that and since I don't know anything about Citrix, I would advise against doing that.
QUESTION
For compiling native prebuilt libraries we use NDK toolchain with these two options -DANDROID_ABI
and -DANDROID_PLATFORM
, so in case if we support android-28
, android-29
platforms and armeabi-v7a
, arm64-v8a
, x86
, x86_6
ABIs we will have to sets of produced libraries:
ANSWER
Answered 2021-Feb-05 at 10:59You can choose the platform as part of the build because that determines what devices your code will be compatible with. If you target 21, your code isn't guaranteed to run on anything older than Lollipop.
Apps are forward compatible though, so if you build for 21 you will run on Lollipop and everything after (with very rare exceptions, extremely rare as long as you stick to defined behaviors of public APIs). That's why you don't need to package the library for every platform, only the oldest you support.
QUESTION
I m trying to build Android s emulator: https://android.googlesource.com/platform/external/qemu.git/+/refs/heads/aosp-emu-30-release
I cloned the entire AOSP source and added some missing packages to the default.xml from repo, here they are:
...ANSWER
Answered 2021-Feb-04 at 02:44There s no platform/external/grpc
repo, but there is platform/external/grpc-grpc
which as you see below, I made appear at the path external/grpc
:
QUESTION
This software compiles for x86_64 linux and windows. It's written in C+ and relies heavily on the SDL as well as depending on libraries such as curl, microhttp, libharu, etc. Some 2 years ago it also compiled for android x86 and arm32 using Pelya's [commandergenious][1] port but that knowledge was lost, development continued and i'm the newcomer. I'm not that versed on Android or their take on makefiles.
I managed to include one library (haru) in commandergenious but trying to include other libraries resulted in multiple failures, so kinda stopped at that. I also had some issues using custom makefiles as suggested in the readme.
I've adapted an existing regular makefile but it ends up conflicting with existing dependencies, i.e., ndk-compiled cyptopp.so would cause undefined symbols on clang-compiled app, even though the signatures are "the same" (std::__ndk1::basic_string
vs std::__cxx11::basic_string
).
I've since taken to recompiling the code with clang instead of gcc (fixing a few bugs on the way due to clang being more strict) and using Android.mk
instead of regular makefiles so i could cross-compile all components using just the NDK.
I tried giving a go at Android's LOCAL_MODULE
s but the interdependent LOCAL_PATH
s became too messy. I may get back to this route using [prebuilts][2] instead. It'll help segregate some issues should they arise.
Since my host is x86_68 Ubuntu Xenial i took the (maybe incorrect) path of setting up a directory with armeabi-v7a arm64-v8a x86 x86_64 subdirectories and ar x
ing .deb files (from Debian Buster as Xenial has sparse arm .debs) into those for all the libraries and includes i need. (It's $(HOME)/dev/multiarch
bellow.)
At the moment, this is my Application.mk
...ANSWER
Answered 2021-Jan-11 at 21:12 MULTILIB_IDIR += -I$(HOME)/dev/multiarch/$(TARGET_ARCH_ABI)/usr/include/arm-linux-gnueabi
MULTILIB_LDIR := -L$(HOME)/dev/multiarch/$(TARGET_ARCH_ABI)/usr/lib/arm-linux-gnueabi
MULTILIB_LDIR += -L$(HOME)/dev/multiarch/$(TARGET_ARCH_ABI)/lib/arm-linux-gnueabi
QUESTION
I am trying to create a path variable for prebuilt libraries in Android.bp file. these libraries are placed in /prebuilts/sdk/current/androidx/m2repository/androidx/room/room-common/2.3.0-alpha02/ and Android.bp is in other directory. how can i create link for prebuilt in android.bp file to access libraries.
...ANSWER
Answered 2020-Dec-27 at 09:42I found my answer, link below path in Android.bp file. i wanted to access header files inside glm.glm.hpp and it was in device/genric/vulkan-cereal/include location, so below solution worked for me.
include_dirs: [ "device/generic/vulkan-cereal/include"]
as earlier my lib location was prebuilt for room-common libraries later I changed and if it was in prebuilt directory also we can provide prebuilt directory path instead of above path
QUESTION
my question is similar to #### failed to build some targets (1 seconds) #### but there were no further updates.
I'm trying to compile the image for AOSIP branch ten for OnePlus 7T and I used the following commands:
...ANSWER
Answered 2020-Dec-21 at 05:40Can you please state the system you are building it on, moreover whenever you clone anything from https://android.googlesource.com/ , always specify the branch name using -b else you will end up cloning the default branch of the repo. For ex, if you are cloning darwin for a Android Q/10 Rom, clone it like git clone https://android.googlesource.com/platform/prebuilts/go/darwin-x86 -b android-security-10.0.0_r49
You can find the branch names on left bottom of the website.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install prebuilts
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page