![]() You can also choose to use another IDE (for example NetBeans) if you prefer, but because Eclipse is the default I'll cover only Eclipse in this tutorial. The Android ADT package is being bundled with the Eclipse IDE by default. You'll need Java to use Eclipse, so install it first:Įclipse is an IDE. You can set this up in less than 5 minutes, even as a beginner. This may seem to be a long answer, but I tried to explain every step as detailed as possible so nothing can go wrong. Type android into the terminal and, if Step 5 was done correctly, the Android SDK Package Tool will start, where you can finish your installation. That is, you will not get a "command not found" error if you gave it without its absolute path. Now all the commands adb, android, emulator etc can be simply executed in the terminal without giving absolute paths. Here you have to replace /path/to/tools and /path/to/platform-tools by the absolute paths according to where you unzipped the SDK or the ADT bundle download. (Do not close the file) export PATH=$:/path/to/platform-tools Press CTRL + ALT + T to open a new terminal and type : gedit ~/.bashrcĪdd the following to the top of the entire text and then save it. ![]() cd /home/casper/Downloads/android-sdk-linux/toolsĬlick Accept License and then click Install. You can just type cd and right click to past the location to the terminal. Where /home/casper/Downloads/android-sdk-linux/tools is the location I copied previously. Press the keys CTRL + ALT + T to open a terminal and then use the following command. Now you can see that a file called android-sdk-linux appears as if the following.Įnter the folder tools and then copy the folder location. Rigth click the file and select Extract Here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |