Start learning anroid with interest. I hope the process will not be too rough. I will record what I think is important every day for you to view. The reference document for self-study is "Secrets of Android Application Development". I heard a comment saying that this book is good. With a try, I searched for the PDF version on the Internet .. Hey .. It saves money, but you cannot save yourself .. Haha.
Well, let's not talk much about it. Let's take a look at some of the problems we encountered today:
Because I have learned Java, I have to install any JDK and configure environment variables. I don't need to install eclipse in Chinese, I don't know what it means, but I just know where it should be.) there is a small problem when installing Android SDT. The book says the address is https ://..... (omitted), an error may be reported, but fortunately I did not. However, I followed the operation in the book and configured the android SDK without any errors. After the installation is complete, I restarted eclipse (My Helios version is used)
I found that there are no AVD manager and Android SDK manager options under the window menu, and there is no icon in the icon column. Then I checked the steps of the book, it is true. In desperation, I can only seek help from my "Eldest Brother" -------- Google. Finally, I found a way to set it up:
The procedure is as follows:
Under the window menu -- "curstom .... (Omitted, It is pulled by this option anyway) -- "find the Command Group tab page in it and check all the tabs starting with Android (for the sake of insurance, you don't need to check them all) -- the final confirmation is enough.
In this case, OK. After configuring the first part of the environment, you can use AVD to configure a simulator. After running the simulator, you can finally see the Android system interface, and suddenly feel bright, then, the operations in the extended training are basically not a problem. When installing the local APK file on the simulator, pay attention to it, you can add the-s emulator-xxx parameter (the device number, which can be viewed in the window title after the simulator is run) to specify the simulator to which the device is installed.