Code Handover

If you are handing over the code for an Android Studio project here are the kind of commands you might want to execute:

export ANDROID_HOME=/Development/android-sdk-macosx
export RELEASE_STORE_PASSWORD=store_password
export RELEASE_KEY_ALIAS=release_key
export RELEASE_KEY_ALIAS_PASSWORD=alias_password
git clone ssh://git@bitbucket.com/myproject.git myproject
cd myproject/
git checkout -b release origin/release
rm -rf .git git README .gitignore .arclint .arcconfig test_all.sh
./gradlew assembleProd
rm -rf */build

Leave a Reply

Your email address will not be published. Required fields are marked *