Pages

11/02/2017

Import Android Project to Eclipse and Export Android Project as APK from Eclipse



IMPORT ANDROID PROJECT TO ECLIPSE


STEP 1:
Download any sample Android Project Zip files from sites like Tutorialpoint,Github and etc.

STEP 2:
Extract the Zip file.


STEP 3:
After Extraction of the Zip file. Check it contains res, manifest, src folders.


STEP 4:
Now, open Eclipse.



STEP 5:
Wait for loading the Workspace.


STEP 6:
Choose File -> Import.


STEP 7:
On the Import dialog box, Choose "Existing Android Code into Workspace".


STEP 8:
Then, Click on "Browse" button.


STEP 9:
Then, Choose the Existing Project you need to import.


STEP 10:
If you want to copy this project in to Eclipse Workspace.Then, Enable the Checkbox near the option called "Copy projects into workspace". I don't want to copy this Android project to workspace. So, skipped this step.


STEP 11:
Now, Click on "Finish" button. Android Project will be imported into Eclipse as shown below.


EXPORT ANDROID PROJECT AS APK FROM ECLIPSE


STEP 1:
Choose File -> Export.


STEP 2:
On the Export dialog box, Choose "Export Android Application".


STEP 3:
Then, Click on "Browse" button.


STEP 4:
Choose the Android Project which you want to Export and click on "OK" button.


STEP 5:
Choose "Create New Keystore" and Click on "Browse" button to choose the location to save this Keystore File.


STEP 6:
Give the name for this Keyfile and press the "Save" button.


STEP 7:
Choose the Password with atleast 6 Charectors of length.Then, Press the "Next" button.


NOTE:
Remember the Password provided for this Key file. Otherwise, you won't be able to release any updated version for this Application on Google Play Store.

STEP 8:
Provide Application Name as the Alias Name. Fill all the other details as per your own wish.


STEP 9:
Click on "Next" button.


STEP 10:
Click on "Browse" button to Choose the location in which the Apk file is to be saved.


STEP 11:
Click on the "Save" button.


STEP 12:
Click on the "Finish" button.



STEP  13:
Now, Android Project exported as APK File will be present on the location specified by you.


Other Related Links





No comments:

Post a Comment