Skip to content

Tag: android

android sdk build tools 25 on centos 6.8 error

I’m using jenkins for CI and after updating my build tools version to 25 I got this error: I need to use buildtools 25 and my server centos version is 6.8. How can I update glibc ? Answer Apparently, the program you are trying to use was not compiled for Red Hat Enterprise Linux 6 (which only provides g…

how to compile wxwidgets on aarch64 with neon disabled

I need to use a wxwidgets application on my rooted device running Ubuntu yakkety but when I compile with default settings and run it, this is what happens- What do I need to do to disable the neon specific code? Clarification This is not cross compiling. I am compiling wxwidgets on the device itself, i.e., on…

Shell script works in bash but not on ‘adb shell’

Below shell script works perfectly fine in bash shell. But produces an error in android shell. May be it has got to do something with the shell that android is using. But how can I resolve it? If not a perfect solution, an hack would also do for me. Shell-script : O/p In android shell, O/p on bash shell(Linux…

Ifconfig and route command on Android

I wondering whether exist way to get result of ifconfig and route commands result programmatically in Android device? Can I do this in non rooted device? Answer In your AndroidManifest.xml file Your code: Output You can’t reach to know whether you are connected via wifi or network using WifiManager as W…

“Too many open files” – can’t remove a directory

I’ve created a large tree of empty directories in an Android emulator, around 1024. Now whenever I try to remove it with rm -rf 1/ I get a “Too many open files” error. How can I remove it? Answer Please try to use ulimit to set the open file handle as 4000 or more, you can use “ulimit …