Crash detection and eventually crash recovery

Hi,

i have an app that should run for some days straight. It will be in the foreground for all the time. I was doing some tests and it was going well. After a connection failure(i'm sure the problem is there, because it stopped after 4 days of good functioning on a ISP crash), my android system had some issues and all the open apps crashed.

Is there a way to restart an app after a crash?

Is this really a question that concerns AI2. I do not think so.
We have absolutely no idea what it's actually about.

can you describe that "crash" more in detail...
isn't that just a regular error? why does your app stop in case there is no internet? or is it something else? what exactly? what about adding some error handling in your app?

Taifun

The application stopped working after internet going down. No errors notified. Just apps going off screen automatically, and stopping. I had two applications running at this moment and both stopped, like a soft reset of the phone. Is there a way to restart an app after the system turns it down like this?

if you are using the web component to do something and the internet goes down, then you get an error message you can catch in the Screen ErrorOccurred event
also you can use a clock to test internet connection periodically and if connection is there again, restart your processing
there actually is no reason for your app to stop if internet is down...

you might want to explain a little bit more what your app is about and what you are doing...
to find out more what happens you can use logcat

Taifun

also a screenshot of some relevant blocks might help us to help you...
Taifun

The app is about taking a photo per hour and updating it in a drive folder. The internet crash(basically the red light in the access point) happened exactly in the moment of the hour when the photo was taken. And the app behaved like i explained before, just going off screen and stopping for apparently no reason.

Yes, i use the web component and in the program there's no handling on ErrorOccurred event. Could this have led to the crash?

I’ve managed to reproduce the error. Tomorrow or Monday(it’s about 3 am here) i’ll update you on the details of it. Hope it’s not a problem.

1 Like

Stopping does not mean crashing.

:question:

Since the app supposedly takes a photo every hour for days, a timer must have been used, which as of Android 6 does not remain active for several days, but is ended very soon by Doze Mode, unless you use a KeepScreenOn method, a foreground service and / or the device is continuously connected to a charging cable.

Which error?

As I already mentioned in my first post: How to ask a question (open new topic)

1 Like

grafik

If an error had occurred, it would have been displayed as long as no empty Screen.ErrorOccurred event was used.

No, and it is still unclear whether there is actually a crash.

I'll retry, describing my test.

My app was working fine, it's connected to a charging cable and I'm using a tool to keep the screen always on. At the time the photo was supposed to be taken, I shut down my access point. I went back to my phone and waited for the timer to fire. When it did, the error "error 1101 unable to get a response with the specified url" was shown. After one minute (i can't figure out clearly if it happens when i turn on my router or if this is a coincidence) the app closes.


These are all the blocks I have a web call in.

I have this function too, that calls the Web1.get again if the response is empty(i needed it because I have to read a parameter CSV, and sometimes the return value was empty, I think for some packet loss in the network).

Use logcat to find out more

Taifun

Tell me if the comment is too long, so I edit it to take out the log text
Here it is the logs after the network error occurred, after the network error, the flow is:
Error in the Screen1(unable to complete the given request)->Apps stops responding->Crashes in a few seconds

logs.txt (20.9 KB)

10-15 15:20:56.951 24198 24198 E Form : Form Screen1 ErrorOccurred, errorNumber = 1103, componentType = Web, functionName = PostText, messages = Unable to complete the given request with the text "filename=img_2023/10/15_15:20:55.jpg&mimetype=data:image/jpeg&folderid=1SdMLhHCswBDbI0g-QcK-XaJnm-Lhh16p&data=%2F9j%2F4AAQSkZJRgABAQAAAQABAAD%2F4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdC%0AIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAA%0AAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlk%0AZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAA%0AAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAA%0AAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAA%0AAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA%2BEAAC2z3Bh%0AcmEAAAAAAAQAAAACZmYAAPKnAAANWQAA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fc%2Bau7gqb0lSbDtyQxTxnAhw%2B3PaHCoA0zOzujde1B2TYOh27cvnxCHOJCWYIOu%0A4ZDiINB8BSvDkLMhBkmPQj46MFLEY544EEel62s5ndnAc98g7Mc8%2BbB0%2FFPPhrFyT4YRyfbNeubc%0AEMUvrx6DTJni78H58cATIdWoaB2YpyHE5%2Fmrgv5ClWDBjdvDk76KMt6bOsVEFeGJaREuJgg%2BUqdS%0AbChEY5wp%2BNmE2QSnNPv7J%2BnQMGlAXjwhTCgHENk1QZa9I3Z8dCV4R0Q4nI7ddT2oOWM2iWxuR2lf%0At8k1TLCmLBRLbRiS2JkI7d%2BWoYMEIjlNrh7dDqzi8Pfdx3OO3iuuTI8htBykqZ%2BlKbmsYsV4CXFp%0A97jw8GCJTXv8FyT0qgt1P7IoQO7wD2mxZfnzx5irDf7m9ahTrLBmIU%2FfgQkly6rlqqCwEc4FHNMM%0A%2FfLewV2d7GcAurNOWfWjIi311TZrqmTOaRbP6UtNdnQj5sCAJjGuLKmQajv3s9mYpSHP3OOgU6Bn%0AIU5L7s8Ht5Sn%2BGSMxjIc7wxN6jln%2BWCkRIoXKnd1s3i6jhj7YtMwnWA6lNhL02ZtQDFdmB87nOQP%0AM675cpYtlpEY5%2B%2BeXzOelaBIWAMWzMS%2BBTu09cFn0jEURjvAPf8Am48KbM5YCyRCYx47%2FXH31ZSo%0AV4sIiVZhpt6yRgy%2B8ix03hTrcAU0DGiL9I54daV4tkQxHgoPh513649H7I7NJJt68kwYJGtu%2Ban8%0Am31pSYtpixXpGR39vAQlOQYV8Bart52h41%2F25Ya%2B9dGUDAkrR0cJ4oPFB8KMFrEf0Udo7W2%2BWk6L%0AWtMK4UbDFcm%2BFIYkn1rPAPXXFk7ziDs4wpmi4apXLRkMYhSkTvYjvDpOEkBgT6ybR8m7z%2
10-15 15:20:56.978 24198 24198 E Toast : getXOffset() shouldn't be called on text toasts, the result may not reflect actual values.
10-15 15:20:56.978 24198 24198 E Toast : getYOffset() shouldn't be called on text toasts, the result may not reflect actual values.
10-15 15:20:56.980 24198 24198 E Toast : setGravity() shouldn't be called on text toasts, the values won't be used
10-15 15:20:57.024 4587 6998 E CoverManager: getCoverState : coverState is null
10-15 15:20:58.219 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:20:58.223 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7
10-15 15:21:08.136 4587 4627 E Watchdog: !@Sync: 15301 heap: 59 / 76 [2023-10-15 15:21:08.136] sdogWay: softdog FD: 676
10-15 15:21:15.301 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:15.307 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7
10-15 15:21:26.597 26581 26581 E d.mobileservic: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:26.606 26587 26587 E .osp.app.signi: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:26.845 26581 26581 E SEMS:DataAdapter_12.2.1.11: [SemsLog][main][GroupDBHelper] Instance null
10-15 15:21:27.119 26581 26581 E SEMS:DataAdapter_12.2.1.11: [][main][SaServiceUtil] getCC : invalid sa info
10-15 15:21:27.143 26581 26581 E SEMS:DataAdapter_12.2.1.11: [][main][SaServiceUtil] getCC : invalid sa info
10-15 15:21:27.149 26581 26581 E SEMS:DataAdapter_12.2.1.11: [][main][SaServiceUtil] getCC : invalid sa info
10-15 15:21:27.207 26581 26649 E SEMS:Social_12.2.1.11: [BLog][RxComputationThreadPool-1][ConditionRepositoryImpl] checkLegacy error
10-15 15:21:27.229 26581 26649 E SEMS:DataAdapter_12.2.1.11: [][RxComputationThreadPool-1][SaServiceUtil] getCC : invalid sa info
10-15 15:21:27.478 26587 26678 E SamsungAccount: [DclPolicyManager] getServicePolicy() - fail!! : no signed-in status
10-15 15:21:35.137 26193 26193 E MdxKitService: (DeviceConnectionServiceViewModelImpl) terminate()-[td:main] killProcess, pid: 26193
10-15 15:21:36.734 3931 3931 E libprocessgroup: set_timerslack_ns write failed: No such process
10-15 15:21:36.786 3931 3931 E libprocessgroup: set_timerslack_ns write failed: No such process
10-15 15:21:36.825 3931 3931 E libprocessgroup: set_timerslack_ns write failed: No such process
10-15 15:21:37.854 4325 4325 E mediaserver: unlinkToDeath: removed reference to death recipient but unlink failed.
10-15 15:21:37.856 4325 4325 E IPCThreadState: attemptIncStrongHandle(2): Not supported
10-15 15:21:38.272 4587 4627 E Watchdog: !@Sync: 15302 heap: 63 / 76 [2023-10-15 15:21:38.217] sdogWay: softdog FD: 673
10-15 15:21:38.534 4587 4732 E InputDispatcher: channel '374bd99 com.samsung.android.app.cocktailbarservice/com.samsung.android.app.cocktailbarservice.CocktailBarService (server)' ~ Channel is unrecoverably broken and will be disposed!
10-15 15:21:38.632 3931 3931 E libprocessgroup: set_timerslack_ns write failed: No such process
10-15 15:21:38.739 26689 26689 E android:drmSer: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:39.064 4587 4732 E InputDispatcher: channel '4a2e4b7 SGestureOverlayWindow (server)' ~ Channel is unrecoverably broken and will be disposed!
10-15 15:21:39.112 5750 5884 E BtGatt.ContextMap: remove() - removed: 4
10-15 15:21:39.291 5750 5893 E BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_STOP, appName: android.uid.bcmgr, scannerId: 4, reportDelayMillis=0
10-15 15:21:39.591 26710 26710 E msung.klmsagen: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:39.897 26736 26736 E martsuggestion: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:39.964 26729 26729 E ktailbarservic: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:39.971 26747 26747 E id.app.launche: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:41.568 26796 26796 E id.partnersetu: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:41.587 26787 26787 E .gms.persisten: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:41.682 26689 26689 E DrmManagerClient: saveDevID : Checking
10-15 15:21:41.684 4587 4629 E PackageManager: Optimistic bind failed.
10-15 15:21:41.684 4587 4629 E PackageManager: java.util.concurrent.TimeoutException: [Optimistic Bind] Didn't bind to resolver in time!
10-15 15:21:41.684 4587 4629 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.waitForBindLocked(InstantAppResolverConnection.java:160)
10-15 15:21:41.684 4587 4629 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.bind(InstantAppResolverConnection.java:225)
10-15 15:21:41.684 4587 4629 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.lambda$optimisticBind$0$InstantAppResolverConnection(InstantAppResolverConnection.java:255)
10-15 15:21:41.684 4587 4629 E PackageManager: at com.android.server.pm.-$$Lambda$InstantAppResolverConnection$D-JKXi4qrYjnPQMOwj8UtfZenps.run(Unknown Source:2)
10-15 15:21:41.684 4587 4629 E PackageManager: at android.os.Handler.handleCallback(Handler.java:938)
10-15 15:21:41.684 4587 4629 E PackageManager: at android.os.Handler.dispatchMessage(Handler.java:99)
10-15 15:21:41.684 4587 4629 E PackageManager: at android.os.Looper.loop(Looper.java:246)
10-15 15:21:41.684 4587 4629 E PackageManager: at android.os.HandlerThread.run(HandlerThread.java:67)
10-15 15:21:41.686 4587 4732 E InputDispatcher: channel '3a62767 appinventor.ai_damonteluca6.ProvaTirocinio/appinventor.ai_damonteluca6.ProvaTirocinio.Screen1 (server)' ~ Channel is unrecoverably broken and will be disposed!
10-15 15:21:42.081 4192 4216 E HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/kernel/mm/vmscan/am_app_launch
10-15 15:21:42.350 26850 26850 E ocess.gservice: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:42.694 26904 26904 E ce.peoplestrip: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:42.777 26747 26747 E ResourceLoader: Not Supported!
10-15 15:21:42.777 26729 26729 E CocktailBarContainerView: updateContainerVisibility:
10-15 15:21:42.849 26931 26931 E gs.intelligenc: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:42.945 26954 26954 E .provider.badg: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:43.053 26729 26729 E CocktailBarPanelVisibilityManager: updateActivePanelView: invalid null panel
10-15 15:21:43.061 26729 26729 E CocktailBarContainerView: updateContainerVisibility:
10-15 15:21:43.061 26729 26729 E CocktailBarContainerView: updateContainerVisibility:
10-15 15:21:43.066 26729 26729 E CocktailBarContainerView: updateContainerVisibility:
10-15 15:21:43.184 26747 26838 E PageBoostLogger: Not prepared page in updatePage
10-15 15:21:43.282 26729 26729 E CocktailBarContainerView: updateContainerVisibility:
10-15 15:21:43.346 26747 26838 E PageBoostLogger: Not prepared page in updatePage
10-15 15:21:43.652 27033 27033 E e.process.gapp: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:43.669 27039 27039 E droid.app.spag: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:43.786 26787 27031 E LoadedApk: Exception : java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Looper.isPerfLogEnable()' on a null object reference
10-15 15:21:43.789 26787 27001 E NanoAppLogging: Failed to begin contexthub communication
10-15 15:21:44.050 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:44.078 4587 4837 E NetdEventListenerService: DNS failed (10228) : 7
10-15 15:21:44.205 26747 26857 E Launcher.Utilities: mainline_train_primary is not installed
10-15 15:21:44.238 27116 27116 E gle.android.gm: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:44.289 26747 26857 E TrueSingleSkuOperator: isTSSSupported() - false
10-15 15:21:44.289 26747 26857 E TrueSingleSkuOperator: isTSSActivated() - false
10-15 15:21:44.392 27143 27143 E roid.honeyboar: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:44.403 4245 4268 E BufferQueueProducer: SGestureOverlayWindow$_26747#0 disconnect: not connected (req=1)
10-15 15:21:44.801 27188 27188 E droid.rubin.ap: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:45.305 27240 27240 E android.vendin: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:45.432 3955 3955 E vold : getUsedF2fsFileNode -> Cannot Get Used FileNode Number (errno=25 Inappropriate ioctl for device)
10-15 15:21:45.642 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.642 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.642 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.643 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.643 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.643 27143 27143 E HBD : q It's not ldb file
10-15 15:21:45.752 27143 27143 E HBD : HoneyBoardService onAppPrivateCommand DISPLAY_ID failed, component is not initialized
10-15 15:21:45.933 27332 27332 E d.game.gamehom: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:45.937 27240 27324 E Finsky : Getting early startup flag value without initialization: PhoneskyPhenotype__enable_flag_update_entry_point
10-15 15:21:45.985 4587 6981 E system_server: Invalid class loader spec: =UnsupportedClassLoaderContext=
10-15 15:21:45.986 4587 6981 E PackageDexUsage: Unsupported context?
10-15 15:21:46.041 26747 26747 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
10-15 15:21:46.078 27143 27143 E HBD : a getPackageInfo
10-15 15:21:46.078 27143 27143 E HBD : android.content.pm.PackageManager$NameNotFoundException: com.samsung.android.clipboarduiservice
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:278)
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:250)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.base.pm.a.a(SourceFile:40)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.base.pm.a.a(SourceFile:56)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.base.pm.a.a(SourceFile:55)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.bee.ClipBoardHandler.(SourceFile:66)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.c.b$a$1.a(SourceFile:9)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.c.b$a$1.invoke(Unknown Source:4)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.d.a.b(SourceFile:54)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.d.e.a(SourceFile:40)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.b.a.a(SourceFile:70)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.j.a.a(SourceFile:165)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.j.a.a(SourceFile:128)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.bee.a$a.invoke(SourceFile:327)
10-15 15:21:46.078 27143 27143 E HBD : at kotlin.SynchronizedLazyImpl.getValue(SourceFile:74)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.bee.a.A(Unknown Source:7)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.stickyhoney.bee.a.I_(SourceFile:44)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.b.b$b.a(SourceFile:142)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.b.b$b.invoke(SourceFile:35)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.b.b.a(SourceFile:134)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.b.b.a(SourceFile:141)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.b.b.(SourceFile:74)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.l.a$a$3.a(SourceFile:66)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.l.a$a$3.invoke(Unknown Source:4)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.d.a.b(SourceFile:54)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.d.e.a(SourceFile:40)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.b.a.a(SourceFile:70)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.j.a.a(SourceFile:165)
10-15 15:21:46.078 27143 27143 E HBD : at org.koin.b.j.a.a(SourceFile:128)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.e.b.h_(SourceFile:322)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.common.f.a.h_(SourceFile:16)
10-15 15:21:46.078 27143 27143 E HBD : at com.samsung.android.honeyboard.service.HoneyBoardService.onCreate(SourceFile:224)
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ActivityThread.handleCreateService(ActivityThread.java:4661)
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ActivityThread.access$1700(ActivityThread.java:301)
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2196)
10-15 15:21:46.078 27143 27143 E HBD : at android.os.Handler.dispatchMessage(Handler.java:106)
10-15 15:21:46.078 27143 27143 E HBD : at android.os.Looper.loop(Looper.java:246)
10-15 15:21:46.078 27143 27143 E HBD : at android.app.ActivityThread.main(ActivityThread.java:8653)
10-15 15:21:46.078 27143 27143 E HBD : at java.lang.reflect.Method.invoke(Native Method)
10-15 15:21:46.078 27143 27143 E HBD : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
10-15 15:21:46.078 27143 27143 E HBD : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
10-15 15:21:46.082 4192 26837 E HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/kernel/mm/vmscan/am_app_launch
10-15 15:21:46.136 27358 27358 E d.process.acor: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:46.180 27372 27372 E .android.fores: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:46.309 27143 27143 E HBD : SogouWrapper not Sogou model!!! don't init engine
10-15 15:21:46.434 27372 27372 E DWBShortcutHelper: App icon disabled, so return addDynamicShortcuts
10-15 15:21:46.449 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:46.452 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7
10-15 15:21:46.559 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:46.588 4587 4837 E NetdEventListenerService: DNS failed (10111) : 7
10-15 15:21:46.833 4192 4192 E HYPER-HAL: [HyPerManager.cpp]getSupportedFrequency(): mRscManager is NULL
10-15 15:21:46.833 4192 4192 E HYPER-HAL: [HyPer.cpp]getSupportedFrequency(): AIDL getTable is NULL
10-15 15:21:47.055 27499 27499 E nder:appservic: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:47.682 27554 27554 E sdk.handwritin: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:48.257 27584 27584 E ding:backgroun: Not starting debugger since process cannot load the jdwp agent.
10-15 15:21:49.310 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:49.314 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7
10-15 15:21:49.708 4587 6935 E system_server: Invalid class loader spec: =UnsupportedClassLoaderContext=
10-15 15:21:49.708 4587 6935 E PackageDexUsage: Unsupported context?
10-15 15:21:50.816 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:50.820 4587 4837 E NetdEventListenerService: DNS failed (10111) : 7
10-15 15:21:51.416 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:51.419 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7
10-15 15:21:52.301 4587 4705 E system_server: Invalid class loader spec: =UnsupportedClassLoaderContext=
10-15 15:21:52.301 4587 4705 E PackageDexUsage: Unsupported context?
10-15 15:21:52.435 4587 4612 E system_server: Invalid class loader spec: =UnsupportedClassLoaderContext=
10-15 15:21:52.435 4587 4612 E PackageDexUsage: Unsupported context?
10-15 15:21:54.941 4158 4280 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-15 15:21:54.949 4587 4837 E NetdEventListenerService: DNS failed (10095) : 7

Whilst it may work/have worked, it might be better to remove/replace the /s and the :s from your filename, these could be being misinterpreted by the web component/apps script.

Earlier you said

The log says

Unfortunately we can't see in the log why

Probably we can see something if you also log the warnings?

Taifun

Regard the error:
Think I said it wrong before or it's a different error due to different situations. Before I turned off the router so the error was there. Now to reproduce the error faster, I turned off phone wi-fi.

I'll just give you the full log after the error happens.
logs.txt (743.3 KB)

This instead is the log with the errors and warning:

logWarnings.txt (88.2 KB)

The app name is "ProvaTirocinio"

Another detail that I think is important: the app crashes only in that case, which is the only one i use a HTTP post method. When i perform a get call, errors happens but no crashes can it be a factor?

Somehow your app gets unresponsive

10-15 15:57:17.722 4587 4732 D InputDispatcher: 9eec97f appinventor.ai_damonteluca6.ProvaTirocinio/appinventor.ai_damonteluca6.ProvaTirocinio.Screen1 (server) is not responding. Waited 10007ms for MotionEvent
10-15 15:57:17.728 4587 4732 I WindowManager: Input event dispatching timed out sending to appinventor.ai_damonteluca6.ProvaTirocinio/appinventor.ai_damonteluca6.ProvaTirocinio.Screen1. Reason: 9eec97f appinventor.ai_damonteluca6.ProvaTirocinio/appinventor.ai_damonteluca6.ProvaTirocinio.Screen1 (server) is not responding. Waited 10007ms for MotionEvent
10-15 15:57:17.882 4587 4732 D WindowManager: notifyANR took 154ms
10-15 15:57:17.882 4587 4732 W InputDispatcher: Canceling events for 9eec97f appinventor.ai_damonteluca6.ProvaTirocinio/appinventor.ai_damonteluca6.ProvaTirocinio.Screen1 (server) because it is unresponsive

