Search Google

Tuesday, 7 April 2015

ok button is not enabled in avd apk to source code

Creating an Android Emulator

An Android emulator is an Android Virtual Device (AVD) that represents a specific Android device. You can use an Android emulator as a target platform to run and test your Android applications on your PC.
  • Using Android emulators is optional.
  • An Android emulator is installed by default during the RAD Studio installation.
    • We recommend that you install this emulator during product installation.
    • This emulator is used as the default target for an Android application, so you can easily create and run an Android application on your development system.
  • If you create your own Android emulator, consider creating an emulator for each Android device you want to support.
  • RAD Studio supports the following targets:
    • Android emulators that are version 4.0 or newer
    • Android devices that are ARM version 7 or newer
  • You cannot use an Android emulator on a Virtual Machine (VM). Although an emulator might run on a VM, the emulator will not run an application.
  • It is a well-known performance issue that Android emulators are extremely slow.
The installed Android emulator is named rsxe5_android, which uses the WVGA800 skin and Android 4.2.2.

Installing an Android System Image (Required)

Before you create an Android emulator, you need to install an Android system image that your emulators can use.
Note: If you installed the Android SDK and NDK during RAD Studio installation, a valid Android system image (such as Android 4.2.2 API 17) should already be shown as Installed in the Android SDK Manager. In this case, you do not need to install another Android system image.
Follow these steps:
  1. Start the Android SDK Manager (select Start | All Programs | Embarcadero RAD Studio | Android Tools).
  2. In the packages tree, locate and check the ARM EABI v7a System Image node within the first Android node in the list.
    For example: Android 4.2.2 (API 17) or Android 4.3 (API 18)
  3. Click Install 1 package. (Clear any checkboxes that were auto-selected.)
  4. In the Choose Packages to Install page, click Accept License, and then click Install to install the system image.
Creating an Android Emulator - Key Fields

Creating an Android Emulator Using the Android Virtual Device Manager

To create an Android emulator on your system, follow these steps:
  1. Start the Android SDK Manager (select Start | All Programs | Embarcadero RAD Studio | Android Tools).
  2. In the Android SDK Manager, select Tools | Manage AVDs.

  3. In the Android Virtual Device Manager, click the New button to create a new virtual device.
    Click New in Android AVD Manager

  4. In the Create new Android Virtual Device (AVD) dialog box, select an Android device to emulate, and enter the details describing the Android device you want to emulate. In order to run a FireMonkey mobile application, your Android emulator must meet the following requirements:
    1. In Target, select an Android SDK with an API level that is 17 or higher. The drop-down list contains your installed versions of the Android SDK.
    2. Under Emulation Options, check Use Host GPU.
    3. In Device, select the Android device to emulate.
    Tip: Emulating an older Android device like the Nexus S might be faster than emulating a newer, larger device like the Nexus 10.
  5. Click OK twice to create your new Android emulator.
  6. You can now view your emulator in the Android Virtual Device Manager. 
    apk to source code 

No comments:

Post a Comment