понедельник, 28 ноября 2016 г.

Citrix MDX Unexpected error occurred. String index out of range: -1 when wrapping Android apps

Hello,

If you get this message “Unexpected error occurred. String index out of range: -1” when wrapping Android Apps with Citrix MDX 10.4.0 then you need to correct your Android_Settings.txt file.
And, as always, Citrix's articles are very confusing
https://support.citrix.com/article/CTX212689 (there they say "ok, you need to add /apktools/ and in the next example you don't see /apktools/ folder at all)
https://support.citrix.com/article/CTX217367 (there they even don't sure what the solution is)

I randomly tried add paths and the following configuration helped me to successfully wrap Android application:

PATH = 
/Users/admin/Downloads/adt-bundle-mac-x86_64-20140702/sdk/platform-tools:
/Users/admin/Downloads/adt-bundle-mac-x86_64-20140702/sdk/build-tools/23.0.2:
/Users/admin/Downloads/adt-bundle-mac-x86_64-20140702/sdk/tools:
/Users/admin/Downloads/adt-bundle-mac-x86_64-20140702/sdk/tools/apktool

Where /Users/admin/Downloads/adt-bundle-mac-x86_64-20140702/sdk is your path to sdk

вторник, 25 октября 2016 г.

Published through Citrix Xenapp Google Chrome fails after ver. 54 update

If after update, published through XenApp Chrome fails to launch or starts with corrupted screen (black screen), launch Chrome with Command Line

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --no-sandbox --disable-infobars --disable-gpu

пятница, 23 сентября 2016 г.

Xenmobile 9.0 MDM MAM Untrusted enterprise developer

Recently we had a problem with updating our mobile apps using Citrix Xenmobile 9.0 MDM + MAM. The problem was that during updating process the icon of updated app become blank and when you click on it, it shows this message "Untrusted Enterprise Developer".
We tried to go to profiles and click the button Trust there, but it was not our case (there wasn't any button), maybe because in case you use MDM trusted relationsip is setted automatically. 
After trying all rolling patches from 2 to 4 we didn't succeed.
Then I recalled that I did install this patch http://support.citrix.com/article/CTX204322 when we experienced problems with installing apps during update from ios8 to ios9. I applied it and it didn't work anyway, but unfortunately I leaved it (didn't roll back). I deleted this patch (it's enough to delete this file a_patch_900_9924.jar from \XenMobile Device Manager\tomcat\webapps\[instance_name]\WEB-INF\lib and restart XenMobile Service) and then it's worked.

There is also the the case that rolling back from MDM patch 4.0 to 3.0 is helped.
http://discussions.citrix.com/topic/380606-unstrusted-enterprise-developer-updating-worx-apps/