Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio 2020.3.1 No debuggable processes in logcat when phone detected

Hellow Everyone!

I have problem with new version of android studio 2020.3.1 and android studio 4.2.2. when I plug in my phone to debug apps, logcat can detect my phone, but I can not choose process. It said "no debuggable processes",not common "no debuggable applications".

I don't think there is a problem with projects and devices because everything is fine on version 4.1 of Android Studio and this problem only occurs on version 2020.3.1.

This is a problem for all devices and all projects. I checked all the following but the problem was not resolved:

1- debuggable in enable in gradle

2- choose debug in build variant

3- kill adb and strart it again

4- invalidate cache

like image 929
Farzad Kamali Avatar asked Aug 06 '21 14:08

Farzad Kamali


1 Answers

For developers who are living in Iran it's related to sanctions. after version 4.2 is released google use more ways to identify where we are come from and two possible of them is Region and Regional Format. therefore You should change them to another country and then update sdk to solve the problem.

for change region to united states in windows 10 :

setting -> time & language -> region -> select united states in country or region drop down .

like image 141
Farzad Kamali Avatar answered Sep 20 '22 00:09

Farzad Kamali