Rapid development of Android

Source: Internet
Author: User
Tags android games

  • The Android development environment has changed a lot, the skills of each development environment I will not say much, I focus on the development environment UI and performance, good open

    The environment always makes people shuangxin, also let us like to develop. Developing a powerful or beautiful app takes time, enthusiasm and patience, and many good apps

    All come from a strong development environment, and developers can benefit from the unconscious ability to make their work more aesthetically pleasing.

    one of the fastest running Android Simulator: genymotion
    A powerful ide:android studio
    An advanced multi-engineering build Android Project tool:
    Gradle

    Genymotion

    If you want to run Android games and software or develop tests on your PC, Genymotion will be a great choice for you! Its official web site is no less modest in its own--almost the ultimate Android simulator. Because in the running speed of genymotion indeed more smooth than BlueStacks , in the mainstream configuration of the computer can basically reach the speed of the An Zuojin machine, with very handy. Whether used as a development program or used to run Android software on your computer, the speed of fluency can make you more comfortable!

      • Fast performance, low resource consumption, system requires 512MB of memory to run.
      • Supports OpenGL 3D acceleration and can play large 3D games smoothly
      • Support to launch multiple emulators simultaneously, can realize the software or game more open
      • Support a variety of virtual sensors, such as battery status, GPS, NFC, gravity Accelerator and other simulations, in, MO and other apps have special use
      • Support camera, Bluetooth and other devices
      • You can configure emulator parameters, such as screen resolution, memory size, number of CPUs
      • Drag the window to adjust the screen size, support a variety of resolutions
      • Can support almost all versions of Android, 2.x to 4.x no problem
      • Supports direct drag-and-drop files to virtual devices
      • Start up speed running all over the Android SDK official simulator
      • The operating system supports Windows XP ~ Windows 8 (including 32 and 64-bit), supports Linux and Mac OS X
        • System Configuration Requirements
        • Support for OpenGL 2.0 graphics card (video driver may have black screen problem)
        • The CPU supports Vt-x or AMD-V virtualization, and the BIOS is set to ON (must, otherwise the operation will be error or very slow), at least 512MB of memory
        • Provide at least 100MB of hard disk space for genymotion installation, at least 2GB hard disk space for genymotion virtual appliance
        • Available Network connections (for installation and update)
        • System display resolution not less than 1024x768
        Here is a download link, you need to register to download Genymotion's U.S. official website
      • Here is a demo comparison of Android developers:
        A small project, my two hardware devices (a Nexus 4) and genymotion on my MacBook Pro run several instrument tests on the instance. The output is self-explanatory and runs at least 10 times times faster than the previous Nexus 4 genymotion instrument test:
      • Hardware Management -There are a lot of beautiful authenticity high simulation test method, my favorite is the GPS sensor simulation, you just move the map on the mark, genymotion can give latitude and longitude, in the development of the use of the map is very convenient

        Android Studio
        A few years ago, when I was developing my first Android project, I used eclipse as the development environment for a very important reason----> Eclipse is the only IDE bundled with the Android plugin;
        A few months ago I switched to IntelliJ and Android studio, for the simple reason that the gradual application of more and more applications, it began to collapse, the speed began to slow. A few years of Eclipse's development environment suddenly turned to Android studio, which was a bit of a habit, but it took only a week to familiarize himself with his shortcuts and appearance layouts, and then he became more comfortable.
        • The pleasing and practical UI-I use the theme of the Drakura. The UI of the Android studio is Gao compared to the UI of ADT, which is full of native-killing smells! ^_^ is more than just visual beauty, more important, or speed. Code AutoFill is much easier without manual shortcuts.
            • In Eclipse, you may be familiar with the concept of "Workspace". There may even be an Android project that includes a variety of member projects and files compiled into a ". Jar", which are also included in the final generated application. In Andorid studio, project is replaced by "Modules" and "Library Modules".
          Gradle Build System (Gradle project build systems)
          Recently, Android Studio released, finally Gradle 0.4 also followed out. The plugin for Android Gradle finally integrates the task of confusing the code. Here are some of my favorite advantages.
          Package Renaming (kaneshige named):-----means you can have debug and release versions on the same device at the same time.
          simple and shareable signature configuration:------New plugins can share your signature configuration, which is handy if you want the team members to have debugging rights.
          (Product flavors) Customization: Flavors is a copy of your application, but it is a different package name, which means you can have several apk file output, such as: Paid version, free version. There are several new concepts to explain to youModules

          Modules is "a standalone functional unit that can be run, tested, and independently debugged", a bit like the concept of Eclipse project, but with a few different points.

          Each module needs to have its own Gradle build file (which will be generated automatically when you create a new module, which you create when you import an Eclipse project). These gradle files contain important content, such as the supported Android versions and items that are dependent on the project, as well as other important data in the Android project. As with eclipse, some Modules may be "library Modules", functionally the same as "library projects". Specific reference: HTTP://WWW.OPEN-OPEN.COM/NEWS/VIEW/1B554F1)

          Gradle Basic Knowledge

          The new gradle will be the biggest obstacle to your move to Android studio. Here are a few basic facts you need to know:

            • Your Android Studio project will have a settings.gradle file on the entire project.

            • The Settings.gradle file includes references to all the modules in the project, which is updated automatically when you import or create a new module.

            • Each Andorid Studio module will have its own build.gradle file.

            • If a module is dependent on another module, you need to add this dependency to the dependent section on the Build.gradle file.

            • If your module requires a jar file, the jar must be listed in the module's Build.gradle file.

            • You can list the remote dependencies you want to add to your project on the module's Build.gradle file.

            • Sometimes, you need to manually modify these gradle files. (more gradle found here)

        • (PS: Reprint please declare the source.) )

Rapid development of Android

Related Article

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.