How to fix: “java.io.IOException: grpc failed” while using Geocoder.getFromLocation

Have you ever seen a crash or error logs like below, when accessing location data in Android. [bash] I Geocoder: Geocoder getFromLocation — mService = [email protected], ex = grpc failed, return results = [] D AndroidRuntime: Shutting down VM E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: com.your.packagename, PID: 19452 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException E … Read more

Resolved : Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

If you are trying to install some android application which is not downloaded from Android Playstore but has been shared by someone as apk, there are higher chances you may get a below error, while trying to install using adb install, This means that, the shared application has some test packages, so unless those has … Read more

Solved : fatal error: pcap.h: No such file or directory

If you are writing some packet sniffing code using libpcap on Ubuntu Linux, there are higher chances you may get an error like below, during the first compilation. [bash] sniffer.c:1:18: fatal error: pcap.h: No such file or directory compilation terminated. [/bash] Solution : The above error shows we are missing pcap.h in current development environment, … Read more

Solved – QA Issue: Files/directories were installed but not shipped in any package

If you are compiling some recipe which you have written recently, you might seen an error like below, [ here example recipe is predefine_0.1.bb, which was a simple recipe to add precompiled helloworld binary to filesystem. [c] NOTE: Executing RunQueue Tasks<br> ERROR: predefine-0.1-r0 do_package: QA Issue: predefine: Files/directories were installed but not shipped in any … Read more