diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/APKResourceImporter.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/APKResourceImporter.java index d005a039..44d0a1db 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/APKResourceImporter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/APKResourceImporter.java @@ -49,7 +49,7 @@ public class APKResourceImporter implements Importer Enjarify.apk2Jar(tempCopy, output); //create a new resource importer and copy the contents from it - container.clear().copy(new ResourceContainerImporter( + container.copy(new ResourceContainerImporter( new ResourceContainer(output)).importAsZip().getContainer()); BytecodeViewer.updateBusyStatus(false); diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/DEXResourceImporter.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/DEXResourceImporter.java index 29615b07..73af8cd2 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/DEXResourceImporter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/DEXResourceImporter.java @@ -38,7 +38,7 @@ public class DEXResourceImporter implements Importer Enjarify.apk2Jar(tempCopy, output); //create a new resource importer and copy the contents from it - container.clear().copy(new ResourceContainerImporter( + container.copy(new ResourceContainerImporter( new ResourceContainer(output)).importAsZip().getContainer()); BytecodeViewer.updateBusyStatus(false);