How to generate an apk file from eclipse
Go to your project→Right click→Export like as shown bellow
Select Export Android Application and click on next button
Then click on Next button
Then you need to select create new Keystore (if you want to create or else you can use existing Keystore also)
Here you need to select the location of keystore where you want to store it
Suppose Desktop and file name as ‘apk’. Then click on ‘save’ button.
: After that enter password and confirm password for authentication (Here you need to enter password length at least 6 characters). Then click on Next button.
Here fill the details for key creation and enter password. For example as shown bellow and click on Next button
: Here it will ask where you want to store your apk file browse and select the location of apk file. Here for example Desktop. Then click on Finish button
That’s it. You can see the .apk file at which you selected path.