Tag Archives: troubleshooting

‘’ not found, the solution

Recently, I build some open source Android libraries, and when building the project, below error occurred:

Error:(2, 0) Plugin with id ‘’ not found.

Quick Solution:

install Yarn, everything works!

Mac: brew install yarn
Windows: refer to this link.


A less elegant solution is to manually change the top level build.gradle:


dependencies {
classpath ‘’

To –>

dependencies {
classpath ‘’
classpath com.github.dcendents:android-maven-gradle-plugin:1.5  //Add this
classpath com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3      //Add this


Rebuild. It should work. But this is tedious, for every project (e.g. react-native), you repeat doing so?  Emmmmmm!

Now try to create a new react-native project using:

react-native init ProjectName

Run the project:

react-native run-android  // or
react-native run-ios

It compiles and works! Happy coding.


Posted by on April 18, 2017 in Android


Tags: , , , , , , , , , , , ,

How to use GitStats in Windows: A step-by-step tutorial

GitStats is a handy tool for analysis and statistics for a git repository. It is a statistics generator for git repositories, which produces some interesting statistics from the history of it. Currently HTML is the output format.



Read the rest of this entry »

Leave a comment

Posted by on September 18, 2016 in Programming


Tags: , , , , , , , ,

‘ipconfig’ is not recognized as an internal or external command

ipconfig is a commonly used command, but if you open a command window in Windows 8 or 8.1, and type :

ipconfig /all

Then most likely you will find below error:

‘ipconfig’ is not recognized as an internal or external command

To troubleshoot this, there is a simple trick:

Run the cmd by “Run as administrator”. That is it!


Leave a comment

Posted by on April 22, 2015 in Windows


Tags: , , , , ,

Vuforia: cannot detect image target and view 3D object in Unity

Using Vuforia’s Unity package it is easy to develop an AR based application. The full tutorials can be found in Vuforia’s web page: Getting Started with the Unity Extension. Here is the outline:

  • Download vuforia-unity-android-ios-xx-yy-zz.unitypackage here, or directly download this file here.
  • Drag this unitypackage file to Unity3d, this will import the entire package. Click import button in the  popup dialog.

  • image  imageimage image

    Read the rest of this entry »

    1 Comment

    Posted by on August 28, 2014 in Programming, Unity 3d


    Tags: , , , , , , , , , , , , ,

    Gradle: SDK location not found, the problem and solution

    In a recent project, I created a Gradle project in windows, but when I load the project in Ubuntu and Mac OSX, an error “SDK location not found. Define location with sdk.dir in the file or with an ANDROID_HOME environment variable”


    I then followed the instruction, and in the ~/.bashrc file, I added the environment variable ANDROID_HOME


    Read the rest of this entry »


    Posted by on July 2, 2014 in General, Linux, Mac, Programming, Windows


    Tags: , , , , , , , , , , , , ,

    Application 0x00000007 error and troubleshooting

    Recently I was asked to build a MFC application, and it worked on my development PC, but after packaging all the dlls, the application does not run, and an error with 0x00000007 pops up.

    I then opened the exe file with Dependency Walker:


    Read the rest of this entry »

    Leave a comment

    Posted by on February 27, 2014 in MFC, Programming


    Tags: , , , , ,