메뉴 건너뛰기

app

[안드로이드] aapt.exe 에러

lispro062014.05.14 23:31조회 수 3916댓글 0

  • 1
    • 글자 크기

apktool 에 의한 컴파일시 에러가 날 수 있다.


I: Building resources...

invalid resource directory name:


res/drawable-xxhdpi



        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

        at brut.androlib.Androlib.buildResources(Androlib.java:283)

        at brut.androlib.Androlib.build(Androlib.java:206)

        at brut.androlib.Androlib.build(Androlib.java:176)

        at brut.apktool.Main.cmdBuild(Main.java:228)

        at brut.apktool.Main.main(Main.java:79)


이건 경로 표시 오류로, 이미 패치가 되어 있지만 구버전에서 ICS(아이스크림 샌드위치)에 설치한 APK를 컴파일하다 보면 에러가 난다.


https://code.google.com/p/android-apktool/source/browse/brut.apktool/apktool-lib/src/main/resources/prebuilt/aapt/windows/aapt.exe?r=6fdf7b37e16fb7c487398187d4e792e5294c44cc 서 받을 수 있는데, 전체 ZIP을 받고, 해당 경로에서 대체했다.


별도 첨부를 했으니, 시험해 보길 바란다.


Good Luck!


2시간 동안 검색해서 소기의 성과를 얻다!


역시 모든 최신 버전으로~

lispro06 (비회원)
  • 1
    • 글자 크기

댓글 달기

suritam9
2013.04.25 조회 6127
suritam9
2013.04.04 조회 2207
suritam9
2012.09.14 조회 2521
suritam9
2012.06.24 조회 2370
suritam9
2012.06.24 조회 2786
suritam9
2012.06.24 조회 2555
suritam9
2012.06.22 조회 2587
박영식
2011.09.22 조회 2551
박영식
2011.09.21 조회 2494
박영식
2011.02.18 조회 2970
박영식
2010.09.29 조회 4763
첨부 (1)
aapt.zip
1.81MB / Download 129
위로