

Make sure your project compiles with API 30 or higher. The Surface Duo Android 11 emulator runs Android R (also known as API 30). Visual Studio users should refer to the Xamarin instructions for the emulator. To stop debugging: Run > Stop ' project name' or Ctrl+F2.Run your project to deploy it to the emulator: Run > Run ' project name' or Shift+F10.Select " Surface_Duo/Surface_Duo_2_API_30" from the list of running devices (if it does not appear, you should start it directly from the file system).Build your project: Build > Make Project or Ctrl+F9.Launch the emulator via the app icon or the script.There are two app icons in the desktop and also in the Start menu available on Windows, or you can use the run_.bat/.sh script in the install location to launch the emulator. The Surface Duo emulator will not automatically appear in the Android Studio device list nor in AVD Manager, you should start it manually. See Get the Surface Duo emulator if you don't yet have the tools installed. The emulator simulates postures, gestures, hinge angle, pen pressure, multi-touch, mimicking the seam between the two screens, and more.

Note: to re-install the application if it already existe use adb install -r your_apk_file.With the Surface Duo Emulator you can test your Android app on the Surface Duo and Surface Duo 2 form factors without needing a physical device. Heres what I always do: (For full beginners)ġ- Run the emulator, and wait until its completely started.Ģ- Go to your sdk installation folder then go to platform-tools (you should see an executable called adb.exe)ģ- create a new file and call it run.bat, edit the file with notepad and write CMD in it and save it.Ĥ- copy your desired apk to the same folderĥ- now open run.bat and write adb install your_apk_file.apkĦ- wait until the installation is completeħ- voila your apk is installed to your emulator. apk files to emulator regardless of what you are using (Eclipse or Android Studio) Run simulator -> drag and drop yourApp.apk into simulator screen.ĮDIT: Even though this answer is marked as the correct answer (in 2013), currently, as answered by below, you can drag-n-drop apk files directly into the emulator to install them. How to install an apk on the emulator in Android Studio?
