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

intune wrapper - android not working #72

Closed AbhiAidan closed 1 year ago

AbhiAidan commented 1 year ago

Information

Intune android wrapper - not able to wrap.

Steps followed

  1. Generated signed apk.
  2. Installed latest wrapper tool.
  3. From the folder - Import-Module .\IntuneAppWrappingTool.psm1
  4. Run - Invoke-AppWrappingTool -InputPath "C:\AWT\AppSource\app-release.apk" -OutputPath "C:\AWT\AppWrapped\output.apk" -verbose

Details

  1. App Wrapper Version: 1.0.3610.6**:
  2. Operating System (Mac, Linux, Windows) and Version: Windows
  3. Java Version: 17.0.5
  4. Development Platform (Java, Xamarin, Cordova, React): Ionic
  5. build-tools Version:

Stack Trace for Building the App Resource Table

image

Questions to Ask Before Submission

  1. Does the app build and launch without being wrapped? Yes
  2. Have you checked the Apktool repository for similar issues? If so, please follow the guidance there or add that information to this issue.
  3. Are you using the latest App Wrapper version? Yes
rygo-msft commented 1 year ago

@AbhiAidan, App Wrapper does not support Java 17. We rely on the Android build toolchain which is only known to work on Java 11. Please ensure that you are running the App Wrapper with Java 11.

AbhiAidan commented 1 year ago

@rygo-msft Thanks. Appreciate your help. Did you able to found any other things i'm doing wrong, other than this.

rygo-msft commented 1 year ago

Unfortunately, I can't read the image that you shared because it is too compressed. However, there are known failures that will occur when running on unsupported versions of Java.