The app closes when I go to the second screen

I have the same problem. The app closes when I go to the second screen.
My package is called br.com.orsy.
It only happens on the phone with Android 14.
The log is attached.
log_orsy_api_34.txt (730.1 KB)

Are you using colintree listview in your app?

No.
On screens 1 and 2, there are no third-party extensions, other than the JSONTools extension.

My one works fine if nothing is loaded through colintree listview, i think the problem is with the third party extensions, check whether the problem exists or not by deactivating the extension.

one more question does your directly closes or just comes to the home screen?

It opens the home screen Screen 1 and closes the app when it goes to the next screen.
On both screens, only the JSONTools extension is being used.
Works fine in Android < 14

here is the relevant part of your log

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn’t being registered exclusively for system broadcasts

11-13 10:39:05.879  7028  7028 E AndroidRuntime: Process: br.com.orsy, PID: 7028
11-13 10:39:05.879  7028  7028 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.orsy/io.kodular.orsycompras.Orsy_api34.BuyerShop}: java.lang.SecurityException: br.com.orsy: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4172)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4330)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2693)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:230)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:319)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:9063)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)11-13 10:39:05.879  7028  7028 E AndroidRuntime: Caused by: java.lang.SecurityException: br.com.orsy: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Parcel.createExceptionOrNull(Parcel.java:3069)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Parcel.createException(Parcel.java:3053)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:3036)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2978)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:6171)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1913)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ContextImpl.registerReceiver(ContextImpl.java:1853)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ContextImpl.registerReceiver(ContextImpl.java:1841)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:772)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.google.appinventor.components.runtime.Download.<init>(SourceFile:76)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at java.lang.reflect.Constructor.newInstance0(Native Method)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at gnu.expr.PrimProcedure.apply(PrimProcedure.java:272)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at gnu.mapping.CallContext.runUntilValue(CallContext.java:298)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at gnu.kawa.reflect.Invoke.applyN(Invoke.java:209)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at io.kodular.orsycompras.Orsy_api34.BuyerShop.$define(BuyerShop.yail:10252)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.google.appinventor.components.runtime.Form.onCreateFinish(SourceFile:483)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.google.appinventor.components.runtime.Form.onCreate(SourceFile:403)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:9001)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:8970)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4154)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        ... 12 more
11-13 10:39:05.879  7028  7028 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:16724)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.IActivityManager$Stub.onTransact$registerReceiverWithFeature$(IActivityManager.java:11667)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2983)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3202)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:        at android.os.Binder.execTransactInternal(Binder.java:1375)
11-13 10:39:05.879  7028  7028 E AndroidRuntime:

a component or an extension has not been adjusted to SDK 34…
Taifun

Thanks @Taifun.
But I don’t know how to solve this.
Why does it only happen on Android 14?
The manifest is managed by the Kodular build, I don’t manage it.

This is nothing for you to solve, because

What you can do is to provide a list of all components and extensions in your project. .
Do you use the Download component? See also Download Component Bug in android 14 after 1.5D.0

Taifun

Here:

There are actually some very old components that have been discontinued by their creators.
Which of these components can I replace with native functions?
Thank you

I do not think it is the extension…
What are you doing on screen2?
You forgot to provide a list of components you are using on Screen2 and answer the question

Taifun

Yeah it is the download component

1 Like

Thank you
Thread closed, duplicate of

Taifun

@Taifun I do not use the Download component, as you can see in the image with the list of extensions I use.

Is there no way to know which extension is causing the problem?

We are talking about the Download component, not an extension

Cam you confirm, that you are using the built in Download component?

Taifun

Solved @Taifun
I removed the native Download component and the app started working again on Android 14.
Waiting for Kodular to fix bugs.