Android Tutorial GUI AVD Manager / Emulator

Discussion in 'Tutorials & Examples' started by Erel, Jun 6, 2017.

  1. Erel

    Erel Administrator Staff Member Licensed User

    B4A Sdk Manager v2 adds support for managing Android Virtual Devices (AVDs):

    [​IMG]

    Before you start, make sure to download the latest version of B4A Sdk Manager and to install all the recommended items.

    Click on the AVD Manager button to open AVD Manager:

    [​IMG]

    You need to choose the screen size and the platform. 24 = Android 7.0 (https://developer.android.com/about/dashboards/index.html).

    Existing AVDs will be listed. Click on the Start button to start an AVD.
    If Intel x86 Emulator Accelerator is installed and working properly then the emulator will run fast.
     
    mendiburen, MarcoRome, ilan and 9 others like this.
  2. victormedranop

    victormedranop Active Member Licensed User

    Amazing @!@@@
     
  3. Jaames

    Jaames Active Member Licensed User

    That's what I call good user support. Thank you!
     
  4. Peter Simpson

    Peter Simpson Expert Licensed User

    So I have to keep my old SDK manager installed, without the old SDK manager my old AVD's will not be available in this new AVD manager?
     
    Last edited: Dec 13, 2017
  5. Erel

    Erel Administrator Staff Member Licensed User

    Yes, if you want to keep the old AVDs.
    You can instead create new ones.
     
  6. Peter Simpson

    Peter Simpson Expert Licensed User

    So to verifying this, I can only create new 3 AVDs for larger devices in the new AVD manager. For testing watch faces like a Moto360 I must keep the old/original AVD manager?

    Is there anyway to make whatever AVD I want in the new AVD manager and not just the three that are present in the new AVD manager. I would prefer to completely remove the old SDK manager and AVD manager if possible, but that's just me.

    Thank you...
     
    Last edited: Dec 14, 2017
  7. Erel

    Erel Administrator Staff Member Licensed User

    The Android emulators are very problematic to configure. I added 3 working presets. I can add more.

    Can you post the details of the AVD that you are using?
     
  8. Grant Fullen

    Grant Fullen Member Licensed User

    Quad HD 2560 x 1440 (4k) Moto G
     
  9. Peter Simpson

    Peter Simpson Expert Licensed User

    Android Wear Round Chin @320x290 - Moto360 1st Gen
    Android Wear Round Chin @360x330 - Moto360 2nd Gen
    Android Wear Square @320x320 - ASUS ZenWatch
    Android Wear Round @480x480 - LG Watch Sport

    I have multiple tablets and phones here already, but I refuse to buy lots of watches.

    Thank you...
     
    Last edited: Dec 15, 2017
  10. Erel

    Erel Administrator Staff Member Licensed User

    I did look into it however the "wear AVDs" created failed to start. More skins might be added in the future.

    Note that there is no problem with keeping your old sdk manager for these AVDs.
     
  11. Grant Fullen

    Grant Fullen Member Licensed User

    I'll make a small video tutorial on at least doing your own resolution with the built in emulator. No idea about Wear ones yet. I was able to create a 4k resolution emulator successfully.
     
  12. Alessandro71

    Alessandro71 Member Licensed User

    i'm unable to create a platform 26/27 AVD
    i downloaded x86 image and platform tools for both, but still they don't get listed as an option when creating a new AVD
    am i missing something?
     
  13. Erel

    Erel Administrator Staff Member Licensed User

  14. moster67

    moster67 Expert Licensed User

    Thanks Erel for your continuous support and Happy New Year.
    Just wondering if it is possible to not include the right-hand part (the one with the d-pad and keyboard) of the emulator when launched. I just want the emulator itself like when I launch it from Android Studio?
     
    Jorge M A likes this.
  15. Erel

    Erel Administrator Staff Member Licensed User

    1. Create a 6 inch AVD.
    2. Unzip the attached file and copy 'layout' to: C:\<android-sdk>\platforms\android-<avd version>\skins\WVGA854
     

    Attached Files:

    Jorge M A, moster67 and Peter Simpson like this.
  16. Peter Simpson

    Peter Simpson Expert Licensed User

    Now that platform 27 can be installed @Erel, could you please give creating a wear AVD again. Admittedly all mine are created in API 25 and above. If not then there's no harm in asking :)

    Thank you...
     
  17. moster67

    moster67 Expert Licensed User

    Thanks Erel!
    Works well.
     
  18. Erel

    Erel Administrator Staff Member Licensed User

    @Peter Simpson
    [​IMG]

    Try v3.21.

    Make sure to install: android wear intel x86 atom system image
     

    Attached Files:

    DonManfred and Peter Simpson like this.
  19. Peter Simpson

    Peter Simpson Expert Licensed User

    Wow @Erel that was SUPER fast.

    I've already put my development laptop away for the day, but I'll turn it on again shortly just to test this out V3.21.

    Thank you.

    Peter...
     
    lemonisdead and DonManfred like this.
  20. Peter Simpson

    Peter Simpson Expert Licensed User

    I created a square AVD and as expected it ran absolutely perfect with one of my watch faces installed @Erel.

    You know what this means don't you. I can finally remove the original Google SDK manager and AVD manager as that's only serving as a wear manager now, I'll be deleting it tomorrow :cool:

    Anyway thank you again, seriously high quality support as usual.

    Peter...
     
    Last edited: Jan 1, 2018
    lemonisdead and DonManfred like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice