Skip to main content

Setting Environment variable for Android on Windows 10

As per title say, I want to add the path for Android SDK to my Environment Variable so I can just call them from CMD outside their directory.

  1. Open Windows Explorer, look at the side bar, right click on "This PC"
  2. It will displays some option, straight up look at the end of list, which is "Properties" and click!
  3. It will open a windows and display some information about your PC
  4. Look on the left side bar, find "Advance System Setting" and Click on it.
  5. It will prompt another windows titled "System Properties". Look for a button named "Environment Variables", and click on it!

  6. You'll see another windows titled "Environment Variable". Proceed to add the path of your Android SDK and your Java Development Kit (JDK) and Java Runtime Environment (JRE) there.

    In my case, I already change the installation path to C: so I can easily locate the directory.

  7. In the same window, Select "Path" under System variables, and then click button "Edit...".

  8. Add "bin" path for you JDK and JRE in the path. Then, add "tools" and "platform-tools" path also in it.
  9. Once finish, click button "OK" on all windows.
  10. Now, open your command prompt. verify those setting by typing command such as:
java - to check JRE
javac - to check JDK
adb - to check Android SDK
If all command prompt shows proper answer, then your configuration is completed.

In case of fail, check your directory, make sure it is correct when you paste it.

Good luck and God speed.


Popular posts from this blog

Memilih Kamera Pertama Anda. Bahagian 2 Tambahan - Kamera Point and Shoot

Edisi Khas untuk kamera Point and Shoot. Penulis merasakan kamera jenis ini tidak mendapat perhatian yang baik dengan ciri yang kompak, ringan dan mudah dibawa. Kebanyakan keluaran lewat 2015 mempunyai spesifikasi yang bagus, setara dengan DSLR dan Mirrorless. Contoh Kamera Point and Shoot keluaran Sony yang terkini bernama Sony ZV-1 Saiz Sensor - Kebanyakan kamera sebegini sensor sebesar 1 inci sehingga APS-C.  Megapixel - Normalnya bermula 12 MP sehingga 26 MP. Hasil gambar juga baik, cuma kekurangan fungsi Penstabil (Stabiliser) menyebabkan kualiti gambar adalah bergantung kepada tetapan (setting) yang betul serta tangan pengambil gambar yang teguh. Saiz Kamera - Kerana saiz yang kompak, ia senang dibawa kemana-mana sahaja, tanpa memakan ruang pada beg mahupun poket. Saiz kecil juga nampak natural, tidak seakan menceroboh momen dengan saiz yang besar, membuatkan orang berasa tidak senang duduk. Versatil - Mempunyai kebolehan merakam video, jadi

ARP for Dummy like Me!

ARP used to map IP address to MAC address on data link layer. It mainly used when Host is connected over Ethernet. In long explanation, This protocol used to locate address of a Host (Physical/Virtual) in network.  The address is searched or "resolved" by sending an "information" to a server (other host).  The server after received the information will then identify itself and respond back with the network information.  The responded information contain the required address.  This always happen over Ethernet. Ethernet address dependent to the hardware which is Network Interface card. So, during ARP request, it try to ask which IP associated with which MAC address. If you have used wireshark, maybe you can remember on Info section, there are always message saying "Who has $IP". For example:  Situation where ARP is used. Someone with IP X.X.X.X try ping $IP = Y.Y.Y.Y. We assume, the source PC did not have the IP information from the Targe

Fixing Installation Problem in Kali Linux 2018.2 for VirtualBox and VMware Workstation. (gcc 7.3.0)

Hello All. Previously I had migrated my testing machine into a new laptop. Well, it is a refurbished laptop, Dell E7240. After finish installing Kali, I proceed to install VMware player. Unfortunately it does not running and keep asking for location of gcc 7.3.0. After giving up, I tried installing VirtualBox. Surprisingly it also failed. Both keep asking for location of gcc 7.3.0. So the solution that I discover is by running "sudo apt install virtualbox-dkms". After reboot, I just try to run the VMware again, it now able to run. Note: The way I did is after installing the virtualbox-dkms, I uninstall both virtualbox and vmware, restart the OS (I use Kali 2018.2) and install vmware again. It works flawlessly. Good Luck and Cheers!