Android Question Compilation error after B4A update

ThePuiu

Active Member
Licensed User
Longtime User
Today I updated the application from 11.x to 12.5... I installed the new version and copied the 2 archives to the c:\Android folder. For unknown reasons, the computer restarted while I was trying to compile a project. I tried to compile again and I get the following messages:
B4A Version: 12.50
Parsing code. (0.38s)
Java Version: 14
Building folders structure. (0.01s)
Compiling code. (0.68s)
Compiling layouts code. (0.08s)
Organizing libraries. (0.06s)
(AndroidX SDK)
Compiling resources (1.18s)
Linking resources (0.74s)
Compiling debugger engine code. (5.15s)
Compiling generated Java code. (6.43s)
Finding libraries that need to be dexed. (0.02s)
Dex code (10.19s)
Dex merge Error
Error: java.util.zip.ZipException: zip END header not found
Compilation failed with an internal error.
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:98)
at com.android.tools.r8.D8.main(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
at Version.fakeStackEntry(Version_3.3.20-dev+aosp1.java:0)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:75)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:28)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:27)
at com.android.tools.r8.internal.vj.b(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:2)
at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:22)
at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:17)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:85)
... 1 more
Caused by: java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1482)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1383)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1390)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1221)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1184)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:718)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:238)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:291)
at com.android.tools.r8.internal.Ak.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:40)
at com.android.tools.r8.utils.ArchiveResourceProvider.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
at com.android.tools.r8.utils.ArchiveResourceProvider.getProgramResources(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:1)
at com.android.tools.r8.utils.j.d(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
at com.android.tools.r8.dex.a.b(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:26)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:87)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:28)
at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:25)
at com.android.tools.r8.D8.d(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:609)
at com.android.tools.r8.D8.c(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:1)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:24)
... 5 more
Suppressed: com.android.tools.r8.internal.Ec: Zip error while reading 'c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-core\21.1.1\unpacked-firebase-core-21.1.1\jars\classes.zip': zip END header not found
at com.android.tools.r8.utils.ArchiveResourceProvider.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:296)
... 14 more
Caused by: [CIRCULAR REFERENCE: java.util.zip.ZipException: zip END header not found]

Can you help me with an advice? Thank you!
 
Top