microsoftconnect / intune-app-wrapping-tool-android

Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
29 stars 11 forks source link

The application could not be wrapped #6

Closed paul590 closed 3 years ago

paul590 commented 7 years ago

Hi Team,

I am currently trying to wrap an apk with the latest wrapping tool. However, I keep getting the error found below. Please note I have made sure my minSDKversion is 18 and targetSdkVersion is 21, I have also made sure of this on my Android Manifest. I have also experienced issues before with files in my res folder that end with for example filename.9.xml. I have also removed these files from my application as well. Weirdly this error only happens with a few apk but the others wrap with no problems. Any ideas would be great! The error that I am receiving is the following:

The application could not be wrapped. java.lang.NullPointerException brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleVa brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267) brut.androlib.Androlib.decodeResourcesFull(Androlib.java:132) brut.androlib.ApkDecoder.decode(ApkDecoder.java:108) com.microsoft.intune.mam.apppackager.utils.APKToolWrapper.decodeAPK(APKToolWr com.microsoft.intune.mam.apppackager.AppPackager.packageApp(AppPackager.java: com.microsoft.intune.mam.apppackager.PackagerMain.mainInternal(PackagerMain.j com.microsoft.intune.mam.apppackager.PackagerMain.main(PackagerMain.java:56)

Thank you for your help!

msintuneappsdk commented 7 years ago

Hi Paul - thanks for reaching out. We have some follow-up questions. Please send an email to msintuneappsdk@microsoft.com and we can get started debugging your issue.

msintuneappsdk commented 6 years ago

Hi @juud3x. Please send an email to msintuneappsdk@microsoft.com as we would need some more information from you to debug.