Running Node.Js on Android

I just had a jaw-drop moment – Termux allows you to install NodeJS on an Android device! It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network. There is a medium post that explains the installation process Basically: 1. Install termux 2. … Read more

Running Node.Js on Android

I just had a jaw-drop moment – Termux allows you to install NodeJS on an Android device! It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network. There is a medium post that explains the installation process Basically: 1. Install termux 2. … Read more

Getting warning “NDK is missing a ‘platforms” directory.’ with no NDK

Please refer to these two links: How to fix android studios 2.3 NDK bug? https://github.com/requery/requery/issues/467 This is caused by upgrading to Android gradle plugin 2.3 (com.android.tools.build:gradle:2.3.0). In previous versions of the plugin the databinding package name (where the BR file is generated) was provided on an annotation in a generate file. In the new version … Read more

How to use su command over adb shell?

Well, if your phone is rooted you can run commands with the su -c command. Here is an example of a cat command on the build.prop file to get a phone’s product information. This invokes root permission and runs the command inside the ‘ ‘. Notice the 5 end quotes, that is required that you close ALL your end quotes or you … Read more

What causes signal ‘SIGILL’?

I’m porting some C++ code to Android using NDK and GCC. The code basically runs. At one point, when debugging in Eclipse, the call causes this error: What does that mean? Has the compiler generated illegal code for some reason? I have a breakpoint in the constructor (which does nothing), and it’s not hit. I … Read more

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I want to compile an open source android project (Netguard) using gradel (gradlew clean build) But I encountered this Error: I serached but didn’t find enything helping. Here is the main build.gradle: And here is the build.gradle of the app project: And I’m using gradle-2.9-all and android-ndk-r10e. I don’t know if I should mention anything else, so comment if you need any information.

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I want to compile an open source android project (Netguard) using gradel (gradlew clean build) But I encountered this Error: I serached but didn’t find enything helping. Here is the main build.gradle: And here is the build.gradle of the app project: And I’m using gradle-2.9-all and android-ndk-r10e. I don’t know if I should mention anything … Read more