A Small Info
If you are trying to build the project using ant scripts which points to your customized Build.xml . In that case if anyone getting an "error: Obsolete Build.xml Need to delete or regenerate" All you have to Do it
1) Check your ADT version because android changed the ant scripts and there building architecture tools from ADT 14 onwards http://tools.android.com/recent/buildchangesinrevision14
All you have to do his replace the 'tools' folder in your current SDK with 'tools' folder in a SDK which is less than revision 14
then go the cmd shell
-> go to your tools path (always prefer to set as environment variable so that you can access the SDK_PATH easily ,In Linux edit .bashrc in Mac you can create .env text file or in Windows Enviornment path tab)
from there trigger 'android update project -p <your project path>'
if it asks to set the target ID
all you have to do is take a back step and trigger "android list targets" from the same tool path it will show the targetID in cmd prompt
so you can add that targetID to your update comment
'android update project -t<ID> -p<project path>' there goes it will automatically update the local.properties file and your build properties
Then you are in the good shape to build your project through build.xml .......
Thanks
Roger Gasper
No comments:
Post a Comment