Changing Android Device orientation with ADB

Instead of using “adb shell content”, there’s a more clean way by using “adb shell settings”. They are doing the same thing, put value to settings provider. adb shell settings put system accelerometer_rotation 0 #disable auto-rotate adb shell settings put system user_rotation 3 #270° clockwise accelerometer_rotation: auto-rotation, 0 disable, 1 enable user_rotation: actual rotation, clockwise, … Read more

Android Studio BumbleBee pair wifi not working

I had this issue; it paired fine the first time in-app but never worked again when trying to pair or connect directly from Android Studio. What I now do to connect/pair is the following: Open your phone’s settings and be sure to enable wireless debugging in developer options Click Pair device with pairing code, and … Read more

Android Studio Bumblebee Wifi pairing Issue

I had a similar problem and managed to solve it the following way: Quick fix In Android Studio, File -> Settings Build, Execution, Deployment -> Debugger Under Android Debug Bridge (adb), uncheck ‘Enable adb mDNS for wireless debugging’ and Apply Wait some seconds for changes to take effect Recheck ‘adb mDNS for wireless debugging’ and … Read more

How to debug in Android Studio using adb over WiFi

You can find the adb tool in /platform-tools/ cd Library/Android/sdk/platform-tools/ You can check your devices using: ./adb devices My result: List of devices attached XXXXXXXXX device Set a TCP port: ./adb shell setprop service.adb.tcp.port 4444 ./adb tcpip 4444 Result message: restarting in TCP mode port: 4444 To init a wifi connection you have to check … Read more

ADB access denied to data folder?

Update 2023; accessing data is not even through USB (file transfer mode) possible anymore (since a few Android and/or Samsung-device updates ago). Root your device. Original answer; Starting from API level 8 (Android 2.2), for the debuggable application (the one built by Android Studio all the times unless the release build was requested), you can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)