How do I export a project in ZIP format in Android Studio?
I have always worked with Eclipse that has this feature.
It's easy, if you use git:
git archive -o latest.zip HEAD
In Android Studio 4.1 the export as ZIP option has been moved to File - > Manage IDE Settings - > Export to Zip file
Windows:
First Open Command Window and set location of your android studio project folder like:
D:\MyApplication>
then type below command in it:
gradlew clean
then wait for complete clean process. after complete it now zip your project like below:
Following worked for me, Android Studio 2.0, assuming there are no libs.
A. From the source project
1. Copy /app/build.gradle
2. Copy /app/src/* including subdirectories (only contains manifest, java and resources)
B. Create new project with the same package name, minSDK etc.
1. Replace /app/build.gradle
2. Replace /app/src/* including subdirectories
C. Synchronize
D. Clean Project