microsoftconnect / intune-app-wrapping-tool-android

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

unable to Wrapped android signed apk #87

Closed Adityakhandelwal021 closed 5 months ago

Adityakhandelwal021 commented 9 months ago

## Information

Details

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

Stack Trace for Building the App Resource Table

INF Building resources...
[TODO - Insert this section from your logs.]
ERR Failed to package app.

Logs

Application wrapping in progress. App Wrapping Tool Version: 1.0.3610.6 Using Apktool 2.6.0 on app-release.apk Loading resource table... Decoding AndroidManifest.xml with resources... Loading resource table from file: C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\framework\1.apk Regular manifest package... Decoding file-resources... Win version: 0x4a65000a = 1248133130 (Windows Vista) Decoding values / XMLs... Baksmaling classes.dex... Copying assets and libs... Copying unknown files... Copying original files... Using Apktool 2.6.0 on IntuneAppBase.apk Loading resource table... Decoding AndroidManifest.xml with resources... Loading resource table from file: C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\framework\1.apk Regular manifest package... Decoding file-resources... Decoding values / XMLs... Baksmaling classes.dex... Copying assets and libs... Copying unknown files... Copying original files... [Yaml] Input app's minimum API level was raised to MAM minimum API level: 23 [Yaml] Updating API level for minSdkVersion to 23. SDK information for the application set to {minSdkVersion=23, targetSdkVersion=30} Checking whether resources has changed... Building resources... aapt2 compile command ran: [C:\Users\User\AppData\Local\Temp\brut_util_Jar_173631475482606774038118769671944527065.tmp, compile, --dir, C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\sourceApk\res, --legacy, -o, C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\sourceApk\build\resources.zip] aapt2 link command ran: [C:\Users\User\AppData\Local\Temp\brut_util_Jar_173631475482606774038118769671944527065.tmp, link, -o, C:\Users\User\AppData\Local\Temp\APKTOOL3258410439450996656.tmp, --min-sdk-version, 23, --target-sdk-version, 30, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -0, arsc, -I, C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\framework\1.apk, --manifest, C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\sourceApk\AndroidManifest.xml, C:\Users\User\AppData\Local\Temp\IntuneAppWrappingTool-5604767742260952333\sourceApk\build\resources.zip] Loading resource table... PS C:\Program Files (x86)\Microsoft Intune Mobile Application Management\Android\App Wrapping Tool>

APK

https://benepik.in/appstore/download.php?Mjg1Nw==

Updated Libraries

If your app includes updated libraries, please list them here:

Questions to Ask Before Submission

  1. Does the app build and launch without being wrapped?
    Answer:-> yes build launch successfully without wrapped
  2. Have you checked the Apktool repository for similar issues? If so, please follow the guidance there or add that information to this issue. Answer: - yes i checked
  3. Are you using the latest App Wrapper version? Answer:- yes i am using the lastest version of app wrapper

image

rygo-msft commented 7 months ago

@Adityakhandelwal021, it appears that the wrapper is terminating early. This typically occurs due to an incompatible Java version. We are only able to provide support for Java 8, 11, and 17 as those are the LTS releases that are supported by the Android build toolchain. Please update to the latest App Wrapper release and try using Java 11.