Androidstudio Use tutorial (second bullet)

Source: Internet
Author: User

Androidstudio Use tutorial (second bullet)
  • Migration Eclipse works to Android Studio

    The official documentation says Android Studio There are Eclipse existing projects that can be compatible, but some things need to be done:

    • EclipseBuild a project
      First upgrade ADT to the latest version, as if after 22, select need from Eclipse the exported project, right-click Export and select Android the next Generate Gradle Build Files ,
      After the run is complete you will find one more in the project directory build.gradle , which is the Android Studio recognized file.
      PS: The official documentation indicates that if there is no Grade build file, you can also import the item into Android Studio it, which is configured with the existing Ant build file.
      But in order to better use the post-function and make full use of build variables,
      It is strongly recommended that you first ADT generate files from the plug-in Gradle and then import them Android Studio .

    • Import
      Android StudioSelect in Import Project , and select just under the project directory build.gradle .

      Sometimes you will find that after the import is not displayed on the left side of the Run button, it may be due to the Module different versions you have imported SDK , as long as you build.gradle configure the appropriate SDK version in.

      android {    19    "21.1.1"    ...    }
  • Create a project
    Create the project and the Eclipse process is almost the same, we see it, we will not say here.

  • Working with Android project views
    This is a purely personal hobby, but for standard AndroidStudio Engineering, the general part of our common use is Android shown in the Project view.

    Effects such as:

  • Using the Layout editor

    A timely and multi-screen preview of the layout editor is indeed a bright spot.

    • Click the button on the right side of the layout page to Preview preview it.

      When you want to preview a multi-screen effect, you can select it from the drop-down menu of the preview screen device Preview All Screen Sizes .

    • Select a Theme

      To set a theme for your app, you can click on Theme the icon to
      The selection dialog box is displayed.

    • Internationalization
      For international adaptation Select Internationalization icon,
      Then select the countries that need to be internationalized in the pop-up list to adapt.

  • Common functions
    Some people may not be able to find them when they come in DDMS .

    The three icons in each are,, AVD Manager , SDK ManagerDDMS

    • Email: [Email protected]
    • Good luck!

Androidstudio Use tutorial (second bullet)

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.