2016-08-22 10 views

답변

3

:

adb shell "dumpsys package | grep -A1 'userId=UID'" 

:

가 PC에 adb을 설정, PC의 shell를 시작하고 입력 장치를 PC에 연결 10102과 같이 UID을 찾고 ID으로 바꿉니다.

예 :

bash-4.2# adb shell "dumpsys package | grep -A1 'userId=10102'" 
    userId=10102 
    pkg=Package{46171ce com.android.chrome} 
bash-4.2# 

패키지 {would show the package name of the app in between whitespace and} 포함하는 행. adb shell dumpsys 패키지 PKG_NAME (PKG_NAME → package name of an app)을 사용하면 해당 패키지/app에 대한 자세한 내용을 알 수 있습니다.