When I want to compile a released version of my app, I sign it and rename the apk file to include a version number in the filename. To launch the app on my device I use adb. Is there a way this can be done in Eclipse?
Another related issue: If I press Run (Ctrl-F11), Eclipse will compile my apk and run it on the device. If my project is called “My App”, the file “My App.apk” gets generated. It would be nice if I could get Eclipse to generate a filename that has the same filename as my released version and then maybe Eclipse would also install it with the Run command. Is this possible?
You could achieve all that is mentioned in your question using Ant. You can also run an Ant command from Eclipse.
The following resources would be helpful: