locked
“No devices available” in Visual Studio 2015 RRS feed

  • Question

  • I trying to deploy Native activity application(Android, C++) on the Visual Studio 2015 embedded emulator. But have a problem: start debugging button has label "no devices available":

    But my AVD manager has some devices.
    Deploy output:

    Deploy started: Project: Android3.Packaging, Configuration: Debug x86 ------

    Error installing the package. The package 'C:\Users\User\Documents\Visual Studio 2015\Projects\Project\Android3\x86\Debug\Android3.apk' does not exist on disk.

    Invalid package information.

    I already had the same problem and tried to reinstall Visual Studio several times but it's gives nothing. Besides this in the last time I had to clean the registry manually due to Visual Studio 2015 installer said that I already had android-sdk on the my computer but this was not so.

    How can I fix it? How can I completely uninstall Visual Studio and install it right?

    Saturday, January 9, 2016 6:54 PM

Answers

  • Hi don-prog,

    Which version of Visual Studio 2015 are you using? My test version is Community with Update 1. Please check whether you have installed the Visual Studio 2015 Update 1, if not please install the update 1 from below link.

    https://www.microsoft.com/en-us/download/details.aspx?id=49989

    If has installed, please share the installation log here to let me check whether there has any errors occur when installing.

    Best Regards,
    Weiwei

    • Proposed as answer by Weiwei Cai Tuesday, January 19, 2016 1:27 AM
    • Marked as answer by Weiwei Cai Wednesday, January 20, 2016 9:32 AM
    Monday, January 18, 2016 1:45 AM

All replies

  • Hi don-prog,

    According to your screenshot, you set the Solution Platforms as x86. There are some communities who also has the same problem whose Solution Platforms is x86. And in my side, if I set it to ARM, I will get the "No devices available". Please try change the Solution Platforms to ARM or other type to check whether it is caused by the Solution Platforms.

    http://stackoverflow.com/questions/30285564/connecting-my-android-device-with-visual-studio-2015-rc

    Then please check whether you have checked "Microsoft Visual Studio Emulator for Android". If not, please check and update it.

    If you want to uninstall all Visual Studio related components, please use this tool:
    http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx

    The msiinv tool is a tool which will list all installed msi on your OS. In that way you can check them and if you want to remove any of them, you may try the msiexec /x <product code> to remove that component.

    In addition, please use http://aka.ms/vscollect  to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here.

    Best Regards,
    Weiwei

    Tuesday, January 12, 2016 5:37 AM
  • Thanks for your response.

    Platform changing not solve the problem.
    And I don't have "microsoft visual studio emulator for android" item when I install VS2015.

    Sunday, January 17, 2016 3:48 AM
  • Hi don-prog,

    Which version of Visual Studio 2015 are you using? My test version is Community with Update 1. Please check whether you have installed the Visual Studio 2015 Update 1, if not please install the update 1 from below link.

    https://www.microsoft.com/en-us/download/details.aspx?id=49989

    If has installed, please share the installation log here to let me check whether there has any errors occur when installing.

    Best Regards,
    Weiwei

    • Proposed as answer by Weiwei Cai Tuesday, January 19, 2016 1:27 AM
    • Marked as answer by Weiwei Cai Wednesday, January 20, 2016 9:32 AM
    Monday, January 18, 2016 1:45 AM
  • Hi there,

    Please note that Visual C++ Android development (Update1) is deprecated, as is shown in the screenshot:

    You must install the new updated version.


    Admir

    Friday, January 22, 2016 10:59 PM