Error building apk

I got this error when building apk. Please help

same error

Same error

@hussam_aldeen @MrSidhartha @ILOCANO_TV Could you please tell when this error occurred?
directly or after adding any component or assets?
If at all possible, send the AIA in a direct message so that it can identify the issue earlier and be resolved.

RunD8] Starting Task
[RunD8] INFO: Using pre-dexed dex-cached-f1303a26f0f62b5db11f1a86a506711e.dex ← /tmp/AndroidRuntime113476127472503225.jar
[RunD8] INFO: Using pre-dexed dex-cached-4afd1465d334dee94ac700edb0374a45.dex ← /tmp/kawa4140678456927114427.jar
[RunD8] INFO: Using pre-dexed dex-cached-57648573f37f082988423cbc112f763c.dex ← /tmp/annotation13271224939712744429.jar
[RunD8] INFO: Using pre-dexed dex-cached-88982b812830f2099c53ff33e120f0f5.dex ← /tmp/swiperefreshlayout7442551688743544721.jar
[RunD8] INFO: Using pre-dexed dex-cached-c950a9845cca4523f19bc2fc922b41bf.dex ← /tmp/legacy-support-core-utils14999164030823780731.jar
[RunD8] INFO: Using pre-dexed dex-cached-35076b6f638faca00c217e98a0385344.dex ← /tmp/interpolator10719798809037944427.jar
[RunD8] INFO: Using pre-dexed dex-cached-2d1b4c15f17d8c1b5fef67713253b140.dex ← /tmp/lifecycle-common18319160474579302120.jar
[RunD8] INFO: Using pre-dexed dex-cached-24a1d55d5ad65871f466fe32c255d4e4.dex ← /tmp/customview4694409490703276607.jar
[RunD8] INFO: Using pre-dexed dex-cached-74360288e1016af9d6afdd39a2caa1b8.dex ← /tmp/asynclayoutinflater13449178229658973667.jar
[RunD8] INFO: Using pre-dexed dex-cached-afa43b15d046b1ae56f4a3d1bd44ae38.dex ← /tmp/lifecycle-runtime6886772963298795473.jar
[RunD8] INFO: Using pre-dexed dex-cached-2fdca6c8f8c7c7bcf05fb199f7d58631.dex ← /tmp/collection727331186672792138.jar
[RunD8] INFO: Using pre-dexed dex-cached-46325e36a7aa89dab4bb34e2cefba29a.dex ← /tmp/versionedparcelable10084810267072025588.jar
[RunD8] INFO: Using pre-dexed dex-cached-f4ab4b0b90304821ac171ba2d55b00f1.dex ← /tmp/lifecycle-viewmodel15796217598076792245.jar
[RunD8] INFO: Using pre-dexed dex-cached-2212d240dfe1e8a7598ee1170ccc316d.dex ← /tmp/androidx-core-common4311535825056665351.jar
[RunD8] INFO: Using pre-dexed dex-cached-84637f838557e65ad5856467fd22316c.dex ← /tmp/print7956833294286197062.jar
[RunD8] INFO: Using pre-dexed dex-cached-2f696b1a56683b872e265e4dec37012b.dex ← /tmp/vectordrawable17936421902197557404.jar
[RunD8] INFO: Using pre-dexed dex-cached-7099b3114b3cf13d35c00cd7df18c5ee.dex ← /tmp/androidx-core12141808696809471967.jar
[RunD8] INFO: Using pre-dexed dex-cached-f95d6faa7437620379d49784b215994c.dex ← /tmp/lifecycle-livedata-core8048292761862558753.jar
[RunD8] INFO: Using pre-dexed dex-cached-9e7da29c234333f4d245d8baa48e1746.dex ← /tmp/annotation-experimental4775503040144277468.jar
[RunD8] INFO: Using pre-dexed dex-cached-1d237d00478ad39267f0899e7995cb25.dex ← /tmp/documentfile6466407044191410406.jar
[RunD8] INFO: Using pre-dexed dex-cached-7d37171c4843b64c0ed40cc3e23d336e.dex ← /tmp/androidx-core-runtime8595311079435356042.jar
[RunD8] INFO: Using pre-dexed dex-cached-b83403f2b639cc6e7a6f9c0681d69367.dex ← /tmp/viewpager1660474572596945099.jar
[RunD8] INFO: Using pre-dexed dex-cached-d8b022b71ad5eca8e90cd0c6e35907dc.dex ← /tmp/slidingpanelayout4325122709995133253.jar
[RunD8] INFO: Using pre-dexed dex-cached-cdf738447804817712f273b736bd40b7.dex ← /tmp/appcompat3969424411406348247.jar
[RunD8] INFO: Using pre-dexed dex-cached-b2c4ca697b192f36b59099cb35cdf196.dex ← /tmp/vectordrawable-animated14906512224708333711.jar
[RunD8] INFO: Using pre-dexed dex-cached-d4a6223b9a4662eb0394882a18a6e418.dex ← /tmp/lifecycle-livedata7621866996477740485.jar
[RunD8] INFO: Using pre-dexed dex-cached-616e75d81af40091954268c941dd6cd3.dex ← /tmp/coordinatorlayout9388790770598385836.jar
[RunD8] INFO: Using pre-dexed dex-cached-d3d338969c3cd4ad53a888753da3b580.dex ← /tmp/cursoradapter17515943864214140695.jar
[RunD8] INFO: Using pre-dexed dex-cached-a116e0a41475b6522ae295f7cc4ff4b3.dex ← /tmp/legacy-support-core-ui13550210694658561193.jar
[RunD8] INFO: Using pre-dexed dex-cached-e4b827df195fdb03c5b962d4daa87d5e.dex ← /tmp/localbroadcastmanager8107330145000837981.jar
[RunD8] INFO: Using pre-dexed dex-cached-99a9017e18d7b3f38646f7325e3296f2.dex ← /tmp/fragment5527987544501500695.jar
[RunD8] INFO: Using pre-dexed dex-cached-cb4333bb5266f225f1624871d660a20e.dex ← /tmp/drawerlayout1289545870409800911.jar
[RunD8] INFO: Using pre-dexed dex-cached-2314dde043b664c8e27ca7beb71e36c6.dex ← /tmp/loader8413138988533048526.jar
[RunD8] INFO: Using pre-dexed dex-cached-6cc2792a1b0605550708ba4c4fda9c17.dex ← /tmp/activity13738117188261916908.jar
[RunD8] INFO: Using pre-dexed dex-cached-53ac3977d13dc4d55dc37240e95f9ec6.dex ← /tmp/androidx-core-ktx9221920740966000623.jar
[RunD8] INFO: Using pre-dexed dex-cached-f4fb462172517b46b6cd90003508515a.dex ← /tmp/annotations15839302392232068300.jar
[RunD8] INFO: Using pre-dexed dex-cached-3731baa48dc38455bdbb4997ba63c735.dex ← /tmp/appcompat-resources17984970408998604529.jar
[RunD8] INFO: Using pre-dexed dex-cached-1bc51353c62ddc7fef531c4bbfd9e480.dex ← /tmp/cardview15115628721986543697.jar
[RunD8] INFO: Using pre-dexed dex-cached-409aee996eabfb4f23428b2d6026d6aa.dex ← /tmp/concurrent-futures11571302658940080319.jar
[RunD8] INFO: Using pre-dexed dex-cached-d43efcab6fda5d573712b619e841643a.dex ← /tmp/constraintlayout2787255173419745620.jar
[RunD8] INFO: Using pre-dexed dex-cached-23821814bc3beb7570a2e5036f60fd65.dex ← /tmp/constraintlayout-core1152585229876008941.jar
[RunD8] INFO: Using pre-dexed dex-cached-4d66cbe043bb88e08b9c738c919095d1.dex ← /tmp/customview-poolingcontainer5962839606303832156.jar
[RunD8] INFO: Using pre-dexed dex-cached-ae0a0504ff198c23ba89f60cba6bee1b.dex ← /tmp/dynamicanimation1379632011149740095.jar
[RunD8] INFO: Using pre-dexed dex-cached-ee099e0e1341957df6849ee0e464f650.dex ← /tmp/emoji2905676960122734507.jar
[RunD8] INFO: Using pre-dexed dex-cached-fcc40ced54fd9f501531860648c6d844.dex ← /tmp/emoji2-views-helper2333936702486375300.jar
[RunD8] INFO: Using pre-dexed dex-cached-6c6de22c1b236c9432ec10f124cf40f6.dex ← /tmp/kotlin-stdlib6051338402829353851.jar
[RunD8] INFO: Using pre-dexed dex-cached-7aad79016f327ae9cfd0b560b0b47558.dex ← /tmp/kotlinx-coroutines-android5393221102463814099.jar
[RunD8] INFO: Using pre-dexed dex-cached-9ba1873872fe1406d39bc40683050c45.dex ← /tmp/kotlinx-coroutines-core-jvm15773233146041360591.jar
[RunD8] INFO: Using pre-dexed dex-cached-71ed9aad1323046e2deae2628437dfff.dex ← /tmp/lifecycle-extensions1589974661034843818.jar
[RunD8] INFO: Using pre-dexed dex-cached-b3e7ff55f97fa499babab642f214b336.dex ← /tmp/lifecycle-process12328036699159713859.jar
[RunD8] INFO: Using pre-dexed dex-cached-cce2b8dc196bb7ecf4d9dc1fa39fe0a2.dex ← /tmp/lifecycle-service5566955808549586011.jar
[RunD8] INFO: Using pre-dexed dex-cached-64c54b5cf3cc657fcc04bbec3235ff71.dex ← /tmp/lifecycle-viewmodel-savedstate2974031458320534432.jar
[RunD8] INFO: Using pre-dexed dex-cached-ef91defee511e6fb7c2c5b6f550263fc.dex ← /tmp/material4006712818916680993.jar
[RunD8] INFO: Using pre-dexed dex-cached-62cbd07260e71bcee5b2c1dde6303d5f.dex ← /tmp/profileinstaller10794042182901895179.jar
[RunD8] INFO: Using pre-dexed dex-cached-e3b157da193f1550d4b4420f9c3f8288.dex ← /tmp/recyclerview12015212281977888307.jar
[RunD8] INFO: Using pre-dexed dex-cached-76145035148c5ffbf408b41ee8d58da7.dex ← /tmp/resourceinspection-annotation4580326928700177388.jar
[RunD8] INFO: Using pre-dexed dex-cached-809882326516ae74ccc0121bcfcb29c9.dex ← /tmp/room-common5971653232504020626.jar
[RunD8] INFO: Using pre-dexed dex-cached-2796e0b50b96307003c8435468b9c9e7.dex ← /tmp/room-runtime15014756407448107283.jar
[RunD8] INFO: Using pre-dexed dex-cached-3c11e904951b6d4ae1f0c09c2fd33e28.dex ← /tmp/savedstate11759277471624452260.jar
[RunD8] INFO: Using pre-dexed dex-cached-e04c1b13c2769b83664e256ed864b076.dex ← /tmp/sqlite9790635523198432575.jar
[RunD8] INFO: Using pre-dexed dex-cached-ecb1f6a86c0f99d44453d2465c410439.dex ← /tmp/sqlite-framework16038014011961450901.jar
[RunD8] INFO: Using pre-dexed dex-cached-fef11c12b388bf7c6f1c85e773f4f0de.dex ← /tmp/sqlite-ktx10073308347431707218.jar
[RunD8] INFO: Using pre-dexed dex-cached-16c6d6331d0988860ac20e6e84a4b200.dex ← /tmp/startup-runtime17424171290444959136.jar
[RunD8] INFO: Using pre-dexed dex-cached-0df216848898856e5374e7ad7addedd5.dex ← /tmp/tracing3179346073078175106.jar
[RunD8] INFO: Using pre-dexed dex-cached-5d8b0ecd856888f2dc7487dc4de7b7da.dex ← /tmp/transition1138737371725137039.jar
[RunD8] INFO: Using pre-dexed dex-cached-427efa0b8a086ed7d110f49dc84067b9.dex ← /tmp/viewpager211047242725087590067.jar
[RunD8] INFO: Using pre-dexed dex-cached-c18331e3b3b818e0491d1d24400727b3.dex ← /tmp/window6389227112903556976.jar
[RunD8] INFO: Using pre-dexed dex-cached-6e2d4e3b56912f509c766a7e427ad04a.dex ← /tmp/work-runtime7751985328291353335.jar
[RunD8] INFO: Using pre-dexed dex-cached-a32f0aa30e6de9f24fa08a25cc12cb68.dex ← /tmp/firebase-encoders-json15089642673639261925.jar
[RunD8] INFO: Using pre-dexed dex-cached-b94f678796f56d0074ae899967c0d4dd.dex ← /tmp/firebase-components5616648911117703134.jar
[RunD8] INFO: Using pre-dexed dex-cached-5e8957d43c18b768aa7d081353a3dd55.dex ← /tmp/json146291914480897114.jar
[RunD8] INFO: Using pre-dexed dex-cached-b3ea764beb68c9b44cf57c1b5a5608b2.dex ← /tmp/error_prone_annotations517689060874347755.jar
[RunD8] INFO: Using pre-dexed dex-cached-f1952312498420f4453ebff459ade13a.dex ← /tmp/transport-backend-cct4849694563196949500.jar
[RunD8] INFO: Using pre-dexed dex-cached-31000de54148555bfb813827651b89cd.dex ← /tmp/play-services-basement7231808177963262162.jar
[RunD8] INFO: Using pre-dexed dex-cached-b5fe417759c9062a29b21b31e4d3d94e.dex ← /tmp/firebase-annotations18065494596479687108.jar
[RunD8] INFO: Using pre-dexed dex-cached-a4d09f883b3668eb0af1833582d23418.dex ← /tmp/play-services-stats4490739680554438677.jar
[RunD8] INFO: Using pre-dexed dex-cached-c87394652bc5a65d86756f3114ce8045.dex ← /tmp/play-services-tasks8743897796714433354.jar
[RunD8] INFO: Using pre-dexed dex-cached-289075e48b909e9e74e6c915b3631d2e.dex ← /tmp/javax.inject5180971125388275939.jar
[RunD8] INFO: Using pre-dexed dex-cached-be66e0963b9a06f41abecb3610c2a509.dex ← /tmp/firebase-installations4367271593916111242.jar
[RunD8] INFO: Using pre-dexed dex-cached-ca7395c89f8600acbec0e9cb803d6215.dex ← /tmp/play-services-cloud-messaging5521026918017208248.jar
[RunD8] INFO: Using pre-dexed dex-cached-9161ee85b347afd51b880dcb15ce045c.dex ← /tmp/firebase8524492572455375336.jar
[RunD8] INFO: Using pre-dexed dex-cached-2cd6eb169bb34e394b2de742356f77f7.dex ← /tmp/firebase-messaging15366429712282446116.jar
[RunD8] INFO: Using pre-dexed dex-cached-4550d82d305670357b26632cb3faacc4.dex ← /tmp/firebase-datatransport15063747845136970039.jar
[RunD8] INFO: Using pre-dexed dex-cached-c3329024fc626b7f29a3dd008ee87bdb.dex ← /tmp/firebase-encoders12536372334277669201.jar
[RunD8] INFO: Using pre-dexed dex-cached-f5e8e5cd18e85e8f4aa87961c0a01d4c.dex ← /tmp/firebase-encoders-proto16252850989819977675.jar
[RunD8] INFO: Using pre-dexed dex-cached-537a22bf263d239e5a2fdbfdd4505608.dex ← /tmp/transport-runtime13538566580610674090.jar
[RunD8] INFO: Using pre-dexed dex-cached-57648573f37f082988423cbc112f763c.dex ← /tmp/annotation13271224939712744429.jar
[RunD8] INFO: Using pre-dexed dex-cached-5ac7fbcd3db479aefb3c1ac19684bf6c.dex ← /tmp/androidsvg5473077448964208298.jar
[RunD8] INFO: Using pre-dexed dex-cached-50376604002609b65556571e82e56cbc.dex ← /tmp/jts165046381729779781.jar
[RunD8] INFO: Using pre-dexed dex-cached-ae0a0504ff198c23ba89f60cba6bee1b.dex ← /tmp/dynamicanimation1379632011149740095.jar
[RunD8] INFO: Using pre-dexed dex-cached-4589691d68ea2b20b3394a32b40cce94.dex ← /tmp/firebase-common1423503661709194754.jar
[RunD8] INFO: Using pre-dexed dex-cached-2a46227164dab853dbfdf8ea0e43d3b2.dex ← /tmp/firebase-iid-interop15916049466288710174.jar
[RunD8] INFO: Using pre-dexed dex-cached-537bdf06d79c5d08d96ae41f5bb9e14a.dex ← /tmp/osmdroid5273096204324265311.jar
[RunD8] INFO: Using pre-dexed dex-cached-205a99f36ede374239d7f32629a419c8.dex ← /tmp/1724940743893_0.783448770319969-0/youngandroidproject/…/build/exploded-aars/androidx.emoji2/libs/repackaged.jar
[RunD8] INFO: Using pre-dexed dex-cached-a35460fbee4e5b6f0a1d65efee5bf1ed.dex ← /tmp/firebase-measurement-connector9349915937679729192.jar
[RunD8] INFO: Using pre-dexed dex-cached-b3e589877c3dcb54a723002f8d92f679.dex ← /tmp/play-services-base17961966587939705619.jar
[RunD8] INFO: Using pre-dexed dex-cached-dbb8bcc286d73f22fe5d3bee9446b2eb.dex ← /tmp/firebase-installations-interop14794270221930820287.jar
[RunD8] INFO: Using pre-dexed dex-cached-fc01892aa16fb822b7355ddef21030b3.dex ← /tmp/transport-api10638448950582242535.jar
[RunD8] ERROR: d8 failed.
[RunD8] Task errored in 7.762 seconds

Do you have extensions in your project? It could be possible that there are extensions which are using libraries already present in the builder.

This are the extensions I used in my project
I use unity ads. If I remove unity my app compiles normally but if I add unity I am getting that error. So I think the error is in unity

any one of you who can share the AIA, then please share it. It will help to detect the error faster

Cannot build aab. I am getting this error in bundle tool

@ILOCANO_TV can you send aia in DM

@MrSidhartha @ILOCANO_TV @hussam_aldeen Can you all please check your app on beta server? This error is fixed, and we want to confirm that it’s fixed on beta server.

Bro , I have already checked in beta. I am trying to build my app many times. But app is not buildings. Even I create a new project and install in phone. It’s doesn’t open. Please solve this problem as soon as possible.

Before android 14 update my app working perfectly but when you send 14 update on normal and beta. Then my app is not build, if it’s built then app is not opening.

1 Like

means you are still getting the d8 error

Yes bro. My app is not building . I am getting error. If I create a new project with a single button. And install in device then app is not open.

Could you please share the AIA file via direct message, @MrSidhartha, so I can check and find the error and quickly have it rectified?