Android Studio Error:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts (No such file or directory)
1. Initializing a Build Environment 1.1 $sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-d
Today I bought a new laptop with Ubuntu and when I tried to open my android project from my old laptop I got
Error:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts (No such file or directory).
So I checked the directory and I have the file so I don't know what to do. Please help!java android ubuntu android-studio
this question edited Jul 18 '15 at 7:23 asked Jul 17 '15 at 17:58 Deyan Dimitrov 13 4
That's an issue due to the installation of java on your machine.
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts is a symlink to /etc/ssl/certs/java/cacerts
That file is generated by a post install script. IIRC the package is openjdk-7-jre-headless but I may be wrong.
Btw the script runs sudo update-ca-certificates and that generates the cacerts file.
So long story short, run sudo update-ca-certificates to generate the file and then you will manage to sync the grandle files with the project.
this answer answered Sep 6 '15 at 7:50 GNUton 61 3 this actually solves the issue – Bwire Nov 2 '15 at 17:01
- 2ubuntu12.04lts-amd64 +android-4.2_r1 + android-goldfish-3.4,install jdk6 on ubuntu12.04 amd64,4.1 make Error:：/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory