Need help with error

why is this error coming

The best part of the log is at the bottom.
Show us?

1 Like

pp Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.006 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[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 "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 = 5
[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 = 27
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.BrowserPromptHelper" does not specify queries
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.CustomWebView" does not specify queries
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.DownloadHelper" does not specify queries
[LoadComponentInfo] INFO: Component "io.horizon.qrcodegenerator.QRCodeGenerator" does not specify queries
[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.005 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.324 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.006 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_gea1300169.robot_dog.speach_ai'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.homepage'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.emotion'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.authenticate'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.Screen1'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.recharge'
[CreateManifest] INFO: Writing screen 'appinventor.ai_gea1300169.robot_dog.robot_cam'
[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.183 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.023 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.192 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] Task succeeded in 1.214 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/speach_ai.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/homepage.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/emotion.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/authenticate.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/Screen1.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/recharge.yail
[GenerateClasses] INFO: Source File: appinventor/ai_gea1300169/robot_dog/robot_cam.yail
[GenerateClasses] INFO: Libraries Classpath = /tmp/kawa16439458217369385370.jar:/tmp/acra-4.4.01503680627840475689.jar:/tmp/AndroidRuntime2754576360525597590.jar:/tmp/annotation8847859884840364980.jar:/tmp/annotation-experimental9815014219171398798.jar:/tmp/appcompat2163434684570871826.jar:/tmp/asynclayoutinflater8361332219425662024.jar:/tmp/collection12552595331592392779.jar:/tmp/constraintlayout13779713158565365932.jar:/tmp/constraintlayout-solver14672582379951842563.jar:/tmp/coordinatorlayout4334696510975988619.jar:/tmp/core3386823993665630739.jar:/tmp/core-common1931701799078834844.jar:/tmp/core-runtime4294659769785009603.jar:/tmp/cursoradapter13692111626945928176.jar:/tmp/customview17954847469283129938.jar:/tmp/documentfile17104754950168136977.jar:/tmp/drawerlayout5797564816886658489.jar:/tmp/fragment12398996470029300973.jar:/tmp/interpolator11799924336387107375.jar:/tmp/legacy-support-core-ui17085965729845250699.jar:/tmp/legacy-support-core-utils6203804953129134690.jar:/tmp/lifecycle-common1909142014244802583.jar:/tmp/lifecycle-livedata14124927369954153821.jar:/tmp/lifecycle-livedata-core2909173006828655809.jar:/tmp/lifecycle-runtime10399770333145596243.jar:/tmp/lifecycle-viewmodel16491558687417631352.jar:/tmp/loader10928804345226459234.jar:/tmp/localbroadcastmanager8750250736973660642.jar:/tmp/print16185591181988042316.jar:/tmp/slidingpanelayout1141505493215893978.jar:/tmp/swiperefreshlayout2319645773433142739.jar:/tmp/vectordrawable14032758090161003778.jar:/tmp/vectordrawable-animated80856193925403429.jar:/tmp/versionedparcelable10912231630074122074.jar:/tmp/viewpager5589046440212323653.jar:/tmp/1727270533114_3098577635898497024-0/youngandroidproject/../assets/external_comps/com.sunny.CustomWebView/files/AndroidRuntime.jar:/tmp/1727270533114_3098577635898497024-0/youngandroidproject/../assets/external_comps/io.horizon.qrcodegenerator/files/AndroidRuntime.jar:/tmp/protobuf-java-3.0.010141858292371662672.jar:/tmp/Barcode16819182795485783405.jar:/tmp/QRGenerator7274751897047479822.jar:/tmp/json4239251457920080600.jar:/tmp/jedis14986266607832696518.jar:/tmp/1727270533114_3098577635898497024-0/youngandroidproject/../build/classes:/tmp/android10752984204613161506.jar
(compiling appinventor/ai_gea1300169/robot_dog/speach_ai.yail to appinventor.ai_gea1300169.robot_dog.speach_ai)
(compiling appinventor/ai_gea1300169/robot_dog/homepage.yail to appinventor.ai_gea1300169.robot_dog.homepage)
(compiling appinventor/ai_gea1300169/robot_dog/emotion.yail to appinventor.ai_gea1300169.robot_dog.emotion)
(compiling appinventor/ai_gea1300169/robot_dog/authenticate.yail to appinventor.ai_gea1300169.robot_dog.authenticate)
(compiling appinventor/ai_gea1300169/robot_dog/Screen1.yail to appinventor.ai_gea1300169.robot_dog.Screen1)
(compiling appinventor/ai_gea1300169/robot_dog/recharge.yail to appinventor.ai_gea1300169.robot_dog.recharge)
(compiling appinventor/ai_gea1300169/robot_dog/robot_cam.yail to appinventor.ai_gea1300169.robot_dog.robot_cam)
(compiling /tmp/runtime11961558408910886303.scm to com.google.youngandroid.runtime)
[GenerateClasses] Task succeeded in 4.59 seconds
[RunD8] Starting Task
[RunD8] INFO: Using pre-dexed dex-cached-73728a509d31beb86a416caaecbe99b2.dex <- /tmp/AndroidRuntime2754576360525597590.jar
[RunD8] INFO: Using pre-dexed dex-cached-4afd1465d334dee94ac700edb0374a45.dex <- /tmp/kawa16439458217369385370.jar
[RunD8] INFO: Using pre-dexed dex-cached-558104d32e109ad96655ecbe9fe4e39f.dex <- /tmp/annotation8847859884840364980.jar
[RunD8] INFO: Using pre-dexed dex-cached-ef239d31d31d166f7410d71e14db1a68.dex <- /tmp/swiperefreshlayout2319645773433142739.jar
[RunD8] INFO: Using pre-dexed dex-cached-de87276390f7a8c71064f3e7908c143b.dex <- /tmp/core-common1931701799078834844.jar
[RunD8] INFO: Using pre-dexed dex-cached-c950a9845cca4523f19bc2fc922b41bf.dex <- /tmp/legacy-support-core-utils6203804953129134690.jar
[RunD8] INFO: Using pre-dexed dex-cached-35076b6f638faca00c217e98a0385344.dex <- /tmp/interpolator11799924336387107375.jar
[RunD8] INFO: Using pre-dexed dex-cached-bee920fd1e059913bf2d820dbb234720.dex <- /tmp/lifecycle-common1909142014244802583.jar
[RunD8] INFO: Using pre-dexed dex-cached-1e4d689047e2ee2cc76b7203626e9c33.dex <- /tmp/customview17954847469283129938.jar
[RunD8] INFO: Using pre-dexed dex-cached-74360288e1016af9d6afdd39a2caa1b8.dex <- /tmp/asynclayoutinflater8361332219425662024.jar
[RunD8] INFO: Using pre-dexed dex-cached-d53c4c8eedbf41663110b03a33fe9914.dex <- /tmp/lifecycle-runtime10399770333145596243.jar
[RunD8] INFO: Using pre-dexed dex-cached-032c68a2c5e93c1baac1524e105bbe88.dex <- /tmp/collection12552595331592392779.jar
[RunD8] INFO: Using pre-dexed dex-cached-91b7d1f3cb5fd0fd2f3a4c939316139b.dex <- /tmp/versionedparcelable10912231630074122074.jar
[RunD8] INFO: Using pre-dexed dex-cached-16ea1fc3b7e49139559eafccec2708ab.dex <- /tmp/lifecycle-viewmodel16491558687417631352.jar
[RunD8] INFO: Using pre-dexed dex-cached-84637f838557e65ad5856467fd22316c.dex <- /tmp/print16185591181988042316.jar
[RunD8] INFO: Using pre-dexed dex-cached-a9e803bf51318b35fcaf603f59f25f7c.dex <- /tmp/vectordrawable14032758090161003778.jar
[RunD8] INFO: Using pre-dexed dex-cached-b73957ec00af79319f56aedf27dff3fc.dex <- /tmp/core-runtime4294659769785009603.jar
[RunD8] INFO: Using pre-dexed dex-cached-4e788f5c66d33a47036ae77a849ffa1b.dex <- /tmp/core3386823993665630739.jar
[RunD8] INFO: Using pre-dexed dex-cached-e890ce7827a13b8714afbb241f7e89b2.dex <- /tmp/lifecycle-livedata-core2909173006828655809.jar
[RunD8] INFO: Using pre-dexed dex-cached-9e7da29c234333f4d245d8baa48e1746.dex <- /tmp/annotation-experimental9815014219171398798.jar
[RunD8] INFO: Using pre-dexed dex-cached-81757b9148a3984b5874ef1fd300acdb.dex <- /tmp/documentfile17104754950168136977.jar
[RunD8] INFO: Using pre-dexed dex-cached-b83403f2b639cc6e7a6f9c0681d69367.dex <- /tmp/viewpager5589046440212323653.jar
[RunD8] INFO: Using pre-dexed dex-cached-c2a16bb02f51a6fcd1ff46dd1a78d0bf.dex <- /tmp/slidingpanelayout1141505493215893978.jar
[RunD8] INFO: Using pre-dexed dex-cached-2eabb48fdf784357d984acbda18ea6a3.dex <- /tmp/appcompat2163434684570871826.jar
[RunD8] INFO: Using pre-dexed dex-cached-7a5a85c38b934be86a121ca9b5e7477b.dex <- /tmp/vectordrawable-animated80856193925403429.jar
[RunD8] INFO: Using pre-dexed dex-cached-a3a712d1d179d231b40a977ed5593202.dex <- /tmp/lifecycle-livedata14124927369954153821.jar
[RunD8] INFO: Using pre-dexed dex-cached-9b1768a7734de4eaf5a635a007ad4b25.dex <- /tmp/coordinatorlayout4334696510975988619.jar
[RunD8] INFO: Using pre-dexed dex-cached-d3d338969c3cd4ad53a888753da3b580.dex <- /tmp/cursoradapter13692111626945928176.jar
[RunD8] INFO: Using pre-dexed dex-cached-a116e0a41475b6522ae295f7cc4ff4b3.dex <- /tmp/legacy-support-core-ui17085965729845250699.jar
[RunD8] INFO: Using pre-dexed dex-cached-a07a23b88daaae0b48cdd25378e03b03.dex <- /tmp/localbroadcastmanager8750250736973660642.jar
[RunD8] INFO: Using pre-dexed dex-cached-bb8901219e7be6c576cc65e75503d7fa.dex <- /tmp/fragment12398996470029300973.jar
[RunD8] INFO: Using pre-dexed dex-cached-fca718e99e97cb52f4c8c0ada2c74e72.dex <- /tmp/drawerlayout5797564816886658489.jar
[RunD8] INFO: Using pre-dexed dex-cached-ccb6f0c5e0adc11059c3d609a2fd15d6.dex <- /tmp/loader10928804345226459234.jar
[RunD8] INFO: Using pre-dexed dex-cached-c0e4dda29672c028ea3ce0e3785040de.dex <- /tmp/constraintlayout13779713158565365932.jar
[RunD8] INFO: Using pre-dexed dex-cached-85f46a2fd295a23f59a391cccd7a11c8.dex <- /tmp/constraintlayout-solver14672582379951842563.jar
[RunD8] INFO: Using pre-dexed dex-cached-8f4e320698c37098249100bf068173d9.dex <- /tmp/Barcode16819182795485783405.jar
[RunD8] INFO: Using pre-dexed dex-cached-0dc56f08e767617776af0e9817e5d429.dex <- /tmp/jedis14986266607832696518.jar
[RunD8] INFO: Using pre-dexed dex-cached-49102e7f4c0a5df23a0a119cd2914bab.dex <- /tmp/protobuf-java-3.0.010141858292371662672.jar
[RunD8] INFO: Using pre-dexed dex-cached-34183dd13eefd80bd93dbefb2cca2c89.dex <- /tmp/QRGenerator7274751897047479822.jar
[RunD8] INFO: Using pre-dexed dex-cached-5e8957d43c18b768aa7d081353a3dd55.dex <- /tmp/json4239251457920080600.jar
[RunD8] ERROR: d8 failed.
[RunD8] Task errored in 14.729 seconds

this is the error

See the d8 errors section of

If that doesn't help,

export and post your .aia file here.