我无法使用Wrapping tool Package 我的Android应用程序。
当我运行以下命令时:
Invoke-AppWrappingTool -InputPath C:\...... -OutputPath C:\output.... -KeyStorePath ......
我收到以下错误:
Application wrapping in progress. App Wrapping Tool Version:
1.0.1933.1
Failed to package app.
com.microsoft.intune.mam.apppackager.utils.AppPackagerException:
Failed to update this app's supported SDK versi
ons.
com.microsoft.intune.mam.apppackager.utils.YamlManifestUtils.updateAppSupportedSdkRange(YamlManifestUtil
s.java:324)
com.microsoft.intune.mam.apppackager.v2.V2WrapperAgent.wrapManifest(V2WrapperAgent.java:86)
com.microsoft.intune.mam.apppackager.AbstractWrapperAgent.wrap(AbstractWrapperAgent.java:68)
com.microsoft.intune.mam.apppackager.AppPackager.packageApp(AppPackager.java:132)
com.microsoft.intune.mam.apppackager.PackagerMain.mainInternal(PackagerMain.java:198)
com.microsoft.intune.mam.apppackager.PackagerMain.main(PackagerMain.java:56)
com.microsoft.intune.mam.apppackager.utils.AppPackagerException: This
app's target SDK is above the MAM target S
DK. Please upgrade to the newest version of the App Wrapping Tool.
com.microsoft.intune.mam.apppackager.utils.YamlManifestUtils.updateAppSupportedSdkRange(YamlManifestUtil
s.java:305)
com.microsoft.intune.mam.apppackager.v2.V2WrapperAgent.wrapManifest(V2WrapperAgent.java:86)
com.microsoft.intune.mam.apppackager.AbstractWrapperAgent.wrap(AbstractWrapperAgent.java:68)
com.microsoft.intune.mam.apppackager.AppPackager.packageApp(AppPackager.java:132)
com.microsoft.intune.mam.apppackager.PackagerMain.mainInternal(PackagerMain.java:198)
com.microsoft.intune.mam.apppackager.PackagerMain.main(PackagerMain.java:56)
The application could not be wrapped.
我用的是targetSdkVersion 26
和compileSdkVersion 25
。
2条答案
按热度按时间bvn4nwqk1#
标签:
Please upgrade to the newest version of the App Wrapping Tool.
...可以找到here。
6za6bjd02#
您的targetSdkVersion 26和compileSdkVersion 25.however它应该大于28,即9或以上。然后它将工作