android

Unable to establish a connection to adb

  • by

1.0 Problem

After opening an Android project in Studio running under Ubuntu 15.04 Linux, the following error was displayed,

Unable to establish a connection to adb. This usually happens if you have an incompatible version of adb running already. Try reopening Studio after killing any existing adb daemon.
Read more

Invalid Gradle JDK configuration found

  • by

1.0 Problem

After starting Android studio, running on Ubuntu 15.04 Linux, the following error was reported:

Invalid Gradle JDK configuration found. Open Gradle Settings. Platform SDK does not point to valid SDK (/usr/lib/jvm/jdk1.8.0_40).

2.0 Solution

The problem was solved by clicking in Android Studio, File -Project Structure -SDK Location.… Read more

Importing an Android Studio project in Git

  • by

1.0 Introduction

Importing an Android Studio project into Git is easy. First create the project or import an existing project in Android Studio. In this case a placeholder project HelloWorld was created. The directory listing of the project root directory looks like this.… Read more