none
Windows store build errors - Cannot launch app (in certification)

    Question

  • I am trying to get a unity build for windows store universal.

    So I exported from unity to android and windows 86/64.  They work fine.  I uploaded to play store and amazon and they work fine.

    When I export out to windows store, I open in visual studio, it builds OK to arm, 86 and 64.  No errors (well, not any more.  That took 3 days to figure out.).  Then when it goes to certification, it give these errors.  I know nothing about visual studio.  I just want it to work.  The error that keeps popping up is 'cannot launch app'.  All I have done in visual studio is build the app, link it to my developers account and then try packing it (86, 64 and arm together as a release build).

    I am using windows 10 anniversary 1, unity 5.4.1 and Visual Studio 2015 update 3.
    Any ideas?????


    Windows App Certification Kit - Test Results
    App name:
    Study Whatty: Poker Drills
    App publisher:
    SlifkerGames
    App version:
    1.1.0.9
    App Architecture:
    x64
    Kit Version:
    10.0.14393.33
    OS Version:
    Microsoft Windows 10 Home (10.0.14393.0)
    OS Architecture:
    x64
    Report time:
    9/14/2016 4:26:26 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 22057SlifkerGames.StudyWhattyPokerDrills_1.1.0.9_x64__yr9znsjtagn1a 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 - 22057SlifkerGames.StudyWhattyPokerDrills_1.1.0.9_x64__yr9znsjtagn1a.
    • 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.

    FAILED
    Crashes and hangs

    • Error Found: The crashes and hangs test detected the following errors:
      • Executable c:\program files\windowsapps\22057slifkergames.studywhattypokerdrills_1.1.0.9_x64__yr9znsjtagn1a\Poker Drills.exe was detected by Windows Error Reporting and experienced a crash or hang.
      • Application 22057SlifkerGames.StudyWhattyPokerDrills_1.1.0.9_x64__yr9znsjtagn1a was detected by Windows Error Reporting and experienced a crash or hang.
      • Crash dump file C:\Users\micha\AppData\Local\Microsoft\AppCertKit\Poker Drills.exe.2248.dmp was created by Windows Error Reporting and provides additional information.
      • Crash dump file C:\Users\micha\AppData\Local\Microsoft\AppCertKit\Poker Drills.exe.4384.dmp was created by Windows Error Reporting and provides additional information.
      • Crash dump file C:\Users\micha\AppData\Local\Microsoft\AppCertKit\Poker Drills.exe.6748.dmp was created by Windows Error Reporting and provides additional information.
      • Crash dump file C:\Users\micha\AppData\Local\Microsoft\AppCertKit\Poker Drills.exe.9236.dmp was created by Windows Error Reporting and provides additional information.
    • Impact if not fixed: An app that stops responding or crashes can cause data loss and is a poor user experience.
    • How to fix: Investigate and debug the app to identify and fix the problem.
      Debugging Store apps



    Package compliance test
    PASSED
    Application count
    FAILED
    App manifest

    • Error Found: The app manifest test detected the following errors:
      • The revision number in the app package version and bundle version must be set to 0, for example Version="10.1.2.0". This is restricted for Windows Store use only.
    • Impact if not fixed: Apps that violate the Windows Store certification requirements can’t be submitted to the Windows Store.
    • How to fix: App manifest must include valid entries for all required fields, please modify the manifest entries listed above. See link below for more information:
      Certification requirements

    FAILED
    Bundle manifest

    • Error Found: The bundle manifest test detected the following errors:
      • The revision number in the app package version and bundle version must be set to 0, for example Version="10.1.2.0". This is restricted for Windows Store use only.
    • Impact if not fixed: Apps that violate the Windows Store certification requirements can’t be submitted to the Windows Store.
    • How to fix: Bundle manifest must include valid entries for all required fields, please modify the manifest entries listed above. See link below for more information:
      Certification requirements

    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 D3D12GetDebugInterface in d3d12.dll is not supported for this application type. UnityPlayer.dll calls this API.
      • API OpenSemaphore in api-ms-win-core-synch-l1-1-0.dll is not supported for this application type. System.Threading.dll calls this API.
      • API CreateSemaphore in api-ms-win-core-kernel32-legacy-l1-1-0.dll is not supported for this application type. System.Threading.dll calls this API.
      • API ExecuteAssembly in uwphost.dll is not supported for this application type. Poker Drills.exe calls this API.
      • API DllGetActivationFactory in uwphost.dll is not supported for this application type. Poker Drills.exe has an export that forwards to 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

    Thursday, September 15, 2016 3:02 AM

All replies

  • Looks like only the x64 version is failing.  Could you try only including an arm and x86 version.  The x86 version will run on a 64 bit os.
    Saturday, September 24, 2016 11:12 PM