Requirements
- JDK 7
- MAC: ADT Bundle from Google
- WIN: ADT Bundle from Google (64 bit)
- WIN: ADT Bundle from Google (32 bit)
- Install API 23 via the Android SDK Manager (Use API 21 for 1.3.5 and earlier)
Import Project
- Export Project from Buildbox.
- Open Eclipse. On start, you will be asked to select a ‘workspace’. Just accept the default and continue. (The concept of multiple workspaces can be useful if you are doing work for different companies and wish to keep everything totally separate. It is outside the scope of this document).
- Click File → Import
- Select Android → Existing Android Code… then click Next
- Browse to the android directory of your project, tick the projects, and click [Finish]
Note: If you need to reload an updated version of your project you will need to delete the previous version from Eclipse then simply import the updated version.
Testing on Device
- Import your project into Eclipse
- Select imported project in Eclipse left sidebar
- Right-click and select Run → Run
- Select Android Application and click OK
- Select your device and click OK
- The game should start on your device
Testing on Device
- Import your project into Eclipse
- Select imported project in Eclipse left sidebar
- Select Run → Run
- Select Android Application and click OK
- Select your device and click OK
- The game should start on your device
Build APK
- Right click your imported project from the sidebarSelect Android Tools → Export Signed Application Package
- Click [Next]
- If you have a keystore already:
- Select Use Existing Keystore
- Enter Password for the keystore and click [Next]
- Select Alias, Enter Password (or create new key) then click [Next]
- Goto step 5.
- If you don’t have a keystore already:
- Select Create new keystore
- Browse to Location and enter new Filename
- Enter Password and click [Next]
- Enter Alias name, Password and 30 for years
- Enter the rest of your info (at least one field) then click [Next]
- Click [Finish]
Note: You must use this keystore and alias for every version of your game. You must remember the passwords. If you lose the keystore or forget the passwords you will not be able to update your game. You cannot recover a lost keystore. You can have multiple aliases in a single keystore.