Use Apache Commons Compress instead of java.util.zip
When the SDK installer unarchives the zip files, it is important to keep the permissions for executable (Linux/MacOS) or the tools required to build applications (aapt, aidl, ...) won't work. Since java.util.zip does not provide support for permissions, we now use the Apache Commons Compress component that allows us to read the permission from the archive.
This commit is contained in:
@@ -20,7 +20,8 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
||||
LOCAL_JAVA_RESOURCE_DIRS := .
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
androidprefs
|
||||
androidprefs \
|
||||
commons-compress-1.0
|
||||
|
||||
LOCAL_MODULE := sdklib
|
||||
|
||||
|
||||
Reference in New Issue
Block a user