none
UWP应用提交应用商店时未通过Supported API test,请问怎么解决? RRS feed

  • 问题

  • 提示信息如下

    Supported API test

    FAILED
    Supported APIs
    • Error Found: The supported APIs test detected the following errors:
      • API system in api-ms-win-crt-runtime-l1-1-0.dll is not supported for this application type. VideoCoreDll.dll calls this API.
      • API _pclose in api-ms-win-crt-stdio-l1-1-0.dll is not supported for this application type. VideoCoreDll.dll calls this API.
      • API _popen in api-ms-win-crt-stdio-l1-1-0.dll is not supported for this application type. VideoCoreDll.dll calls this API.
      • API getenv in api-ms-win-crt-environment-l1-1-0.dll is not supported for this application type. VideoCoreDll.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:

    补充一下

    提示信息里提到的VideoCoreDll.dll是从原来的windows8应用中复制源代码过来的,编译时用了.net native tool chain,里面提到的API我找不到在哪里引用过,求解

    2016年7月11日 5:09

答案

全部回复

  • 您好,

    根据您提供的这些信息,我只能告诉你问题可能出在VideoCoreDll上,这个dll中的一些API可能调用了那些列举出来的API,你可以尝试将VideoCoreDll从你的项目中移除,然后再测试看看是否有问题。


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    2016年7月13日 1:17
    版主
  • 我找到原因了,是VideoCoreDll里引用了另外一个库,那个库里面使用了不允许使用的API。谢谢。
    2016年7月14日 6:18