ubuntu-15.04

Can not run android/sdk/build-tools/23.0.2/aapt

房东的猫 提交于 2020-01-22 08:33:34
问题 Recently installed Android Studio 1.0.1 (old version for some reasons) on Ubuntu 15, and I am trying to create a new project. Whenever I build it I get this error Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": error=2 No such file or directory" The file exists there. 回答1: sudo apt-get install lib32stdc++6 lib32z1 回答2: please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple : compileSdkVersion "23" buildToolsVersion "23

Can not run android/sdk/build-tools/23.0.2/aapt

别等时光非礼了梦想. 提交于 2020-01-22 08:30:09
问题 Recently installed Android Studio 1.0.1 (old version for some reasons) on Ubuntu 15, and I am trying to create a new project. Whenever I build it I get this error Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": error=2 No such file or directory" The file exists there. 回答1: sudo apt-get install lib32stdc++6 lib32z1 回答2: please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple : compileSdkVersion "23" buildToolsVersion "23

fiware-orion — Install Orion Context Broker 4.3.2 (ReleaseName) / 0.22.0 (Version) on Ubuntu 15.04

戏子无情 提交于 2020-01-05 23:44:27
问题 I am willing to install the latest release of Orion Context Broker (ReleaseName: 4.3.2 / Version: 0.22.0) from https://forge.fiware.org/frs/?group_id=7#title_data-orioncontextbroker on Ubuntu 15.04.. I did some research on this issue already. To be precise it became a longer description. If that's to much text just reading the bold parts will probably do . I managed the absence of a native .deb-package (see this) by using converting (alien --scripts contextBroker-0.22.0-1.x86_64.rpm ) the

How to run ipython from venv?

筅森魡賤 提交于 2019-12-22 10:46:11
问题 My ipython works okay, but when I try to open ipython console from venv I am getting: Traceback (most recent call last): File "/usr/bin/ipython3", line 4, in <module> from IPython import start_ipython ImportError: No module named 'IPython' Any ways to do this? 回答1: Did you by any chance create the venv with the --system-site-packages flag and install ipython with pip ? This combination is broken in my experience ( Python 3.6.2 , pip 9.0.1 ). Two workarounds are: Use virtualenv instead of venv

Rails server is running, but cannot connect/ping/telnet to localhost

醉酒当歌 提交于 2019-12-11 13:50:15
问题 I'm working on ubuntu 15.04 (it's not a VM). I installed rails, ruby and bundler. Everything seems to work fine when I launch the server, as I get this: sudo rails s -p 8080 Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring. => Booting WEBrick => Rails 4.2.5.2 application starting in development on http://localhost:8080 => Run `rails server -h` for

Tomcat deployment failing

冷暖自知 提交于 2019-12-11 07:34:37
问题 I have 2 environments. The first one is a mac where I have installed Tomcat 8 by extracting the .zip file downloaded from Apache's homepage. The second one is a virtual machine on this mac which runs Ubuntu 15.04. I have my web application as a war-file and can deploy that on my mac's Tomcat without any problem. Now, I want to do exactly the same deployment on the Ubuntu. So I copy the Tomcat-folder over to my Ubuntu along with my war-file and try to do the same deployment there. Before I do

How can I change webcam properties that OpenCV doesn't support but v4l2 API does?

人走茶凉 提交于 2019-12-10 17:14:00
问题 I'm using OpenCV 3.1 and Python 2.7 to capture video frames from my webcam, Logitech C270 . I'm also using video4linux2(v4l2) to set the properties of my camera but this led to a few problems. My OS is Ubuntu 15.04 . The specific property I'm trying to change is absolute_exposure . I'm able to change it manually using v4l2 API via terminal, with the command v4l2-ctl --set-ctrl exposure_absolute=40 , and it works nice but I need to write a script for this task. Using OpenCV's set(cv2.CAP_PROP

Undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'

不问归期 提交于 2019-12-10 15:12:55
问题 I just pulled a git repository in which me and my friends are developing an application. When I am running make I am facing this error: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:182: recipe for target 'bin/release/ns' failed make[1]: * [bin/release/ns] Error 1 Makefile:133: recipe for target 'release' failed make: * [release] Error 2

Prevent kernel from processing TCP segments bound to a raw socket

喜你入骨 提交于 2019-12-10 14:13:43
问题 According to http://linux.die.net/man/7/raw , raw_socket = socket(AF_INET, SOCK_RAW, int protocol); is the way to create a raw socket. I assume that raw-sockets are created on layer-3 and so protocol shouldn't be IPPROTO_TCP / IPPROTO_UDP but it should be IPPROTO_IP . Is this understanding correct? But when I create the raw socket with protocol as IPPROTO_IP ( *socketFd = socket(AF_INET, SOCK_RAW, IPPROTO_IP); ), socket creation fails with the error Protocol not supported When I create the

Install Genymotion 2.6.0 on Ubuntu 15.04

筅森魡賤 提交于 2019-12-08 00:51:10
问题 After installing the Ubuntu 15.04 Genymotion it failed to start with the following error. genymotion: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory So I installed libdouble-conversion1 , but it still failed to start with the following log output. Command output: genymotion Logging activities to file: ~/.Genymobile/genymotion.log Aborted (core dumped) Log output: Jan 9 13:40:10 [Genymotion] [Fatal] This application