Sonia John Kavery
Sonia John Kavery

Reputation: 2129

Permission denied on ADB

I am using Ubuntu 64 bit Ubuntu 14.4 LTS. When I am trying get Android Device Monitor from android Studio "Initialising ADB" dialog shows forever.

Event Log error is

IllegalArgumentException: java.io.IOException: Cannot run program "/home/Android/Sdk/platform-tools/adb": error=13, Permission denied

Im using JDK java-7-oracle

Im getting list of devices on

adb devices

from terminal.

Can anyone help me?

Upvotes: 1

Views: 8918

Answers (2)

Rilwan
Rilwan

Reputation: 2301

Try all these:

  1. confirm that you get adb version by typing adb version in console. If working check the adb which is running is from/home/Android/Sdk/platform-tools/adb. use which adb for this.
  2. Check AVD manager and check that android tools are installed.
  3. Check that adb wasn't installed by other user.
  4. Install IA32 if you are using 64 bit architecture.
  5. Check permission for android sdk folder. if not give chmod -R 777 platform-tools.
  6. Check platform-tools folder is added to your path.

Try Try!

Upvotes: 3

ashish
ashish

Reputation: 217

Install the 32bit library

apt-get install ia32-libs

Upvotes: -2

Related Questions