RSS

Category Archives: Linux

Linux

vmware workstation unrecoverable error (vcpu-0)


When you install some virtual OS using vmware workstation or vmware player, if you encounter below error:

unrecoverable error (vcpu-0)

Try below actions:

  • open *.vmx file in the folder where your OS is located
  • append below line to the tail of the vmx file (you can put this line anywhere in the vmx file, and vmx file will be auto-sorted for you)

smc.version = 0

image

That is it! Happy working!

Advertisements
 
Leave a comment

Posted by on December 12, 2016 in General, Linux, Mac, Windows

 

Tags: , , , , , , , , ,

Visual Studio Code Download links


Today Apr 30, 2015, Microsoft announced Visual Studio Code, a free and stripped down version of Visual Studio which works on Mac OS X, Linux and Windows. Here are the direct download links:

Download VS Code for OS X
Download VS Code for Linux
Download VS Code for Windows

Website: https://code.visualstudio.com/
Happy coding.

 

Ubuntu: cannot apply the stored configuration for monitors


If you are running Ubuntu 13.04 or 14.04, some times after system startup, you will find an error message:

ubuntu cannot apply the stored configuration for monitors

image

To get rid of this, simply remove .config/monitors.xml.

Open a terminal and run below commands:

cd .config/
rm monitors.xml

Reboot and everything should work fine.

 
Leave a comment

Posted by on August 19, 2014 in Linux

 

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 local.properties file or with an ANDROID_HOME environment variable”

image

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

image

Read the rest of this entry »

 
8 Comments

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

 

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

How to Install CMake 3.0 on CentOS 6 / CentOS 7


Follow the step below to install CMake 3.0 on CentOS 7:

  • Download cmake-3.0.0.tar.gz to a folder, e.g. /home/user/Downloads
  • Open a terminal and run below commands:

tar -zxvf cmake-3.0.0.tar.gz

image
     This will unpack the gz file to a folder cmake-3.0.0 under the Downloads folder

image

 

Read the rest of this entry »

 
6 Comments

Posted by on June 18, 2014 in Linux, Programming

 

Tags: , , , , , , ,

Genymotion failed to start due to incorrect IP settings: “The Genymotion Virtual device could not obtain an IP address”


If you start running Genymotion, you might encounter the “The Genymotion Virtual device could not obtain an IP address” error, as shown below:

aa

To solve this:

Read the rest of this entry »

 
2 Comments

Posted by on May 29, 2014 in Android, Linux, Programming, Windows

 

Tags: , , , , , ,

Install Genymotion In Ubuntu


Genymotion is a great virtual machine, especially for emulating Android VMs.

In my earlier post, I have shown how to emulate Nexus 10 using Genymotion.

image

Recently, I need to do the same work in Ubunut, and found this post very useful to guide me in installation of Genymotion in Ubuntu. Below is from the post by Gregory Schier:

Read the rest of this entry »

 
1 Comment

Posted by on May 29, 2014 in Android, Linux, Programming

 

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