Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

"Cannot launch App" Error while Submitting an app to the store

I have an app based closely on ModelExplorer, that works fine on the emulator as well as the hololens; however while submitting to the store, I get an error "Cannot launch App"

Any thoughts are much appreciated...


Here is the complete Results page

Windows App Certification Kit - Test Results
App name:
DS HoloDemo
App publisher:
Orkay
App version:
1.1.8.0
App Architecture:
x64
Kit Version:
10.0.14393.33
OS Version:
Microsoft Windows 10 Enterprise (10.0.10586.0)
OS Architecture:
x64
Report time:
5/17/2017 5:10:32 PM

Overall result: FAILED

Deployment and launch tests

PASSED
Bytecode generation

FAILED
Background tasks cancelation handler
Error Found: The background tasks cancelation handler validation detected the following errors:
Cannot launch App
Impact if not fixed: An app that fails to handle cancelation request to background tasks, which will result in being force terminated.
How to fix: Background tasks need to implement cancelation event handler.

FAILED
Platform version launch
Error Found: The high OS version validation detected the following errors:
Cannot launch App
Cannot launch App

The app 17369Orkay.DSHoloDemo_1.1.8.0_x64__cx7ef06fz7mtp failed platform version launch test.
Impact if not fixed: The app should not use version information to provide functionality that is specific to the OS.
How to fix: Please use recommended methods to check for available functionality in the OS. See the link below for more information.
Operating System Version

FAILED
App launch
Error Found: The app launch test detected the following errors:
Cannot launch App
Cannot launch App

Impact if not fixed: An app that fails to launch presents a poor user experience, and will not be accepted by the Windows Store.
How to fix: Investigate and debug the app to identify and fix the problem.
Troubleshooting App launch

FAILED
App prelaunch
Error Found: The app prelaunch validation detected the following errors:
The app failed prelaunch test - 17369Orkay.DSHoloDemo_1.1.8.0_x64__cx7ef06fz7mtp.
Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled.
How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware.

PASSED
Crashes and hangs

Package compliance test

PASSED
Application count

PASSED
App manifest

PASSED
Bundle manifest

PASSED
Package size

PASSED
Restricted namespace

Windows security features test

PASSED
Binary analyzer

PASSED
Banned file analyzer

PASSED
Private code signing

Supported API test

FAILED
Supported APIs
Error Found: The supported APIs test detected the following errors:
API MicDestroy in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicGetDefaultBufferSize in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicGetDefaultNumChannels in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicGetFrame in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicInitializeCustomRate in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicInitializeDefault in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicPause in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicResume in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicSetGain in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicStartRecording in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicStartStream in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicStopRecording in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
API MicStopStream in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, apps that are built in a debug configuration or without .NET Native enabled (where applicable) can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration, and with .NET Native enabled if applicable. See the link below for more information:
Alternatives to Windows APIs in Windows Store apps.

App manifest resources tests

PASSED
App resources

PASSED
Branding

Debug configuration test

PASSED
Debug configuration

File encoding test

PASSED
UTF-8 file encoding

App Capabilities test

PASSED
Special use capabilities

Windows Runtime metadata validation

PASSED
ExclusiveTo attribute

PASSED
Type location

PASSED
Type name case-sensitivity

PASSED
Type name correctness

PASSED
General metadata correctness

PASSED
Properties

Package sanity test

PASSED
Platform appropriate files

PASSED
Supported directory structure check

Resource Usage Test

PASSED
WinJS background task

Answers

  • Options

    Just looking at it real quick, it looks like you are trying to publish an x64 app for the HoloLens. This needs to be x86. I would solve that issue first, and then try again.

  • Options

    Thanks Jesse for pointing that out. I had both x86 and x64 checked. The result is no different after unchecking x64 . Any other suggestion?


    Overall result: FAILED

    Deployment and launch tests

    PASSED
    Bytecode generation

    FAILED
    Background tasks cancelation handler
    Error Found: The background tasks cancelation handler validation detected the following errors:
    Cannot launch App
    Impact if not fixed: An app that fails to handle cancelation request to background tasks, which will result in being force terminated.
    How to fix: Background tasks need to implement cancelation event handler.

    FAILED
    Platform version launch
    Error Found: The high OS version validation detected the following errors:
    Cannot launch App
    Cannot launch App
    The app 17369Orkay.DSHoloDemo_1.1.12.0_x86__cx7ef06fz7mtp failed platform version launch test.
    Impact if not fixed: The app should not use version information to provide functionality that is specific to the OS.
    How to fix: Please use recommended methods to check for available functionality in the OS. See the link below for more information.
    Operating System Version

    FAILED
    App launch
    Error Found: The app launch test detected the following errors:
    Cannot launch App
    Cannot launch App
    Impact if not fixed: An app that fails to launch presents a poor user experience, and will not be accepted by the Windows Store.
    How to fix: Investigate and debug the app to identify and fix the problem.
    Troubleshooting App launch

    FAILED
    App prelaunch
    Error Found: The app prelaunch validation detected the following errors:
    The app failed prelaunch test - 17369Orkay.DSHoloDemo_1.1.12.0_x86__cx7ef06fz7mtp.
    Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled.
    How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware.

    PASSED
    Crashes and hangs

    Package compliance test

    PASSED
    Application count

    PASSED
    App manifest

    PASSED
    Bundle manifest

    PASSED
    Package size

    PASSED
    Restricted namespace

    Windows security features test

    PASSED
    Binary analyzer

    PASSED
    Banned file analyzer

    PASSED
    Private code signing

    Supported API test

    FAILED
    Supported APIs
    Error Found: The supported APIs test detected the following errors:
    API MicDestroy in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicGetDefaultBufferSize in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicGetDefaultNumChannels in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicGetFrame in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicInitializeCustomRate in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicInitializeDefault in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicPause in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicResume in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicSetGain in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicStartRecording in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicStartStream in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicStopRecording in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    API MicStopStream in micstreamselector.dll is not supported for this application type. ModelExplorer.dll calls this API.
    Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
    How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, apps that are built in a debug configuration or without .NET Native enabled (where applicable) can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration, and with .NET Native enabled if applicable. See the link below for more information:
    Alternatives to Windows APIs in Windows Store apps.

    App manifest resources tests

    PASSED
    App resources

    PASSED
    Branding

    Debug configuration test

    PASSED
    Debug configuration

    File encoding test

    PASSED
    UTF-8 file encoding

    App Capabilities test

    PASSED
    Special use capabilities

    Windows Runtime metadata validation

    PASSED
    ExclusiveTo attribute

    PASSED
    Type location

    PASSED
    Type name case-sensitivity

    PASSED
    Type name correctness

    PASSED
    General metadata correctness

    PASSED
    Properties

    Package sanity test

    PASSED
    Platform appropriate files

    PASSED
    Supported directory structure check

    Resource Usage Test

    PASSED
    WinJS background task

  • Options
    HoloholicHoloholic
    edited August 2017

    Hi, I am getting exactly the same error ( micstreamselector.dll API not supported) as Orkay while I am trying to submit my App to the Windows store after running the WACK. I am building in Master (x86) with Native tool chain enable.
    BTW @Orkay did you manage to find a solution. If yes, could you please share your solution. Thanks a lot.

  • Options

    Same problem here.

Sign In or Register to comment.