How do I find my UID on Android?
Answer
To find the UID for your app, run this command: adb shell dumpsys package your-package-name . Then look for the line labeled userId . Using the sample dump above, look for lines that have uid=10007 . Two such lines exist—the first indicates a mobile connection and the second indicates a Wi-Fi connection.
Answer
To find the UID for your app, run this command: adb shell dumpsys package your-package-name . Then look for the line labeled userId . Using the sample dump above, look for lines that have uid=10007 . Two such lines exist—the first indicates a mobile connection and the second indicates a Wi-Fi connection.