Cannot compile after new update.

Describe the bug in detail…
I am using 4 extensions, TaifunFile, TaifunImage, PersonalImageClassifier, ReadMediaPermissions
The app built fine before the update.

Niotron 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 = 71
[LoadComponentInfo] INFO: Generating activities…
[LoadComponentInfo] Component activities needed, n = 0
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers…
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries…
[LoadComponentInfo] Libraries needed, n = 2
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK…
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify androidMinSdk
[LoadComponentInfo] INFO: Generating native libraries…
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions…
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.ActivityStarter” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Button” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Camera” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.File” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Form” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.HorizontalArrangement” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Image” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.ImagePicker” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Label” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.NiotronCardView” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.NiotronCircularProgress” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.NiotronDeviceInfo” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Player” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Sidebar” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.Spacer” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.VerticalArrangement” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.VerticalScrollArrangement” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.google.appinventor.components.runtime.WebViewer” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunFile” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “edu.mit.appinventor.ai.personalimageclassifier.PersonalImageClassifier” does not specify permissionConstraints
[LoadComponentInfo] INFO: Component “de.bodymindpower.ReadMediaPermissions.ReadMediaPermissions” does not specify permissionConstraints
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 20
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunFile” does not specify queries
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify queries
[LoadComponentInfo] INFO: Component “edu.mit.appinventor.ai.personalimageclassifier.PersonalImageClassifier” does not specify queries
[LoadComponentInfo] INFO: Component “de.bodymindpower.ReadMediaPermissions.ReadMediaPermissions” does not specify queries
[LoadComponentInfo] INFO: Component “com.puravidaapps.TaifunImage” does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers…
[LoadComponentInfo] Task succeeded in 0.007 seconds
[CheckPremium] Starting Task
[CheckPremium] INFO: Checking User Premium…
[CheckPremium] INFO: Getting User Monetization Status…
[CheckPremium] Task succeeded in 2.066 seconds
[CheckCoreComponents] Starting Task
[CheckCoreComponents] INFO: Checking Core Components…
[CheckCoreComponents] Task succeeded in 0.001 seconds
[CheckRequiredAssets] Starting Task
[CheckRequiredAssets] Task succeeded in 0.0 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.381 seconds
[CreateIconSplash] Starting Task
[CreateIconSplash] INFO: Generating splash icon…
[CreateIconSplash] Task succeeded in 0.008 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.002 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs…
[CreateManifest] VCode: 14
[CreateManifest] VName: 1.7
[CreateManifest] Min SDK 24
[CreateManifest] INFO: Writing screen ‘com.niotron.***********************************.Screen1’
[CreateManifest] Task succeeded in 0.001 seconds
[CreateConditionalXmls] Starting Task
[CreateConditionalXmls] Task succeeded in 0.0 seconds
[AttachMediationAdapterLibraries] Starting Task
[AttachMediationAdapterLibraries] Task succeeded in 0.0 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.0 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.151 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.051 seconds
[MergeManifests] Starting Task
[MergeManifests] Task succeeded in 2.044 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.548 seconds
[RunJetifier] Starting Task
[RunJetifier] INFO: Running Jetifier…
[RunJetifier] Task succeeded in 2.87 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt2] Starting Task
[RunAapt2] USING EXPLODED AAR LIBS
[RunAapt2] Task succeeded in 4.278 seconds
[GenerateClasses] Starting Task
[GenerateClasses] INFO: Source File: com/niotron/*************************Screen1.yail
[GenerateClasses] ERROR: Kawa compile has failed.
[GenerateClasses] ERROR: Can’t find class file for Screen ‘Screen1’
[GenerateClasses] Task errored in 2.771 seconds

Attach Necessary Block Images and Files

@Mariano_Puchetta This could be due to extensions. Please use the latest version of the extensions.

What’s the error message that shows up at the bottom of the screen?

Hi, thanks for your response.

That’s the latest version of the extensions and all my projects have extensions, so if these tools are no longer allowed, I think I’m in trouble because I won’t be able to continue working.

This is the error at the bottom of the screen.

I really hope you guys can find a solution!!

Well is there a component named ‘back’ in Screen1? is so try renaming it

Yes! it compiles now,
but after installing the app it closes before opening it.
There is no error message.
I tried to build it in a new session (I’m using incognito mode) so I logged out and logged back into Niotron, but after installing the app it keeps closing.

Try using target SDK to Android 13 and see if it crashes

I already tried it and it keeps crashing.

Can you post your apk then

Are you using Sidebar or BottomNavigation Component

Just sidebar

can you post your blocks

Hello @abhijith
Can you take a look at the blocks?

The issue has been fixed in the beta version, import your aia into the beta version and test it out

https://beta.niotron.com

1 Like