Initial knowledge of Android Studio

Source: Internet
Author: User

Just beginning to touch Android Studio, many do not adapt to the place, their own slowly groping, recorded a number of problems and solutions.

In order to be able to use Android virtual machine, need to download the image, the image is based on the ARM architecture is also based on the intelx86, x64 architecture. I remember a kind of is not directly used, I use the Windows system Intel processor, I take it for granted that the ARM architecture can not be directly used, so the first download of the Intel-based architecture of the image, the establishment of the virtual machine after the discovery of a running error, as if the lack of HAXM, and then tried the next arm , can be used directly, so the use of ARM architecture, recorded here.

How do I delete an item in Android Studio?

Android Studio Explorer I don't quite understand, the understanding of Android project still stay in Elipse, so do not know how to delete items. After a few online checks, the Android Studio project is the equivalent of workspace in Eclipse, and the module under Android Studio project is equivalent to project in Eclispe. The Manage module uses the menu File-project Structure.

In Android Studio project, the default inheritance is appcompatactivity, what is the nature of this appcompatactivity I did not know the details, just roughly see with the title bar, The way to try to hide the title bar from the previous record is found to be invalid:

So you can only find another way on the internet. Find the method is to change the Style.xml file, the Apptheme Paren changed to Theme.AppCompat.Light.NoActionBar (hidden title bar original link http://jingyan.baidu.com/ article/d2b1d102946bbe5c7e37d434.html), the method applies to Android5.0 and later versions.

Initial knowledge of Android Studio

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.