X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/a539f228b523c712fb9e61d4e5e4799a185b64ff..5cf1215c65abb9c57171030d95c1ae26b65a0280:/Resource.cpp diff --git a/Resource.cpp b/Resource.cpp index 9c5fcda..c8ba904 100644 --- a/Resource.cpp +++ b/Resource.cpp @@ -835,7 +835,9 @@ status_t buildResources(Bundle* bundle, const sp& assets) bool hasErrors = false; if (drawables != NULL) { - err = preProcessImages(bundle, assets, drawables); + if (bundle->getOutputAPKFile() != NULL) { + err = preProcessImages(bundle, assets, drawables); + } if (err == NO_ERROR) { err = makeFileResources(bundle, assets, &table, drawables, "drawable"); if (err != NO_ERROR) {