What is that motion event your app is waiting for?
Taifun

I don't know. Maybe I touched the screen for some reason I don't remember...but my app doesn't expect any motionEvents in its code

I tried to change the App Script linked to Web2 to a doGet function from a doPost one. The result in this case shows the app becomes unresponsive and then crash even with internet connection on(i did tests in AI2 companion)

This is the log history:
10-17 23:28:54.133 25974 25974 E Form : Form Screen1 ErrorOccurred, errorNumber = 1101, componentType = Web, functionName = Get, messages = Unable to get a response with the specified URL: https://script.google.com/macros/s/AKfycbw67EkCAr2R_7ww4334DpKCjK8J8STuyZgNXVQcupJV_OYrnxYqluYVONtTsmgHk_0xwA/execfilename=img_2023_10_17_23_28.jpg&mimetype=data:image/jpeg&folderid=1SdMLhHCswBDbI0g-QcK-XaJnm-Lhh16p&data=%2F9j%2F4AAQSkZJRgABAQAAAQABAAD%2F4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdC IFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAA AADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlk ZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAA AChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAA AAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAA AAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA%2BEAAC2z3Bh cmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADT LW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIA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%2FEPHuoJ PLrYM2m9eHenO%2BwkGqe44tT5dicDCd7lOQTTUazFgYjw7kxx75%2BGq5ySXsgr%2BpG7cd6y1x695mPG Yxv3%2FMDUJ0Va9YjrBV9ZGdCcPnPHs1WQdV6Ftcu3JjnE1oQhHVrWa%2BkwAB2q0LqE%2FemvPrPFgIym gIsTyu9UTDPhNgcpnN%2BsQfKFJYp4hUNjRuGDGMdqU63atQCKB5Jt%2B1NRyD8Zs0dmUSQRH%2Ff5TpL3 YJXnYxUMOeHSbA8GdgLx7%2B7KW8OHUms8MR4BDnSUnv8ANt2fmjI6MV2c5y7HarrXpdjAPnZ3Z7Es 5WqBmmVJJzDJuVvQcvCGMc747y0eYa%2BeHJpObEr8IyHOReQrWXUw1YO%2B2ch%2F9xwIU%2F8A1P6oB1EJ jLRBlRvPekIBSwV%2B5pPHquDO8%2BHvHOW65CahlTre0RNDRYP43mnnRPJgQInd4hk1DlmrF8x8Dm8%2B Uw5bpdJbF48JbXCIPy%2BPDcqTVkKMPxFzuA969suTAPHLx2UgvCWZHgy8qec0bVJZWSXvnWnLw9Va r0TvBOd9aHJa4eWlZ6So3OLsEOaNCzsxWs6YJKXQMGuw7M31KPy5ykPCvJaTHbn6eDuvQe0FQ5io 5MGLYlIYh1O84hvklQrNRmCMhoynjOQf%2B8OvMcmBLTTn7M5rKAI
10-17 23:28:55.090 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:55.093 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:55.407 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:55.408 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:57.099 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:57.103 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:57.818 3955 3955 E vold : getUsedF2fsFileNode -> Cannot Get Used FileNode Number (errno=25 Inappropriate ioctl for device)
10-17 23:28:58.433 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:58.435 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:59.110 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:28:59.114 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:01.121 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:01.125 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:03.132 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:03.136 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:05.144 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:05.148 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:06.251 4159 4159 F libc : failed to wait for crash_dump helper: No child processes
10-17 23:29:07.152 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:07.154 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:09.160 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:09.164 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:10.080 4587 26876 E ActivityManager: ANR in edu.mit.appinventor.aicompanion3 (edu.mit.appinventor.aicompanion3/.Screen1)
10-17 23:29:10.080 4587 26876 E ActivityManager: PID: 25974
10-17 23:29:10.080 4587 26876 E ActivityManager: Reason: Input dispatching timed out (71cb37f edu.mit.appinventor.aicompanion3/edu.mit.appinventor.aicompanion3.Screen1 (server) is not responding. Waited 10010ms for MotionEvent)
10-17 23:29:10.080 4587 26876 E ActivityManager: Parent: edu.mit.appinventor.aicompanion3/.Screen1
10-17 23:29:10.080 4587 26876 E ActivityManager: Load: 17.18 / 16.63 / 16.87
10-17 23:29:10.080 4587 26876 E ActivityManager: ------ Current CPU Core Info ------
10-17 23:29:10.080 4587 26876 E ActivityManager: - offline :
10-17 23:29:10.080 4587 26876 E ActivityManager: - online : 0-7
10-17 23:29:10.080 4587 26876 E ActivityManager: - AP Temp = 383
10-17 23:29:10.080 4587 26876 E ActivityManager: 0 1 2 3 4 5 6 7
10-17 23:29:10.080 4587 26876 E ActivityManager: ------------------------------------------------------------------------------------------------------------------
10-17 23:29:10.080 4587 26876 E ActivityManager: scaling_cur_freq 403000 403000 403000 403000 2314000 2314000 2314000 2314000
10-17 23:29:10.080 4587 26876 E ActivityManager: scaling_governor schedutil schedutil schedutil schedutil schedutil schedutil schedutil schedutil
10-17 23:29:10.080 4587 26876 E ActivityManager: scaling_max_freq 1742000 1742000 1742000 1742000 2314000 2314000 2314000 2314000
10-17 23:29:10.080 4587 26876 E ActivityManager: ------------------------------------------------------------------------------------------------------------------
10-17 23:29:10.080 4587 26876 E ActivityManager: CPU usage from 0ms to 5135ms later (2023-10-17 23:29:04.864 to 2023-10-17 23:29:09.999):
10-17 23:29:10.080 4587 26876 E ActivityManager: 110% 25974/edu.mit.appinventor.aicompanion3: 104% user + 6.3% kernel / faults: 10017 minor 138 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 38% 4587/system_server: 12% user + 25% kernel / faults: 10267 minor 581 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4330/media.codec: 0% user + 0% kernel / faults: 8838 minor 32 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4344/media.swcodec: 0% user + 0% kernel / faults: 5490 minor 40 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4319/media.extractor: 0% user + 0% kernel / faults: 5612 minor 28 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 3.3% 2033/sugov:0: 0% user + 3.3% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 2.8% 25180/android.process.acore: 1.7% user + 1.1% kernel / faults: 2907 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 1.7% 24476/kworker/u16:6: 0% user + 1.7% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 1.5% 25981/kworker/u16:1: 0% user + 1.5% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 1.3% 2035/sugov:4: 0% user + 1.3% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 1.1% 3930/logd: 0.1% user + 0.9% kernel / faults: 7 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.9% 7085/com.sec.android.sdhms: 0.5% user + 0.3% kernel / faults: 42 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4137/tombstoned: 0% user + 0% kernel / faults: 67 minor 6 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.7% 4158/netd: 0.1% user + 0.5% kernel / faults: 103 minor 12 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.7% 4245/surfaceflinger: 0.1% user + 0.5% kernel / faults: 57 minor 3 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.7% 16450/kworker/u16:4: 0% user + 0.7% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.5% 1/init: 0.3% user + 0.1% kernel / faults: 1 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.5% 8/rcu_preempt: 0% user + 0.5% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.5% 1179/kswapd0: 0% user + 0.5% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.5% 5750/com.android.bluetooth: 0.1% user + 0.3% kernel / faults: 136 minor 58 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 3997/jbd2/sda32-8: 0% user + 0.3% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 4157/statsd: 0% user + 0.3% kernel / faults: 156 minor 19 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 4159/zygote64: 0% user + 0.3% kernel / faults: 20 minor 2 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4160/zygote: 0% user + 0% kernel / faults: 48 minor 29 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 4236/audioserver: 0.1% user + 0.1% kernel / faults: 116 minor 25 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4325/mediaserver: 0% user + 0% kernel / faults: 101 minor 19 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 5130/com.android.networkstack.process: 0.1% user + 0.1% kernel / faults: 64 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.3% 12487/kworker/u16:0: 0% user + 0.3% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 9/rcu_sched: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 3932/servicemanager: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 3955/vold: 0% user + 0.1% kernel / faults: 45 minor 11 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 4067/iod: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 4190/android.hardware.wifi@1.0-service: 0.1% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 4301/cameraserver: 0% user + 0.1% kernel / faults: 76 minor 10 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4302/drmserver: 0% user + 0% kernel / faults: 65 minor 8 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 4314/installd: 0% user + 0% kernel / faults: 65 minor 57 major
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 4756/iptables-restore: 0% user + 0.1% kernel / faults: 1 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 5044/ip6tables-restore: 0% user + 0.1% kernel / faults: 1 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 5351/com.sec.imsservice: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 20692/adbd: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 21246/kworker/u18:3: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0% 22897/kworker/u18:4: 0% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 24319/kworker/1:1: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 24490/com.samsung.android.smartsuggestions: 0.1% user + 0% kernel / faults: 26 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 24881/com.samsung.android.honeyboard: 0.1% user + 0% kernel / faults: 1 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 25718/kworker/1:1H: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 25721/kworker/4:1H: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 25762/kworker/5:0H: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 26032/kworker/0:1: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 26522/kworker/0:1H: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 0.1% 26773/logcat: 0% user + 0.1% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: +0% 26937/kworker/u18:0: 0% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: +0% 26938/kworker/u18:1: 0% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 28% TOTAL: 18% user + 8.9% kernel + 0.5% iowait + 0.9% softirq
10-17 23:29:10.080 4587 26876 E ActivityManager: CPU usage from 54ms to 495ms later (2023-10-17 23:29:04.917 to 2023-10-17 23:29:05.359):
10-17 23:29:10.080 4587 26876 E ActivityManager: 105% 25974/edu.mit.appinventor.aicompanion3: 105% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 97% 25974/or.aicompanion3: 97% user + 0% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 8.1% 26692/network_thread : 4% user + 4% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 47% 4587/system_server: 8.4% user + 39% kernel / faults: 439 minor
10-17 23:29:10.080 4587 26876 E ActivityManager: 42% 26876/AnrConsumer: 11% user + 30% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 2.8% 9865/CFMS Handler Th: 0% user + 2.8% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 3.3% 20692/adbd: 0% user + 3.3% kernel
10-17 23:29:10.080 4587 26876 E ActivityManager: 21% TOTAL: 15% user + 6% kernel + 0.2% softirq
10-17 23:29:11.173 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:11.177 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:13.039 4587 4627 E Watchdog: !@Sync: 16711 heap: 60 / 75 [2023-10-17 23:29:13.038] sdogWay: softdog FD: 721
10-17 23:29:13.184 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:13.191 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:15.199 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:15.203 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:17.210 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:17.214 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:19.223 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:19.227 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:19.624 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:19.626 4158 4288 E Netd : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
10-17 23:29:20.408 4245 4268 E BufferQueueProducer: Application Not Responding: edu.mit.appinventor.aicompanion3#0 disconnect: not connected (req=1)
10-17 23:29:20.458 4945 31206 E TaskStackListenerAbstract: onTaskSnapshotChanged called by Binder.getCallingPid() 0 android.app.ITaskStackListener$Stub.onTransact:587 android.os.Binder.execTransactInternal:1195 android.os.Binder.execTransact:1159
10-17 23:29:20.682 4192 4216 E HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/kernel/mm/vmscan/am_app_launch
10-17 23:29:20.714 24534 24534 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
10-17 23:29:20.767 24534 24534 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
10-17 23:29:20.782 24534 24534 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
10-17 23:29:20.795 4245 5540 E BufferQueueProducer: com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity$_24534#0 disconnect: not connected (req=1)
10-17 23:29:20.840 24534 24534 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
10-17 23:29:22.914 4945 5119 E CscParser: update(): xml file exist

Can you try the app script link and tell me the result it gives?

I've also noticed the motionEvent wait, but I still don't get what is the requested action

  1. You have omitted a ? before filename in your doGet(e) url
  2. Seems your script is not deployed correctly as it is asking for me to have access. Make sure the script is set to "Anyone" - or your folder does not have the correct access for others to write.