Monthly Archives: September 2015

Android Studio – Unable to run mksdcard SDK tool

When I was installing Android Studio on Ubuntu this error occurred which halted the installation

It happened twice and I thought sharing this might help others. It got resolved by running following command.

 

 

JDK Required: ‘tools.jar’ seems to be not in Studio classpath

I was installing android studio on ubuntu and come across this error.

After lots of searching I found this simple soutuion that worked for me.

This is caused by having JAVA JRE installed as opposed to JAVA JDK. Installing JDK resolve the problem.

 

Replace local branch with remote branch entirely

Simply:

Assuming that “origin/master” is your remote branch you want to reset to. This updates your local HEAD branch to be the same revision as origin/master, and --hard will sync this change into the index and workspace as well.

ref – http://stackoverflow.com/questions/9210446/replace-local-branch-with-remote-branch-entirely

Install composer on Ubuntu

To install composer on Ubuntu

Create an alias to call it by typing ‘composer’

 

Rename branch for both local and remote Git repositories