USB Debugging option greyed out

Finally figured out the solution to the problem, with the help of this post. When you connect your phone to your PC, using the USB cable, select the mode as PC Software. Now you should be able to enable USB Debugging.

How to handle .tar.md5 files

First of all tar -xf should work since tar continues while it matches its’ packing algorithm. If the file stops matching so would tar. Also most archive managers such as 7-zip or winrar will open it if you remove the “.md5”. They might print error regarding mismatch with the end of the file, ignore it. … Read more

Determining if an Android device is rooted programmatically?

Rooting detection is a cat and mouse game and it is hard to make rooting detection that will work on all devices for all cases. See Android Root Beer https://github.com/scottyab/rootbeer for advanced root detection which also uses JNI and native CPP code compiled into .so native library. If you need some simple and basic rooting detection check the code below: … Read more

How to disable Instant Run for Android Studio 3.0

Finally fixed! As other users on Linux and such saw the Instant Run option in the settings, I tried reinstalling and resetting the installation, following https://stackoverflow.com/a/19397632/1926621 Removed all old settings, and installation of Android Studio( kept the SDK files). Changed the path. Opened the same project, and the options were now there!

What’s the console.log() of java?

The Log class: API for sending log output. Generally, use the Log.v() Log.d() Log.i() Log.w() and Log.e() methods. The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE. Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. Outside of Android, System.out.println(String msg) is used.

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