Mudule Make Mudule Make In android Top folder 1. croot 2. source build/envsetup.sh 3. choosecombo ...(vender, product, mode) 4. mm target directory 그럼 간략히 설명 source build/envsetup.sh 빌드를 위해 필요한 함수들이 현재 실행 중이 Shell 환경으로 로드됨 tip : 자주 사용할 때는 .profile이나 .bashrc에 추가 가능 croot 안드로이드 root 디렉토리로 이동 m 현재 경로에서 최상위 경로로 이동한 후 make 실행 mm 현재 경로에서 가장 가까운 단위 모듈만 build mmm 파라미터로 주어진 경로들에 대해 단위 모듈 build get Java code from Apk get Java code in APK Tools 1. dexdump.exe -> http://dex-decomplier.googlecode.com/files/dexdump.zip2. undx.jar -> http://www.illegalaccess.org/undx/3. java decompiler(class->java) -> http://java.decompiler.free.fr/?q=jdgui test.apk > test.zip decompress test.zip classes.dex file is compressed by classes copy dexdump and undx.jar to test folder.make "./gen" directory. java -DASDKLoc={Location of .. Ant Ant Download and Setting 1. http://ant.apache.org/bindownload.cgi 2. Add bin Path 3. > ant if some error likes "ant expected to find tools.jar" Add JAVA_HOME and path ANDROID_HOME Build 1. change directory to project 2. android update project -t android-16 -p . 3. made build.xml 4. ant debug 이전 1 다음