To run from command line, open the following file %ProgramFiles(x86)%\Microsoft Emulator Manager\1.0\Skus\Android\configurations.xml and search for the name of the installed image (for ex., “5.5” Marshmallow (6.0.0) XXHDPI Phone”): Ĭonfiguration=4C0496D6-53F0-470C-9B20-CF0FD4DF71C4ĭscription=Similar to Motorola Moto X Playĭatform=5FB1F683-0D5B-496C-B12A-A74399055661ĭevice.vm.vhd=vhd\\5.5_Marshmallow_(6.0.0)_XXHDPI_Phone\\image.vhdĭevice.name=5.5" Marshmallow (6.0.0) XXHDPI Phone So you need to run Visual Studio emulator for Android, launch emulated device, and then install the required applications. It is necessary to find id of the installed device and add command file that runs emulator.Ī short note – when the emulator is run from a command line it fails to install a new application. The last step is to start an emulated device when a user logs to a session. By using sdkmanager install platform-tools: "%ProgramData%\Android\sdk\tools\bin\sdkmanager" "platform-tools" The emulator has its own device images but requires adb.exe to install applications.ĭownload and extract Android command line tools to a folder which path doesn’t include spaces, for example, %ProgramData%\Android\sdk. Solution Applicationsįind and download apk files for required applications: Then required apps will be installed and the emulator will be run by a startup script. Also, a user is not a mobile developer so it is necessary just emulate mobile phone without digging too deep inside development stuff.Īs Android Studio emulator couldn’t be used along with Hyper-V role, Microsoft proposes to use Visual Studio emulator for Android that could be installed as a standalone application. A user needs Viber and WhatsApp applications and could be able to access emulated device. Let’s consider Windows 10 (build 1803) with installed Hyper-V role. The same is true for WhatsApp and some other messengers. Obviously, Viber could be installed as a desktop app but it still requires an app on a mobile device for the same number. Recently I needed to set up a Viber app for the phone number that is not used on a smartphone. How to run Viber on Visual Studio Emulator for Android
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |