Error While Compiling, d8 failed

When I clicked on Build Button, Error Shown :

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.009 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 2
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify services
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify services
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 4
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify metadata
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify metadata
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 21
[LoadComponentInfo] INFO: Component "com.thekstudio.CustomListPicker.CustomListPicker" does not specify queries
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify queries
[LoadComponentInfo] INFO: Component "com.thekstudio.ProgressBar.ProgressBar" does not specify queries
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify queries
[LoadComponentInfo] INFO: Component "io.InternetConnection.InternetConnection" does not specify queries
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify queries
[LoadComponentInfo] INFO: Component "com.dreamers.AlphaDialog.AlphaDialog" does not specify queries
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify services
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify services
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.004 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Task errored
.

Second Error after changing logo to None:

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.005 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 2
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify services
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify services
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 4
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify metadata
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify metadata
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 21
[LoadComponentInfo] INFO: Component "com.thekstudio.CustomListPicker.CustomListPicker" does not specify queries
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify queries
[LoadComponentInfo] INFO: Component "com.thekstudio.ProgressBar.ProgressBar" does not specify queries
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify queries
[LoadComponentInfo] INFO: Component "io.InternetConnection.InternetConnection" does not specify queries
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify queries
[LoadComponentInfo] INFO: Component "com.dreamers.AlphaDialog.AlphaDialog" does not specify queries
[LoadComponentInfo] INFO: Component "com.silver.scanview.ScanView" does not specify services
[LoadComponentInfo] INFO: Component "in.vedang.clicktool.ClickTools" does not specify services
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "com.aemo.pollrefresh.CoolRefreshView" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.004 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 1.186 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating style xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] Task succeeded in 0.003 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Min SDK 21
[CreateManifest] INFO: Writing screen 'appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.SelectSKUScreen'
[CreateManifest] INFO: Writing screen 'appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.Screen1'
[CreateManifest] INFO: Writing screen 'appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.Screen2'
[CreateManifest] Task succeeded in 0.001 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.0 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.137 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.003 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.185 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 0.883 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/SelectSKUScreen.yail
[GenerateClasses] INFO: Source File: appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/Screen1.yail
[GenerateClasses] INFO: Source File: appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/Screen2.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa7123831211947306129.jar:/tmp/acra-4.4.014322729154918878573.jar:/tmp/AndroidRuntime7045904426092489672.jar:/tmp/annotation16415133180066523354.jar:/tmp/annotation-experimental13971228139444588721.jar:/tmp/appcompat12813946187464283896.jar:/tmp/asynclayoutinflater1651514675260909465.jar:/tmp/collection7234768968231931720.jar:/tmp/constraintlayout18383704684335414134.jar:/tmp/constraintlayout-solver16281987064621183969.jar:/tmp/coordinatorlayout10842509461498550490.jar:/tmp/core2378422543159964163.jar:/tmp/core-common1420596953915106620.jar:/tmp/core-runtime5645010541443416074.jar:/tmp/cursoradapter12943382220817024111.jar:/tmp/customview14311081517014332581.jar:/tmp/documentfile18185320342199252221.jar:/tmp/drawerlayout6370999275399957569.jar:/tmp/fragment7606001915447447706.jar:/tmp/interpolator15142512860628831363.jar:/tmp/legacy-support-core-ui8272582836358251065.jar:/tmp/legacy-support-core-utils14881753855311260236.jar:/tmp/lifecycle-common17758591966027464087.jar:/tmp/lifecycle-livedata16545659731015319940.jar:/tmp/lifecycle-livedata-core4462154114046432022.jar:/tmp/lifecycle-runtime4165937866578272061.jar:/tmp/lifecycle-viewmodel1340191944152184847.jar:/tmp/loader15832992003329841263.jar:/tmp/localbroadcastmanager17881449609768534145.jar:/tmp/print13275101856028883402.jar:/tmp/slidingpanelayout14613288621874859866.jar:/tmp/swiperefreshlayout12722019438217539800.jar:/tmp/vectordrawable1263644074999348159.jar:/tmp/vectordrawable-animated8335363173101699025.jar:/tmp/versionedparcelable4662787307307350158.jar:/tmp/viewpager9033572641891485986.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.thekstudio.CustomListPicker/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.sunny.CustomWebView/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.silver.scanview/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.thekstudio.ProgressBar/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/in.vedang.clicktool/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/io.InternetConnection/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.aemo.pollrefresh/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/es.brahim.AsciiConversion/files/AndroidRuntime.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../assets/external_comps/com.dreamers.AlphaDialog/files/AndroidRuntime.jar:/tmp/firebase14403947475646947572.jar:/tmp/Barcode10845810437834483168.jar:/tmp/QRGenerator6541808334794679708.jar:/tmp/json2142001882395210828.jar:/tmp/1725347299942_6443052813491066880-0/youngandroidproject/../build/classes:/tmp/android18343162168283542663.jar
(compiling appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/SelectSKUScreen.yail to appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.SelectSKUScreen)
(compiling appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/Screen1.yail to appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.Screen1)
(compiling appinventor/ai_harshpratapsinghhh/KinnkoMultiFun1/Screen2.yail to appinventor.ai_harshpratapsinghhh.KinnkoMultiFun1.Screen2)
(compiling /tmp/runtime9707798247288857611.scm to com.google.youngandroid.runtime)
[GenerateClasses] Task succeeded in 2.769 seconds
[RunD8] Starting Task
[RunD8] INFO: Using pre-dexed dex-cached-73728a509d31beb86a416caaecbe99b2.dex <- /tmp/AndroidRuntime7045904426092489672.jar
[RunD8] INFO: Using pre-dexed dex-cached-4afd1465d334dee94ac700edb0374a45.dex <- /tmp/kawa7123831211947306129.jar
[RunD8] INFO: Using pre-dexed dex-cached-558104d32e109ad96655ecbe9fe4e39f.dex <- /tmp/annotation16415133180066523354.jar
[RunD8] INFO: Using pre-dexed dex-cached-ef239d31d31d166f7410d71e14db1a68.dex <- /tmp/swiperefreshlayout12722019438217539800.jar
[RunD8] INFO: Using pre-dexed dex-cached-de87276390f7a8c71064f3e7908c143b.dex <- /tmp/core-common1420596953915106620.jar
[RunD8] INFO: Using pre-dexed dex-cached-c950a9845cca4523f19bc2fc922b41bf.dex <- /tmp/legacy-support-core-utils14881753855311260236.jar
[RunD8] INFO: Using pre-dexed dex-cached-35076b6f638faca00c217e98a0385344.dex <- /tmp/interpolator15142512860628831363.jar
[RunD8] INFO: Using pre-dexed dex-cached-bee920fd1e059913bf2d820dbb234720.dex <- /tmp/lifecycle-common17758591966027464087.jar
[RunD8] INFO: Using pre-dexed dex-cached-1e4d689047e2ee2cc76b7203626e9c33.dex <- /tmp/customview14311081517014332581.jar
[RunD8] INFO: Using pre-dexed dex-cached-74360288e1016af9d6afdd39a2caa1b8.dex <- /tmp/asynclayoutinflater1651514675260909465.jar
[RunD8] INFO: Using pre-dexed dex-cached-d53c4c8eedbf41663110b03a33fe9914.dex <- /tmp/lifecycle-runtime4165937866578272061.jar
[RunD8] INFO: Using pre-dexed dex-cached-032c68a2c5e93c1baac1524e105bbe88.dex <- /tmp/collection7234768968231931720.jar
[RunD8] INFO: Using pre-dexed dex-cached-91b7d1f3cb5fd0fd2f3a4c939316139b.dex <- /tmp/versionedparcelable4662787307307350158.jar
[RunD8] INFO: Using pre-dexed dex-cached-16ea1fc3b7e49139559eafccec2708ab.dex <- /tmp/lifecycle-viewmodel1340191944152184847.jar
[RunD8] INFO: Using pre-dexed dex-cached-84637f838557e65ad5856467fd22316c.dex <- /tmp/print13275101856028883402.jar
[RunD8] INFO: Using pre-dexed dex-cached-a9e803bf51318b35fcaf603f59f25f7c.dex <- /tmp/vectordrawable1263644074999348159.jar
[RunD8] INFO: Using pre-dexed dex-cached-b73957ec00af79319f56aedf27dff3fc.dex <- /tmp/core-runtime5645010541443416074.jar
[RunD8] INFO: Using pre-dexed dex-cached-4e788f5c66d33a47036ae77a849ffa1b.dex <- /tmp/core2378422543159964163.jar
[RunD8] INFO: Using pre-dexed dex-cached-e890ce7827a13b8714afbb241f7e89b2.dex <- /tmp/lifecycle-livedata-core4462154114046432022.jar
[RunD8] INFO: Using pre-dexed dex-cached-9e7da29c234333f4d245d8baa48e1746.dex <- /tmp/annotation-experimental13971228139444588721.jar
[RunD8] INFO: Using pre-dexed dex-cached-81757b9148a3984b5874ef1fd300acdb.dex <- /tmp/documentfile18185320342199252221.jar
[RunD8] INFO: Using pre-dexed dex-cached-b83403f2b639cc6e7a6f9c0681d69367.dex <- /tmp/viewpager9033572641891485986.jar
[RunD8] INFO: Using pre-dexed dex-cached-c2a16bb02f51a6fcd1ff46dd1a78d0bf.dex <- /tmp/slidingpanelayout14613288621874859866.jar
[RunD8] INFO: Using pre-dexed dex-cached-2eabb48fdf784357d984acbda18ea6a3.dex <- /tmp/appcompat12813946187464283896.jar
[RunD8] INFO: Using pre-dexed dex-cached-7a5a85c38b934be86a121ca9b5e7477b.dex <- /tmp/vectordrawable-animated8335363173101699025.jar
[RunD8] INFO: Using pre-dexed dex-cached-a3a712d1d179d231b40a977ed5593202.dex <- /tmp/lifecycle-livedata16545659731015319940.jar
[RunD8] INFO: Using pre-dexed dex-cached-9b1768a7734de4eaf5a635a007ad4b25.dex <- /tmp/coordinatorlayout10842509461498550490.jar
[RunD8] INFO: Using pre-dexed dex-cached-d3d338969c3cd4ad53a888753da3b580.dex <- /tmp/cursoradapter12943382220817024111.jar
[RunD8] INFO: Using pre-dexed dex-cached-a116e0a41475b6522ae295f7cc4ff4b3.dex <- /tmp/legacy-support-core-ui8272582836358251065.jar
[RunD8] INFO: Using pre-dexed dex-cached-a07a23b88daaae0b48cdd25378e03b03.dex <- /tmp/localbroadcastmanager17881449609768534145.jar
[RunD8] INFO: Using pre-dexed dex-cached-bb8901219e7be6c576cc65e75503d7fa.dex <- /tmp/fragment7606001915447447706.jar
[RunD8] INFO: Using pre-dexed dex-cached-fca718e99e97cb52f4c8c0ada2c74e72.dex <- /tmp/drawerlayout6370999275399957569.jar
[RunD8] INFO: Using pre-dexed dex-cached-ccb6f0c5e0adc11059c3d609a2fd15d6.dex <- /tmp/loader15832992003329841263.jar
[RunD8] INFO: Using pre-dexed dex-cached-c0e4dda29672c028ea3ce0e3785040de.dex <- /tmp/constraintlayout18383704684335414134.jar
[RunD8] INFO: Using pre-dexed dex-cached-85f46a2fd295a23f59a391cccd7a11c8.dex <- /tmp/constraintlayout-solver16281987064621183969.jar
[RunD8] INFO: Using pre-dexed dex-cached-34183dd13eefd80bd93dbefb2cca2c89.dex <- /tmp/QRGenerator6541808334794679708.jar
[RunD8] INFO: Using pre-dexed dex-cached-8f4e320698c37098249100bf068173d9.dex <- /tmp/Barcode10845810437834483168.jar
[RunD8] INFO: Using pre-dexed dex-cached-9161ee85b347afd51b880dcb15ce045c.dex <- /tmp/firebase14403947475646947572.jar
[RunD8] INFO: Using pre-dexed dex-cached-5e8957d43c18b768aa7d081353a3dd55.dex <- /tmp/json2142001882395210828.jar
[RunD8] ERROR: d8 failed.
[RunD8] Task errored in 2.539 seconds

The first error was about the icon
Use png format and follow the icon specifications

The second error is most probably because you switched to Kodular and back again
As already mentioned earlier, don't do that

There might be other reasons about that error, for example incompatible extensions, too much screens, too much blocks, etc... search the community for more reasons

Taifun

1 Like

I am not switching, After @Boban gave me the fixed AIA file, I didn't switch from then.

Are you using the smtp extension?

No I am not using any SMTP or like extension.

D8 Error is from the ScanView Extension of @Silver, Error got demolished but this new error shown.

It builds just fine at my end

Did you change anything since then

This is not the full app, I added scan feature in the app and it started error,

Have a look at new aia file -
KinnkoMultiFun1.aia (495.1 KB)

This file is smaller then my latest file

Yes but why this is smaller.
I remember your file is approx 967KB and Mine is 495KB approx

Idk, what have you done since I gave you mine

I used the Ascii and ScanView extension

Btw, I will look into this when I get home from work

1 Like

Okay Sure

as you can see from the error emssage, that extension is still not SDK 34 ready... you might want to report it in the corresponding extension thread, so the extension developer can update it

Taifun

I removed the extension but the problem persists.

Also Contains this error below:
Screenshot 2024-09-03 180703

Please help me to find the errors.
Every new and old components are doing errors.

Can you list the extensions that you are using - it seems the 'd8' error may be caused by the extensions clashing. Interestingly, there is a recent extension out that claims to fix this issue - but I can't find it.

1 Like
1 Like