get source
by Mercurial
hg clone -b 2.x http://hg.code.sf.net/p/dex2jar/code dex2jar-2.x
by Git
git clone -b 2.x https://github.com/pxb1988/dex2jar.git dex2jar-2.x
build the project
by Maven
cd dex2jar-2.x mvn clean package # if build successfull, the zip file is under dex-tools/target/
by Gradle
cd dex2jar-2.x gradle clean distZip # if build successfull, the zip file is under dex-tools/build/distributions/