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

Intune app wrapping tool for Android doesn't generate output apk file - No errors #12

Closed sagrsk closed 3 years ago

sagrsk commented 6 years ago

Hi,

I have been trying to wrap an LOB app. Below is the verbose comments after the command is run.

PS C:\IntuneAppWrapping> Invoke-AppWrappingTool -InputPath C:\Sagar\1-Name\app-UNILEVER-V-1.2.5-release.apk -OutputPath C:\Users\ssagar\Desktop\1name\output.apk -KeyStorePath "C:\Program Files (x86)\Java\jre1.8.0_161\bin\unile ver_keystore.jks" -KeyAlias unilever_keystore -SigAlg SHA1 -Verbose

cmdlet Invoke-AppWrappingTool at command pipeline position 1 Supply values for the following parameters: KeyStorePassword: KeyPassword: Application wrapping in progress. App Wrapping Tool Version: 1.0.2116.2 Using Apktool 2.3.0 on app-UNILEVER-V-1.2.5-release.apk Loading resource table... Decoding AndroidManifest.xml with resources... Loading resource table from file: C:\Users\ssagar\AppData\Local\Temp\IntuneAppWrappingTool-13012691652445985905\framework\1.apk Regular manifest package... Decoding file-resources... Win version: 0x3ad7000a = 987168778 (Windows Vista) Decoding values / XMLs... Baksmaling classes.dex... Copying assets and libs... Copying unknown files... Copying original files... Using Apktool 2.3.0 on IntuneAppBase.apk Loading resource table... Decoding AndroidManifest.xml with resources... Loading resource table from file: C:\Users\ssagar\AppData\Local\Temp\IntuneAppWrappingTool-13012691652445985905\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... PS C:\IntuneAppWrapping>

After the "Copying original files" message it doesn't say anything and goes back to command prompt.

Please help, this is urgent.

jason8232590 commented 6 years ago

I have encountered the same issue and I have success in wrapped the same Apk on other Computer .Finally ,where can we get the log that we can track what have happened?

msintuneappsdk commented 6 years ago

@jason8232590 @sagrsk Are you working with a native Android app? Are you using the latest version of the app wrapping tool? Does this app work on the device without being wrapped? Please send us an email to msintuneappsdk@microsoft.com so we get more private details from you.

jason8232590 commented 6 years ago

I figured out the root cause . You need to degrade your JDK to 1.8.0 rather than use 1.9.

sagrsk commented 6 years ago

How degrading JDK works here?

On Fri, Mar 9, 2018 at 2:45 PM, jason8232590 notifications@github.com wrote:

I figured out the root cause . You need to degrade your JDK to 1.8.0 rather than use 1.9.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/msintuneappsdk/intune-app-wrapping-tool-android/issues/12#issuecomment-371757053, or mute the thread https://github.com/notifications/unsubscribe-auth/AjLfiPVLnWmnbHrQSKlBJ4wjbP3UiOi4ks5tckg7gaJpZM4SU6LT .

sagrsk commented 6 years ago

In fact, Java in machine is jre1.8.0_161.

On Tue, Mar 13, 2018 at 8:15 PM, Sagar Korde sagarkorde@gmail.com wrote:

How degrading JDK works here?

On Fri, Mar 9, 2018 at 2:45 PM, jason8232590 notifications@github.com wrote:

I figured out the root cause . You need to degrade your JDK to 1.8.0 rather than use 1.9.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/msintuneappsdk/intune-app-wrapping-tool-android/issues/12#issuecomment-371757053, or mute the thread https://github.com/notifications/unsubscribe-auth/AjLfiPVLnWmnbHrQSKlBJ4wjbP3UiOi4ks5tckg7gaJpZM4SU6LT .

OmarHassan25 commented 2 years ago

Dear, have you figured out the reason? i have the same issue