Android Development Novice Issues

Source: Internet
Author: User

There have been some problems during the recent period of learning Android development with free time. And because I've been using eclipse for development in the company before, I started out by choosing Google's Eclipse, which contains the Android SDK, for development when I first learned Android. Later found in my own notebook eclipse is always inexplicably error, so download the use of Android studio, the two IDE can be a lot of different places, especially shortcut keys. Q:android SDK Manager can't download SDK toolkit? A: Method 1: Download the corresponding SDK toolkit from the domestic website, put it in the Platform-tools directory, rerun the SDK manager. Like http://www.androiddevtools.cn here. Method 2 recommended: Using a proxy server for updates may be slower, but the downloaded toolkit is up to date. Android SDK update mirror server onlineDalian Neusoft Institute of Information Mirror server address: http://mirrors.neusoft.edu.cn Port: 80 Beijing University mirror server address: ipv4:http://ubuntu.buct.edu.cn/Port: 80ipv4:http ://ubuntu.buct.cn/Port: 80ipv6:http://ubuntu.buct6.edu.cn/Port: 80 Shanghai GDG mirror server address: http://sdk.gdgshanghai.com Port: 8000   How to use: Launch Android SDK Manager, open the main interface, select "Tools", then "Options ...", pop up "Android SDK manager-settings" window; in the "Android SDK Manager-settings window, fill in the above mirror server address and port in the HTTP proxy server"and"http proxy port input box, and select "Force https://... sources to be fetc Hed using http://... check box. Click the "Close" button to close the "Android SDK manager-settings" window and return to the main interface, then select "Packages", "Reload". Are there some places in  q:android studio where the text will show a box? A: This is because the default font for Android studio is not a Chinese font, and the box appears when Chinese is displayed. Change the font to a Chinese font in the settings.  q: There are no errors in the Android studio, but when you run the program on your phone, it shows "application stopped running"? A: The reason is that the activity tag is not added to the androidmanifest, which prevents the program from running.   The workaround is to add the Activity tab in the Application tab of the project's Androidmanifest.xml file, specifying the Android:name attribute in the Activity tab. By default, the value of the Android:name property may be ". Mainactivity ", change it to the activity of the project. You can refer to this example:   q: Why can't I set the code font for the editor in Android Studio? A: By default you chooseThe font of the style is not modifiable. You need to click on the style, next to save as ... Button. Name whatever you want. Then you can change the font size     

Android Developer Issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.