-
Notifications
You must be signed in to change notification settings - Fork 0
Android Tips
SaeHie Park edited this page Mar 27, 2019
·
6 revisions
Want to open multiple instances of Android Studio
Log to LogCat
#ifdef __ANDROID__
#include <android/log.h>
#endif
...
__android_log_print(ANDROID_LOG_DEBUG, "sometag", "test int = %d", testInt);
...
Ref
Get this problem ?
$ adb shell
error: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information
Set this rule:
$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
04e8
for Samsung
18d1
for Google