Thursday, June 28, 2018
Error while deploying MAF app to android Cannot run program adt bundle windows x86 64 20140321 sdk tools zipalign
Error while deploying MAF app to android Cannot run program adt bundle windows x86 64 20140321 sdk tools zipalign
In case, if you hit the below error while deploying MAF application to android device, this post is for you.
[12:11:31 PM] Cannot run program "xxxadt-bundle-windows-x86_64-20140321sdk oolszipalign"": CreateProcess error=2, The system cannot find the file specified
[12:11:31 PM] CreateProcess error=2, The system cannot find the file specified
When generating an deployable artifact(apk), JDeveloper uses zipalign.exe that comes with ADT. This used to be located in/sdk/tools, but (with latest ADT release) it is now located in /sdk/build-tools/ folder. A quick work around (till the fix is available in Jdev) for the above issue is to copy the appropriate zipalign.exe to /sdk/tools folder.
[12:11:31 PM] Cannot run program "xxxadt-bundle-windows-x86_64-20140321sdk oolszipalign"": CreateProcess error=2, The system cannot find the file specified
[12:11:31 PM] CreateProcess error=2, The system cannot find the file specified
When generating an deployable artifact(apk), JDeveloper uses zipalign.exe that comes with ADT. This used to be located in