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.

Comments

Popular posts from this blog

The 7 Deadly Diseases by Dr. William Edward Deming.

 Good advice to follow when it come to product development. I found this here: https://old.reddit.com/r/BuyItForLife/comments/lx0fyn/i_asked_an_automotive_engineer_whats_the_secret/ The diseases are: Lack of constancy of purpose : You must remain focused on doing the right things because they are the right things to do for your customer and to achieve quality. ITSM is not a fad it is a way of behaving. Emphasis on short-term profits : Cutting costs can bring short-term profits and are easy to achieve. But cutting costs can only go on for so long, before you have cut to the bone and have nothing left to cut. Evaluation by performance, merit rating, or annual review of performance : Management by objectives ends up focusing on the objectives and not on the management. It is about “hitting the numbers” and not improvement. Mobility of management : When management changes jobs constantly there is no continuity or constancy of purpose. Each time a new leader comes in, the efforts of quality

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

IP Fragmentation for Dummy like Me!

Recently I encounter this question, and for some reason I answer it wrong 😓  I answer "d", which if my boss saw me he would just slap me or something, hahahaha. So what is the right answer? Lets explore IP Fragmentation and seek the truth. In short. IP Fragmentation means in situation of where before transmission, when the IP packet is too large, larger than the Maximum Transmission Unit (MTU) of an interface, it shall be fragmented (split) or discarded, depends on situation. There are situation where fragmentation will occur. We will explore these 2 situation. 1 - Fragmentation at Router. During Packet transmission, PC will ask the router what is the MTU. It will later split the packet into several fragments. Those fragments will hold an identifier in the header. It will later reassembled by receiver into an original PDU (Protocol data unit, contains Packet Header and Packet Payload). This has disadvantage over the router where it will make router to work mo