Monday 16 September 2013

ADF Mobile - Deploying to Android fails with "Cannot find program ... aapt"



[08:02:10 PM] Deployment cancelled.
[08:02:10 PM] ----  Deployment incomplete  ----.
[08:02:10 PM] Cannot run program ""D:\my softwares\sofwares\adt-bundle-windows-x86-20130729\sdk\platform-tools\aapt"": CreateProcess error=2, The system cannot find the file specified
[08:02:10 PM] CreateProcess error=2, The system cannot find the file specified


this errors occures because while debugging debugger look aapt file into path platfor-tools instead of looking into build-tool
while deploying adf mobile application you can get this error due to update of android sdk tool in android sdk manager .....solution to this error is go to your folder hierarchy of andorid sdk manager  ....as follows 

D:\my softwares\sofwares\adt-bundle-windows-x86-20130729\sdk\build-tools\android-4.3   select all files and folder from this path ( here path may differ according to your sdk updates and mobile device ) then paste those files into path   D:\my softwares\sofwares\adt-bundle-windows-x86-20130729\sdk\platform-tools .... thats it now start your android emulator and again deploy your application to the emulator :)