While running the code it shows a alert
Errors occurred during the build Errors running builder \'Android Package Builder\' on project \'Tes
Adding the below line in project.properties and setting Java to 1.7 solved the issue to me.
sdk.buildtools=23.0.3