Gradle proxy configuration

Basically, there are TWO kind of proxies you need to configure for your gradle to work properly behind a proxy, i.e. fetching the online dependencies. proxy for gradle proxy for maven Let's assume that the proxy server and port number are as below: proxy: my-example-proxy.com port: 8080 Proxy for gradle Under your Android project root directory, …

Continue reading Gradle proxy configuration

Advertisements

Cannot launch AVD in emulator on Debian OS

Problem In the recent android studio update, google uses a libstdc++ that is incompatible with the intel driver installed on the system. This will cause an error like below: Cannot launch AVD in emulator. Output: libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL …

Continue reading Cannot launch AVD in emulator on Debian OS

Setup Jenkins with Docker on Mac

Environment OS: macOS High Sierra 10.13 Download Docker for Mac Create Docker ID You need to go to https://www.docker.com/ to create you own docker id. Download Jenkins CI with blue ocean plugin. Download link: https://hub.docker.com/r/jenkinsci/blueocean/ . Follow the installation instructions to install the jenkinsci/blueocean Docker container. And do remember to launch the Docker.app after installation as launching the …

Continue reading Setup Jenkins with Docker on Mac

Mac Vim Usage – Customization

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Plugins manager We have learned about vim basics (Mac Vim Usage – Basics) and some advanced usages (Mac Vim Usage – Advanced). Now let's apply …

Continue reading Mac Vim Usage – Customization

Mac Vim Usage – Basics

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Environment System Version: macOS 10.13 (17A405) Kernel Version: Darwin 17.0.0 Vim installation For how to install vim on Mac, you can refer to Install vim on …

Continue reading Mac Vim Usage – Basics

Install vim on macOS High Sierra using source code

Vim articles My vim related articles Mac Vim Usage – Basics Mac Vim Usage – Advanced Mac Vim Usage – Customization Install vim on macOS High Sierra using source code Install vim from source code Using git to clone the source code and change directory to vim/src, build the source code using make and then …

Continue reading Install vim on macOS High Sierra using source code

Android JNI – NIO and Reflection Support

NIO Support The NIO-related entry points allow native code to access java.nio direct buffers. The contents of a direct buffer can, potentially, reside in native memory outside of the ordinary garbage-collected heap. For information about direct buffers, please see New I/O APIs and the specification of the java.nio.ByteBuffer class. Three new functions introduced in JDK/JRE 1.4 allow JNI code to create, …

Continue reading Android JNI – NIO and Reflection Support