ubuntu-18.04

Emulator: cannot find ram.img on ubuntu

自作多情 提交于 2019-12-07 04:29:23
问题 I simply set up a Nexus 5x device with API 27 in the default emulator in Android Studio 3.5. When I was trying to boot the device, the device just closed after the first 'Google' sign. The event log there's the following output: Emulator: statvfs('/home/qiufeng/.android/avd/Nexus_5X_API_27.avd/snapshots/default_boot/ram.img') failed: No such file or directory Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) However, the ram.img exists. I also changed the

Android Emulator crashes with SIGSEGV on Ubuntu 18.04

落爺英雄遲暮 提交于 2019-12-06 00:10:56
问题 Android Studio version: Android Studio 3.1.2 Build #AI-173.4720617, built on April 14, 2018 It's installed from Ubuntu's snap store. I installed the kvm using 1. Setting Up Android Studio on Ubuntu · uw-it-aca/spacescout-android Wiki. I tried what Solve Android Studio AVD issue with Ubuntu distros - cialu.net suggested, but now the lib64 folder doesn't contain libstdc++ . The closest I could find is libc++.so.1 , and I tried to install it using sudo apt install libc++1 and link it similarly,

Oracle JDK 11 error occuring every time, I install anything in terminal

余生长醉 提交于 2019-12-05 16:25:22
Below is the Error message I get every time I install anything in the terminal . Its kinda stuck there for a while. I tried no. of solutions from StackOverflow but nothing worked. Before installing this package, please download the Oracle JDK 11 .tar.gz file with the same version as this package (version 11.0.4), and place it in /var/cache/oracle-jdk11-installer-local, E.g.: sudo mkdir -p /var/cache/oracle-jdk11-installer-local sudo cp jdk-11.0.4_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/ sha256sum mismatch jdk-11.0.4_linux-x64_bin.tar.gz Oracle JDK 11 is NOT installed. dpkg

Emulator: cannot find ram.img on ubuntu

穿精又带淫゛_ 提交于 2019-12-05 13:56:10
I simply set up a Nexus 5x device with API 27 in the default emulator in Android Studio 3.5. When I was trying to boot the device, the device just closed after the first 'Google' sign. The event log there's the following output: Emulator: statvfs('/home/qiufeng/.android/avd/Nexus_5X_API_27.avd/snapshots/default_boot/ram.img') failed: No such file or directory Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) However, the ram.img exists. I also changed the permission of the whole directory and files and It didn't work. I've tried cold booting it... And that broke

Ubuntu 18.04 start mysql without root privilege

落爺英雄遲暮 提交于 2019-12-05 05:31:38
问题 I just installed ubuntu 18.04 and installed LAMP on it, however I had trouble using mysql without the root privilege. when I write: mysql -u root -p and enter the password I configured it throws access denied. unless if I write sudo mysql -u root -p and enter the password that I'm able to connect. But I don't want the sudo cause it prevents having workbench to connect to mysql, same applies to phpmyadmin too. Any hints on how to fix that? 回答1: It should only be the "-u root" user that

lower_case_table_names=1 on Ubuntu 18.04 doesn't let mysql to start

≯℡__Kan透↙ 提交于 2019-12-05 01:18:06
问题 I have installed mysql community server 8.013 on ubuntu 18.04 and I have the following issue. I want to set lower_case_table_names=1 in order to have case insensitive table names in my db. I edited /etc/mysql/mysql.conf.d/mysqld.cnf and added the following line under [mysqld] lower_case_table_names=1 mysqld.cnf now is as follows [mysqld] pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock datadir = /var/lib/mysql log-error = /var/log/mysql/error.log lower_case_table

Apache shutdown - Couldn't grab mutex

醉酒当歌 提交于 2019-12-04 09:02:43
For some reasons unknow to me, Apache is crashing. This is the apache log at the moment of the crash: [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1122] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1116] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.198767 2018] [mpm_prefork:emerg] [pid 1115] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.199523 2018] [mpm_prefork:emerg] [pid 3924] (43)Identifier removed: AH00144: couldn't grab

Android Emulator crashes with SIGSEGV on Ubuntu 18.04

不问归期 提交于 2019-12-04 07:47:29
Android Studio version: Android Studio 3.1.2 Build #AI-173.4720617, built on April 14, 2018 It's installed from Ubuntu's snap store. I installed the kvm using 1. Setting Up Android Studio on Ubuntu · uw-it-aca/spacescout-android Wiki . I tried what Solve Android Studio AVD issue with Ubuntu distros - cialu.net suggested, but now the lib64 folder doesn't contain libstdc++ . The closest I could find is libc++.so.1 , and I tried to install it using sudo apt install libc++1 and link it similarly, but it just got my pc stuck. I also looked at the threads linked by Android emulator segmentation

Ubuntu 18.04 start mysql without root privilege

人走茶凉 提交于 2019-12-03 20:22:24
I just installed ubuntu 18.04 and installed LAMP on it, however I had trouble using mysql without the root privilege. when I write: mysql -u root -p and enter the password I configured it throws access denied. unless if I write sudo mysql -u root -p and enter the password that I'm able to connect. But I don't want the sudo cause it prevents having workbench to connect to mysql, same applies to phpmyadmin too. Any hints on how to fix that? It should only be the "-u root" user that requires sudo. It's good practice to not use root for most access anyways, so just login as root using sudo and

lower_case_table_names=1 on Ubuntu 18.04 doesn't let mysql to start

∥☆過路亽.° 提交于 2019-12-03 17:13:08
I have installed mysql community server 8.013 on ubuntu 18.04 and I have the following issue. I want to set lower_case_table_names=1 in order to have case insensitive table names in my db. I edited /etc/mysql/mysql.conf.d/mysqld.cnf and added the following line under [mysqld] lower_case_table_names=1 mysqld.cnf now is as follows [mysqld] pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock datadir = /var/lib/mysql log-error = /var/log/mysql/error.log lower_case_table_names=1 I stopped the mysql server using sudo service mysql stop Then I tried to start it again using sudo