Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the problems encountered in trying out the Android L version in Ubuntu

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces what problems will be encountered in the trial of Android L version in Ubuntu. The introduction in this article is very detailed and has certain reference value. Interested friends must finish reading it!

What I use here is updated by ubuntu13.10, and there are a lot of problems in the update process:

To update SDK in ubuntu, we can have an android command in the tools folder in the sdk directory, and we can run the command. / android in this tools directory under the terminal. Normally, if you run this command, you will see the following figure

But sometimes we will find that there is nothing or an error after running the command. / android. The main reason here is whether java can be run in the current environment. I configured java under the ordinary user, but when I run the command. / android under the superuser, there will be an error, because the command java cannot be found under the superuser. That is, you don't have java installed, so I just changed it and ran the. / android command under the ordinary user.

After running the. / android command to pop up the image above, we may find that we will encounter some timeouts or slow downloads during the download. to put it bluntly, when there is no way to download, we need to modify some options:

one. Select the tools menu item in the SDk Manager interface (that is, the interface that appears after running. / android) toolbar, and the options shown in the following figure appear:

We put "Use downloade cache" and "Force https://..."" Check these two options

two. After the selection, we also need to modify the files under the etc/hosts of the system.

Gedit etc/hosts, use this command to enter the hosts file and add the following words in *:

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

Between the number and the text is tab.

Once set up, save and restart the Ubuntu system, then run the. / android command in the sdk/tools directory and you will find that it is very fast.

The download process may pop up a dialog about what is adb server core-1, this does not affect, pay attention to the progress bar below, just move

Let's see how android L runs the simulator.

However, there is something wrong with this preview version of the simulator, the drop-down status bar can not be pulled down, and the lock machine does not lock the wallpaper, and the speed of the simulator is still so slow.

The above is all the contents of the article "what problems will be encountered in trying out the Android L version in Ubuntu". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report