Glam Prestige Journal

Bright entertainment trends with youth appeal.

I somehow messed up my android studio configuration. At least "adb" is not working anymore, which leads to the fact that I cannot see my connected phone for USB debugging.

Adb gives a "permission denied" and following the respective stackoverflow recommendations did not solve my problem (installing 32bit libraries, downloading older Android Studio version, chmod +x on adb)

Now I just want a clean new installation. But even that ends in the same error.

I already deleted 2 folders in my home directory (.android and .AndroidStudio4.0)

UpdateI could at least install Android adb globally using

sudo apt update
sudo apt-get install android-tools-adb android-tools-fastboot

which works inside the console and also lists my connected phone. However back in Android studio the phone is still not listed for debugging

1

1 Answer

I finally fixed my setup. The steps involve

sudo apt-get remove android-tools-adb android-tools-fastboot

then again delete

/home/user/.android
/home/user/.AndroidStudio4.0

My hunch is that the real culprit was that my android Sdk folder was not installed on my home partition

/home/user/Android

Instead I used a symbolic link to point to some larger partition (This setup used to work fine in the past, however).

Sorry for the unenlightening answer

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy