ERROR: d8 failed. - STILL DOESN'T WORK

Hello,
i've tried many solutions from other topics but none worked. Can please anyone help me?

AIA:
spknhrn.aia (767.8 KB)

Set Logo in png,

File in square upto 1024x1024

Not a logo issue, their logo is 700x700 (square) png

This is a D8 problem. read the title and topic before replying.

OP's error log:

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.016 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.puravidaapps.TaifunSettings" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.puravidaapps.TaifunSettings" does not specify services
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 3
[LoadComponentInfo] INFO: Component "com.puravidaapps.TaifunSettings" does not specify metadata
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 16
[LoadComponentInfo] INFO: Component "com.puravidaapps.TaifunTools" does not specify queries
[LoadComponentInfo] INFO: Component "com.puravidaapps.TaifunSettings" does not specify queries
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify queries
[LoadComponentInfo] INFO: Component "com.puravidaapps.TaifunSettings" does not specify services
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.016 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 0.65 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.011 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 19
[CreateManifest] VName: 3.0
[CreateManifest] Min SDK 7
[CreateManifest] INFO: Writing screen 'appinventor.ai_adriano2012tavares.spknhrn.Screen1'
[CreateManifest] Task succeeded in 0.003 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.001 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.149 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.001 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.194 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 0.887 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_adriano2012tavares/spknhrn/Screen1.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa15850694750099044898.jar:/tmp/acra-4.4.016438696792239637422.jar:/tmp/AndroidRuntime798022519469776152.jar:/tmp/annotation3198227281139504424.jar:/tmp/annotation-experimental16952359648396141144.jar:/tmp/appcompat971025635564944145.jar:/tmp/asynclayoutinflater6169718780958161205.jar:/tmp/collection16266028507943856069.jar:/tmp/constraintlayout4922534517414132038.jar:/tmp/constraintlayout-solver4117719854502216829.jar:/tmp/coordinatorlayout1761945171457803893.jar:/tmp/core5763261012726869332.jar:/tmp/core-common4518976368137792767.jar:/tmp/core-runtime4958627077944676988.jar:/tmp/cursoradapter14492347532694838568.jar:/tmp/customview13553939300488678099.jar:/tmp/documentfile6910547260215788512.jar:/tmp/drawerlayout4546691800911630164.jar:/tmp/fragment11548746036485527831.jar:/tmp/interpolator10053740870235090391.jar:/tmp/legacy-support-core-ui14784105636096266212.jar:/tmp/legacy-support-core-utils8535332991830347116.jar:/tmp/lifecycle-common1925004632947249610.jar:/tmp/lifecycle-livedata5850833780962610802.jar:/tmp/lifecycle-livedata-core4686952527920819646.jar:/tmp/lifecycle-runtime8088189416245004345.jar:/tmp/lifecycle-viewmodel17070560094785632345.jar:/tmp/loader10827745896085040263.jar:/tmp/localbroadcastmanager9371723396725805818.jar:/tmp/print12507012378203835691.jar:/tmp/slidingpanelayout4420251432042768685.jar:/tmp/swiperefreshlayout1365453957730664048.jar:/tmp/vectordrawable13692066648984296173.jar:/tmp/vectordrawable-animated2743428209440695478.jar:/tmp/versionedparcelable5734787588912958336.jar:/tmp/viewpager14112134657809180898.jar:/tmp/1727525459582_6111232516282955776-0/youngandroidproject/../assets/external_comps/com.puravidaapps.TaifunTools/files/AndroidRuntime.jar:/tmp/1727525459582_6111232516282955776-0/youngandroidproject/../assets/external_comps/com.puravidaapps.TaifunSettings/files/AndroidRuntime.jar:/tmp/1727525459582_6111232516282955776-0/youngandroidproject/../assets/external_comps/io.horizon.qrcodegenerator/files/AndroidRuntime.jar:/tmp/Barcode6770911236258279593.jar:/tmp/QRGenerator4863374749762321721.jar:/tmp/jedis1938140068439352359.jar:/tmp/1727525459582_6111232516282955776-0/youngandroidproject/../build/classes:/tmp/android7263790221264656075.jar
(compiling appinventor/ai_adriano2012tavares/spknhrn/Screen1.yail to appinventor.ai_adriano2012tavares.spknhrn.Screen1)
(compiling /tmp/runtime12824609228595234485.scm to com.google.youngandroid.runtime)
[GenerateClasses] Task succeeded in 2.451 seconds
[RunD8] Starting Task
[RunD8] INFO: Using pre-dexed dex-cached-73728a509d31beb86a416caaecbe99b2.dex <- /tmp/AndroidRuntime798022519469776152.jar
[RunD8] INFO: Using pre-dexed dex-cached-4afd1465d334dee94ac700edb0374a45.dex <- /tmp/kawa15850694750099044898.jar
[RunD8] INFO: Using pre-dexed dex-cached-558104d32e109ad96655ecbe9fe4e39f.dex <- /tmp/annotation3198227281139504424.jar
[RunD8] INFO: Using pre-dexed dex-cached-ef239d31d31d166f7410d71e14db1a68.dex <- /tmp/swiperefreshlayout1365453957730664048.jar
[RunD8] INFO: Using pre-dexed dex-cached-de87276390f7a8c71064f3e7908c143b.dex <- /tmp/core-common4518976368137792767.jar
[RunD8] INFO: Using pre-dexed dex-cached-c950a9845cca4523f19bc2fc922b41bf.dex <- /tmp/legacy-support-core-utils8535332991830347116.jar
[RunD8] INFO: Using pre-dexed dex-cached-35076b6f638faca00c217e98a0385344.dex <- /tmp/interpolator10053740870235090391.jar
[RunD8] INFO: Using pre-dexed dex-cached-bee920fd1e059913bf2d820dbb234720.dex <- /tmp/lifecycle-common1925004632947249610.jar
[RunD8] INFO: Using pre-dexed dex-cached-1e4d689047e2ee2cc76b7203626e9c33.dex <- /tmp/customview13553939300488678099.jar
[RunD8] INFO: Using pre-dexed dex-cached-74360288e1016af9d6afdd39a2caa1b8.dex <- /tmp/asynclayoutinflater6169718780958161205.jar
[RunD8] INFO: Using pre-dexed dex-cached-d53c4c8eedbf41663110b03a33fe9914.dex <- /tmp/lifecycle-runtime8088189416245004345.jar
[RunD8] INFO: Using pre-dexed dex-cached-032c68a2c5e93c1baac1524e105bbe88.dex <- /tmp/collection16266028507943856069.jar
[RunD8] INFO: Using pre-dexed dex-cached-91b7d1f3cb5fd0fd2f3a4c939316139b.dex <- /tmp/versionedparcelable5734787588912958336.jar
[RunD8] INFO: Using pre-dexed dex-cached-16ea1fc3b7e49139559eafccec2708ab.dex <- /tmp/lifecycle-viewmodel17070560094785632345.jar
[RunD8] INFO: Using pre-dexed dex-cached-84637f838557e65ad5856467fd22316c.dex <- /tmp/print12507012378203835691.jar
[RunD8] INFO: Using pre-dexed dex-cached-a9e803bf51318b35fcaf603f59f25f7c.dex <- /tmp/vectordrawable13692066648984296173.jar
[RunD8] INFO: Using pre-dexed dex-cached-b73957ec00af79319f56aedf27dff3fc.dex <- /tmp/core-runtime4958627077944676988.jar
[RunD8] INFO: Using pre-dexed dex-cached-4e788f5c66d33a47036ae77a849ffa1b.dex <- /tmp/core5763261012726869332.jar
[RunD8] INFO: Using pre-dexed dex-cached-e890ce7827a13b8714afbb241f7e89b2.dex <- /tmp/lifecycle-livedata-core4686952527920819646.jar
[RunD8] INFO: Using pre-dexed dex-cached-9e7da29c234333f4d245d8baa48e1746.dex <- /tmp/annotation-experimental16952359648396141144.jar
[RunD8] INFO: Using pre-dexed dex-cached-81757b9148a3984b5874ef1fd300acdb.dex <- /tmp/documentfile6910547260215788512.jar
[RunD8] INFO: Using pre-dexed dex-cached-b83403f2b639cc6e7a6f9c0681d69367.dex <- /tmp/viewpager14112134657809180898.jar
[RunD8] INFO: Using pre-dexed dex-cached-c2a16bb02f51a6fcd1ff46dd1a78d0bf.dex <- /tmp/slidingpanelayout4420251432042768685.jar
[RunD8] INFO: Using pre-dexed dex-cached-2eabb48fdf784357d984acbda18ea6a3.dex <- /tmp/appcompat971025635564944145.jar
[RunD8] INFO: Using pre-dexed dex-cached-7a5a85c38b934be86a121ca9b5e7477b.dex <- /tmp/vectordrawable-animated2743428209440695478.jar
[RunD8] INFO: Using pre-dexed dex-cached-a3a712d1d179d231b40a977ed5593202.dex <- /tmp/lifecycle-livedata5850833780962610802.jar
[RunD8] INFO: Using pre-dexed dex-cached-9b1768a7734de4eaf5a635a007ad4b25.dex <- /tmp/coordinatorlayout1761945171457803893.jar
[RunD8] INFO: Using pre-dexed dex-cached-d3d338969c3cd4ad53a888753da3b580.dex <- /tmp/cursoradapter14492347532694838568.jar
[RunD8] INFO: Using pre-dexed dex-cached-a116e0a41475b6522ae295f7cc4ff4b3.dex <- /tmp/legacy-support-core-ui14784105636096266212.jar
[RunD8] INFO: Using pre-dexed dex-cached-a07a23b88daaae0b48cdd25378e03b03.dex <- /tmp/localbroadcastmanager9371723396725805818.jar
[RunD8] INFO: Using pre-dexed dex-cached-bb8901219e7be6c576cc65e75503d7fa.dex <- /tmp/fragment11548746036485527831.jar
[RunD8] INFO: Using pre-dexed dex-cached-fca718e99e97cb52f4c8c0ada2c74e72.dex <- /tmp/drawerlayout4546691800911630164.jar
[RunD8] INFO: Using pre-dexed dex-cached-ccb6f0c5e0adc11059c3d609a2fd15d6.dex <- /tmp/loader10827745896085040263.jar
[RunD8] INFO: Using pre-dexed dex-cached-c0e4dda29672c028ea3ce0e3785040de.dex <- /tmp/constraintlayout4922534517414132038.jar
[RunD8] INFO: Using pre-dexed dex-cached-85f46a2fd295a23f59a391cccd7a11c8.dex <- /tmp/constraintlayout-solver4117719854502216829.jar
[RunD8] INFO: Using pre-dexed dex-cached-8f4e320698c37098249100bf068173d9.dex <- /tmp/Barcode6770911236258279593.jar
[RunD8] INFO: Using pre-dexed dex-cached-34183dd13eefd80bd93dbefb2cca2c89.dex <- /tmp/QRGenerator4863374749762321721.jar
[RunD8] INFO: Using pre-dexed dex-cached-0dc56f08e767617776af0e9817e5d429.dex <- /tmp/jedis1938140068439352359.jar
[RunD8] ERROR: d8 failed.
[RunD8] Task errored in 2.199 seconds

D8 issues here:

There is a class conflict between Barcode component and QRGenerator extension

Try this spknhrn1.aia (1.1 MB)

Using this extension makes it work

1 Like

It did compile and I installed the app on my phone, but the QR-Code isn't generating for some reason.

Try redownloading the project as you may have downloaded the prerelease before I was able to upload new version

Oh ok i'm doing it right now

Thank you very much. It works perfectly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.