dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.21k stars 1.75k forks source link

Unable to Run MAUI Apps on Android 11 #25667

Open AtlantisDe opened 3 days ago

AtlantisDe commented 3 days ago

Description

Issue: Unable to Run MAUI Apps on Android 11 ❌

Description

I am experiencing issues running a .NET 8 MAUI application on an Android 11 device. The app was created using the default MAUI template, and I haven't made any changes to it.

Details

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net9.0-android</TargetFramework>
    <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
    <OutputType>Exe</OutputType>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <ApplicationId>com.companyname.AndroidApp1</ApplicationId>
    <ApplicationVersion>1</ApplicationVersion>
    <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
    <!--
      Enables trim analyzers and full trimming during Release mode.
      To learn more, see: https://learn.microsoft.com/dotnet/core/deploying/trimming/trimming-options#trimming-granularity
    -->
    <TrimMode>full</TrimMode>
  </PropertyGroup>
</Project>

Testing

Problem

Unable to run the MAUI app on the specified Android version.

Request for Help

Any guidance or solutions to resolve this issue would be greatly appreciated.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.2.24503.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output


#  Visual Studio 2022 Log ❌

Forwarding debugger port 8807
Detecting existing process
> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.companyname.mauiapp1/crc64e632a077a20c694c.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.companyname.mauiapp1/crc64e632a077a20c694c.MainActivity }

#  adb shell Log ❌
OP4A54:/ # logcat -c
OP4A54:/ # logcat | grep ActivityManager
11-05 05:58:20.708   604   629 W ActivityManager: Unknown package:com.google.android.gms
11-05 05:58:20.773   604   629 W ActivityManager: Slow operation: 66ms so far, now at startProcess: returned from zygote!
11-05 05:58:20.773   604   629 W ActivityManager: Slow operation: 67ms so far, now at startProcess: done updating battery stats
11-05 05:58:20.774   604   629 W ActivityManager: Slow operation: 67ms so far, now at startProcess: building log message
11-05 05:58:20.774   604   629 I ActivityManager: Start proc 4139:com.companyname.mauiapp2/u0a1140 for pre-top-activity {com.companyname.mauiapp2/crc6452f1ea43b9adf718.MainActivity}
11-05 05:58:20.774   604   629 W ActivityManager: Slow operation: 67ms so far, now at startProcess: starting to update pids map
11-05 05:58:20.774   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: done updating pids map
11-05 05:58:22.092   604   618 I ActivityManager: Process com.companyname.mauiapp2 (pid 4139) has died: fg  TOP
11-05 05:58:22.246   604   620 W Looper  : Slow dispatch took 153ms android.ui h=com.android.server.am.ActivityManagerService$UiHandler c=null m=53
11-05 05:58:22.248   604   619 W system_server: Long monitor contention with owner Binder:604_2 (618) at void com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied()(ActivityManagerService.java:1610) waiters=3 in int com.android.server.am.ActivityManagerService.broadcastIntentWithFeature(android.app.IApplicationThread, java.lang.String, android.content.Intent, java.lang.String, android.content.IIntentReceiver, int, java.lang.String, android.os.Bundle, java.lang.String[], int, android.os.Bundle, boolean, boolean, int) for 134ms

# The most detailed log  ❌❌❌💯
# logcat -c
# logcat
# log

OP4A54:/ # logcat -c
OP4A54:/ # logcat
--------- beginning of system
11-05 05:59:28.085   604  2206 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.companyname.mauiapp2/crc6452f1ea43b9adf718.MainActivity} from uid 1000
--------- beginning of main
11-05 05:59:24.613   604   619 I chatty  : uid=1000(system) android.fg expire 4 lines
11-05 05:59:26.616   604   619 E GnssLocationProvider: IGnss injectLocation() failed.
11-05 05:59:28.086   427   427 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.086   427   427 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.089   604   618 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
11-05 05:59:28.090   604  1016 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
11-05 05:59:28.107   604   622 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 11140; state: DISABLED
11-05 05:59:28.107   604   622 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 11140; state: ENABLED
11-05 05:59:28.108   604   629 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 11140; state: ENABLED
11-05 05:59:28.108   604   629 W ActivityManager: Unknown package:com.google.android.gms
11-05 05:59:28.142   604   680 I InputDispatcher: Not sending touch event to Window{f5f38a2 u0 com.android.launcher2/com.chinac.launcher.view.act.LauncherActivity} because it is paused
11-05 05:59:28.142   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (294, 357) in display 0.
11-05 05:59:28.142   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.150   343   343 D Zygote  : Forked child process 4306
11-05 05:59:28.150  4306  4306 I main    : type=1400 audit(0.0:5111): avc: denied { mounton } for path="/sys/class/thermal" dev="sysfs" ino=4179 scontext=u:r:zygote:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1 app=com.companyname.mauiapp2
11-05 05:59:28.161  4306  4306 E libc_hashmap: _hashmap_rehash --> Do we need to increase the initial table size?
11-05 05:59:28.165  4306  4306 I nyname.mauiapp: Late-enabling -Xcheck:jni
11-05 05:59:28.173   368   404 D goldfish-address-space: allocate: Ask for block of size 0x384000
11-05 05:59:28.174   368   404 D goldfish-address-space: allocate: ioctl allocate returned offset 0x3fb9ad000 size 0x385000
11-05 05:59:28.174   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: returned from zygote!
11-05 05:59:28.174   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: done updating battery stats
11-05 05:59:28.174   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: building log message
11-05 05:59:28.174   604   629 I ActivityManager: Start proc 4306:com.companyname.mauiapp2/u0a1140 for pre-top-activity {com.companyname.mauiapp2/crc6452f1ea43b9adf718.MainActivity}
11-05 05:59:28.174   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: starting to update pids map
11-05 05:59:28.174   604   629 W ActivityManager: Slow operation: 68ms so far, now at startProcess: done updating pids map
11-05 05:59:28.150  4306  4306 I main    : type=1400 audit(0.0:5112): avc: denied { mounton } for path="/proc/sys/kernel/ostype" dev="proc" ino=35086 scontext=u:r:zygote:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1 app=com.companyname.mauiapp2
11-05 05:59:28.195   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (294, 356) in display 0.
11-05 05:59:28.195   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.197   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (294, 355) in display 0.
11-05 05:59:28.197   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.197  4306  4306 I nyname.mauiapp: Unquickening 12 vdex files!
11-05 05:59:28.198   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (294, 354) in display 0.
11-05 05:59:28.198   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.198   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (294, 352) in display 0.
11-05 05:59:28.198   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.199   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (293, 351) in display 0.
11-05 05:59:28.199   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.200   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (293, 350) in display 0.
11-05 05:59:28.200   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.200   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (292, 349) in display 0.
11-05 05:59:28.200   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.200   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (292, 348) in display 0.
11-05 05:59:28.200   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.150  4306  4306 I main    : type=1400 audit(0.0:5115): avc: denied { mounton } for path="/sys/fs/selinux/enforce" dev="selinuxfs" ino=4 scontext=u:r:zygote:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file permissive=1 app=com.companyname.mauiapp2
11-05 05:59:28.201   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (292, 347) in display 0.
11-05 05:59:28.201   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.201   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (291, 346) in display 0.
11-05 05:59:28.201   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.201   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (290, 343) in display 0.
11-05 05:59:28.201   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.202   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (290, 340) in display 0.
11-05 05:59:28.202   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.203   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (290, 339) in display 0.
11-05 05:59:28.203   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.205   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (290, 338) in display 0.
11-05 05:59:28.205   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.205   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (288, 334) in display 0.
11-05 05:59:28.205   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.206   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (287, 334) in display 0.
11-05 05:59:28.206   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.206   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (287, 332) in display 0.
11-05 05:59:28.206   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.206   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (286, 329) in display 0.
11-05 05:59:28.206   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.207   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (286, 328) in display 0.
11-05 05:59:28.207   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.150  4306  4306 I main    : type=1400 audit(0.0:5116): avc: denied { mounton } for path="/system/xbin" dev="overlay" ino=2972 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1 app=com.companyname.mauiapp2
11-05 05:59:28.208   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (285, 324) in display 0.
11-05 05:59:28.208   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.210  4306  4306 E libc_hashmap: _hashmap_rehash --> Do we need to increase the initial table size?
11-05 05:59:28.214   728   736 I adbd    : jdwp connection from 4306
11-05 05:59:28.216   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (283, 321) in display 0.
11-05 05:59:28.216   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.216   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (283, 319) in display 0.
11-05 05:59:28.216   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.216   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (282, 318) in display 0.
11-05 05:59:28.216   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.216   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (280, 314) in display 0.
11-05 05:59:28.216   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.216   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (280, 311) in display 0.
11-05 05:59:28.216   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (278, 308) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (277, 304) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (275, 301) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (275, 297) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (274, 296) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (273, 292) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (272, 289) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (270, 285) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.217   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (269, 282) in display 0.
11-05 05:59:28.217   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.221   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (267, 278) in display 0.
11-05 05:59:28.222   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.223   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (266, 275) in display 0.
11-05 05:59:28.223   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.223   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (264, 271) in display 0.
11-05 05:59:28.223   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.224   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (264, 266) in display 0.
11-05 05:59:28.224   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.224   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (262, 264) in display 0.
11-05 05:59:28.224   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.224   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (260, 259) in display 0.
11-05 05:59:28.224   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.225   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (257, 255) in display 0.
11-05 05:59:28.225   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.225   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (257, 250) in display 0.
11-05 05:59:28.225   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.225   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (254, 246) in display 0.
11-05 05:59:28.225   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.226   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (253, 241) in display 0.
11-05 05:59:28.226   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.240   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (251, 237) in display 0.
11-05 05:59:28.240   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.241   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (250, 233) in display 0.
11-05 05:59:28.241   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.241   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (247, 228) in display 0.
11-05 05:59:28.241   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.241   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (245, 224) in display 0.
11-05 05:59:28.241   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.242   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (244, 219) in display 0.
11-05 05:59:28.242   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.242   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (241, 213) in display 0.
11-05 05:59:28.242   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.242   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (239, 207) in display 0.
11-05 05:59:28.242   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.243   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (238, 202) in display 0.
11-05 05:59:28.243   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.243   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (234, 196) in display 0.
11-05 05:59:28.243   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.244   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (233, 192) in display 0.
11-05 05:59:28.244   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.245   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (230, 185) in display 0.
11-05 05:59:28.245   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.245   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (228, 181) in display 0.
11-05 05:59:28.245   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.245   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (225, 175) in display 0.
11-05 05:59:28.245   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.246   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (224, 170) in display 0.
11-05 05:59:28.246   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.246   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (220, 162) in display 0.
11-05 05:59:28.246   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.246   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (219, 157) in display 0.
11-05 05:59:28.246   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.247   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (216, 151) in display 0.
11-05 05:59:28.247   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.247   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (214, 145) in display 0.
11-05 05:59:28.247   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.247   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (211, 140) in display 0.
11-05 05:59:28.247   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.248   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (208, 132) in display 0.
11-05 05:59:28.248   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.248   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (206, 123) in display 0.
11-05 05:59:28.248   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.248   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (203, 117) in display 0.
11-05 05:59:28.248   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.248   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (201, 110) in display 0.
11-05 05:59:28.248   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.249   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (198, 104) in display 0.
11-05 05:59:28.249   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.249   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (195, 97) in display 0.
11-05 05:59:28.249   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.250   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (193, 88) in display 0.
11-05 05:59:28.250   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.250   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (191, 80) in display 0.
11-05 05:59:28.250   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.261   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (188, 73) in display 0.
11-05 05:59:28.261   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.261   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (184, 62) in display 0.
11-05 05:59:28.261   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.262   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (182, 55) in display 0.
11-05 05:59:28.262   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.262   604   680 I InputDispatcher: Dropping event because there is no touchable window or gesture monitor at (179, 49) in display 0.
11-05 05:59:28.262   604   680 W InputDispatcher: Asynchronous input event injection failed.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.281   604  2206 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.291   604  2206 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:28.324   427   540 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.325   427   540 I chatty  : uid=1041(audioserver) ApmOutput identical 7 lines
11-05 05:59:28.325   427   540 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.325   427   540 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
11-05 05:59:28.325   427   540 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.325   427   540 W APM::Devices: DeviceVector::add device 00000002 already in
11-05 05:59:28.325   604  1016 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
11-05 05:59:28.366  4306  4306 I nyname.mauiapp: The ClassLoaderContext is a special shared library.
11-05 05:59:28.430   604   613 I system_server: Background concurrent copying GC freed 80779(6435KB) AllocSpace objects, 315(6636KB) LOS objects, 49% free, 11MB/22MB, paused 71us total 134.610ms
11-05 05:59:28.618   604   619 E GnssLocationProvider: IGnss injectLocation() failed.
11-05 05:59:28.686  4306  4306 W HookMain: toHook /data/plugin/com.companyname.mauiapp2
11-05 05:59:28.698  4306  4306 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-05 05:59:28.699  4306  4306 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-05 05:59:28.727  4306  4306 D DOTNET  : AndroidCryptoNative_InitLibraryOnLoad: jint AndroidCryptoNative_InitLibraryOnLoad(JavaVM *, void *) in /__w/1/s/src/native/libs/System.Security.Cryptography.Native.Android/pal_jni.c
11-05 05:59:28.730  4306  4306 D DOTNET  : GetOptionalClassGRef: optional class com/android/org/conscrypt/OpenSSLEngineImpl was not found
11-05 05:59:28.734  4306  4306 W linker  : Warning: "/data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonodroid.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
11-05 05:59:28.736  4306  4306 W monodroid: Failed to create directory '/data/user/0/com.companyname.mauiapp2/files/.__override__/arm64-v8a'. File exists
11-05 05:59:28.736  4306  4306 W monodroid: Creating public update directory: `/data/user/0/com.companyname.mauiapp2/files/.__override__/arm64-v8a`
11-05 05:59:28.736  4306  4306 W nyname.mauiapp: Attempt to remove non-JNI local reference, dumping thread
11-05 05:59:28.736  4306  4306 W monodroid-debug: Not starting the debugger as the timeout value has been reached; current-time: 1730757568  timeout: 1730729858
11-05 05:59:28.811  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly MauiApp2.dll
11-05 05:59:28.811  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.812  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly Mono.Android.dll
11-05 05:59:28.812  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.815  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly System.Runtime.dll
11-05 05:59:28.816  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.816  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly Java.Interop.dll
11-05 05:59:28.816  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.817  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly System.Runtime.InteropServices.dll
11-05 05:59:28.817  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.819  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly System.Collections.dll
11-05 05:59:28.819  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.821  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly Mono.Android.Runtime.dll
11-05 05:59:28.821  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
11-05 05:59:28.843  4306  4306 W monodroid-assembly: open_from_bundles: failed to load bundled assembly System.Threading.dll
11-05 05:59:28.843  4306  4306 W monodroid-assembly: open_from_bundles: the assembly might have been uploaded to the device with FastDev instead
--------- beginning of crash
11-05 05:59:28.851  4306  4306 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5d0 in tid 4306 (nyname.mauiapp2), pid 4306 (nyname.mauiapp2)
11-05 05:59:28.868  4360  4360 E libc_hashmap: _hashmap_rehash --> Do we need to increase the initial table size?
11-05 05:59:28.875  4360  4360 E libc_hashmap: _hashmap_rehash --> Do we need to increase the initial table size?
11-05 05:59:28.898  4361  4361 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
11-05 05:59:28.899   292   292 I tombstoned: received crash request for pid 4306
11-05 05:59:28.899  4361  4361 I crash_dump64: performing dump of process 4306 (target tid = 4306)
11-05 05:59:28.906  4361  4361 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-05 05:59:28.907  4361  4361 F DEBUG   : Build fingerprint: 'OPPO/PFJM10/OP5227:11/RKQ1.211119.001/1646940843019:user/release-keys'
11-05 05:59:28.907  4361  4361 F DEBUG   : Revision: '0'
11-05 05:59:28.907  4361  4361 F DEBUG   : ABI: 'arm64'
11-05 05:59:28.907  4361  4361 F DEBUG   : Timestamp: 2024-11-05 05:59:28+0800
11-05 05:59:28.907  4361  4361 F DEBUG   : pid: 4306, tid: 4306, name: nyname.mauiapp2  >>> com.companyname.mauiapp2 <<<
11-05 05:59:28.907  4361  4361 F DEBUG   : uid: 11140
11-05 05:59:28.907  4361  4361 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5d0
11-05 05:59:28.907  4361  4361 F DEBUG   : Cause: null pointer dereference
11-05 05:59:28.907  4361  4361 F DEBUG   :     x0  0000000000000000  x1  000000000000002f  x2  0000007300395320  x3  0000000000000023
11-05 05:59:28.907  4361  4361 F DEBUG   :     x4  0000000040100401  x5  0200000800020000  x6  001d3e0c0f010e1c  x7  6d4e636064517248
11-05 05:59:28.907  4361  4361 F DEBUG   :     x8  0000000000000001  x9  0000000000000000  x10 000000002d3881c3  x11 0000000089231938
11-05 05:59:28.907  4361  4361 F DEBUG   :     x12 00000000f2f41b81  x13 000000000000a848  x14 000000000000057f  x15 00000000d14ee339
11-05 05:59:28.907  4361  4361 F DEBUG   :     x16 00000073007198a0  x17 00000075fcccb960  x18 00000075ff11e000  x19 0000007fe432c0e0
11-05 05:59:28.907  4361  4361 F DEBUG   :     x20 00000075fe8cc000  x21 0000007300395329  x22 0000000000000000  x23 0000000000000001
11-05 05:59:28.907  4361  4361 F DEBUG   :     x24 0000000000000000  x25 b4000073a91e54a0  x26 0000000000000000  x27 0000000000000000
11-05 05:59:28.907  4361  4361 F DEBUG   :     x28 000000730039487c  x29 0000007fe432c080
11-05 05:59:28.907  4361  4361 F DEBUG   :     lr  00000073006219fc  sp  0000007fe432bc30  pc  0000007300621a48  pst 0000000000000000
11-05 05:59:28.985  4361  4361 F DEBUG   : backtrace:
11-05 05:59:28.985  4361  4361 F DEBUG   :       #00 pc 0000000000211a48  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #01 pc 000000000020c86c  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (mono_class_load_from_name+84) (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #02 pc 0000000000009030  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmono-component-marshal-ilgen.so (BuildId: 14bae612d473955f97b5b8172dc653926f00b834)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #03 pc 00000000002b9a14  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #04 pc 000000000024bae8  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #05 pc 000000000024b3f8  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #06 pc 000000000023ec98  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #07 pc 00000000001ad1a0  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #08 pc 00000000001abc2c  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #09 pc 00000000001a0dd8  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #10 pc 000000000019ea1c  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #11 pc 00000000000c6030  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #12 pc 000000000026c280  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (mono_runtime_invoke_checked+100) (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #13 pc 0000000000255f50  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #14 pc 000000000023b2e0  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #15 pc 00000000001ad1b8  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #16 pc 00000000001abc2c  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #17 pc 00000000001a0dd8  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #18 pc 00000000001ad550  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.985  4361  4361 F DEBUG   :       #19 pc 00000000001ada24  /data/app/~~FXeueqtnO61Hp1RG_sqDzw==/com.companyname.mauiapp2-FhIfMmUL6GhgzBTrUmT1xQ==/lib/arm64/libmonosgen-2.0.so (BuildId: 895688d6398af029cfd7779512e30abef056c79e)
11-05 05:59:28.986  4361  4361 F DEBUG   :       #20 pc 0000000000007e9c  <anonymous:7360dbf000>
11-05 05:59:29.000  4361  4361 I crash_dump64: type=1400 audit(0.0:5117): avc: denied { read } for name="Mono.Android.dll" dev="dm-33" ino=655582 scontext=u:r:crash_dump:s0:c116,c260,c512,c768 tcontext=u:object_r:app_data_file:s0:c116,c260,c512,c768 tclass=file permissive=1 app=com.companyname.mauiapp2
11-05 05:59:29.300  4361  4361 I crash_dump64: type=1400 audit(0.0:5121): avc: denied { read } for name="framework-res__auto_generated_rro_product.apk" dev="dm-2" ino=541 scontext=u:r:crash_dump:s0:c116,c260,c512,c768 tcontext=u:object_r:vendor_overlay_file:s0 tclass=file permissive=1 app=com.companyname.mauiapp2
11-05 05:59:29.399   292   292 E tombstoned: Tombstone written to: /data/tombstones/tombstone_23
11-05 05:59:29.402   604   636 I BootReceiver: Copying /data/tombstones/tombstone_23 to DropBox (SYSTEM_TOMBSTONE)
11-05 05:59:29.402   604   636 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
11-05 05:59:29.410   604  4379 W ActivityTaskManager:   Force finishing activity com.companyname.mauiapp2/crc6452f1ea43b9adf718.MainActivity
11-05 05:59:29.410   604  4380 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
11-05 05:59:29.412   368   404 D goldfish-address-space: allocate: Ask for block of size 0x384000
11-05 05:59:29.413   368   404 D goldfish-address-space: allocate: ioctl allocate returned offset 0x3fc7c1000 size 0x385000
11-05 05:59:29.430   343   343 I Zygote  : Process 4306 exited due to signal 11 (Segmentation fault)
11-05 05:59:29.432   604  1016 I ActivityManager: Process com.companyname.mauiapp2 (pid 4306) has died: fg  TOP
11-05 05:59:29.432   604   630 I libprocessgroup: Successfully killed process cgroup uid 11140 pid 4306 in 0ms
11-05 05:59:29.432  1327  1327 D UtilLogger: 2024-11-05 05:59:29:432 - [com.chinac.utility.reporterror.DropBoxParser:93] - 1-main - tag: SYSTEM_TOMBSTONE
11-05 05:59:29.432  1327  1327 D UtilLogger: 2024-11-05 05:59:29:432 - [com.chinac.utility.reporterror.DropBoxParser:94] - 1-main - time: 1730757569413
11-05 05:59:29.432  1327  1327 D UtilLogger: 2024-11-05 05:59:29:432 - [com.chinac.baselib.ConnStatusMng:47] - 1-main - onReceive android.intent.action.DROPBOX_ENTRY_ADDED
11-05 05:59:29.432  1327  1327 D UtilLogger: 2024-11-05 05:59:29:432 - [com.chinac.utility.reporterror.DropBoxParser:93] - 1-main - tag: data_app_native_crash
11-05 05:59:29.433  1327  1327 D UtilLogger: 2024-11-05 05:59:29:433 - [com.chinac.utility.reporterror.DropBoxParser:94] - 1-main - time: 1730757569429
11-05 05:59:29.433  1327  1327 D UtilLogger: 2024-11-05 05:59:29:433 - [com.chinac.baselib.ConnStatusMng:47] - 1-main - onReceive android.intent.action.DROPBOX_ENTRY_ADDED
11-05 05:59:29.436  1327  1913 D UtilLogger: 2024-11-05 05:59:29:436 - [com.chinac.utility.reporterror.DropBoxParser:115] - 112-ParseHandler - flag: 2
11-05 05:59:29.436  1327  1913 D UtilLogger: 2024-11-05 05:59:29:436 - [com.chinac.utility.reporterror.DropBoxParser:121] - 112-ParseHandler - file /data/user/0/com.android.nfc/cache/SYSTEM_TOMBSTONE@1730757569413.txt
11-05 05:59:29.439   604  2994 D HostConnection: createUnique: call
11-05 05:59:29.439   604  2994 D HostConnection: HostConnection::get() New Host Connection established 0xb4000073e92d5280, tid 2994
11-05 05:59:29.444  1036  1051 W droid.launcher: Reducing the number of considered missed Gc histogram windows from 2774 to 100
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.455   604  1016 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_2 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_6 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_4 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_10 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_3 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_5 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_11 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_7 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_8 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.464   604  1016 W InputReader: Device virtio_input_multi_touch_9 is associated with display ADISPLAY_ID_NONE.
11-05 05:59:29.480   604   623 W WindowManager: Failed looking up window session=Session{8f957b2 604:1000} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5445 com.android.server.wm.WindowManagerService.removeWindow:1905 com.android.server.wm.Session.remove:193
11-05 05:59:29.480   604  2994 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_YUV_Cache ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1
11-05 05:59:29.481   604  2994 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
11-05 05:59:29.481   604  2994 D EGL_adreno: proc name  ====  system_server
11-05 05:59:29.495   604  2994 E emuglGLESv2_enc: unsized format error:0x8059
11-05 05:59:29.495   604  2994 E emuglGLESv2_enc: unsized format error:0x8059
11-05 05:59:29.495   604  2994 E emuglGLESv2_enc: pixel Format error:0x8058
11-05 05:59:29.496   368   404 D goldfish-address-space: allocate: Ask for block of size 0x384000
11-05 05:59:29.496   368   404 D goldfish-address-space: allocate: ioctl allocate returned offset 0x3fedfc000 size 0x385000
11-05 05:59:29.500  1327  1913 D UtilLogger: 2024-11-05 05:59:29:500 - [com.chinac.utility.reporterror.DropBoxParser:115] - 112-ParseHandler - flag: 2
11-05 05:59:29.501  1327  1913 D UtilLogger: 2024-11-05 05:59:29:501 - [com.chinac.utility.reporterror.DropBoxParser:121] - 112-ParseHandler - file /data/user/0/com.android.nfc/cache/data_app_native_crash@1730757569429.txt
11-05 05:59:29.502  1327  1913 I System.out: matcher.group(0) value:Package: com.companyname.mauiapp2 v1 (1.0)
11-05 05:59:29.502  1327  1913 D UtilLogger: 2024-11-05 05:59:29:502 - [com.chinac.utility.reporterror.DropBoxParser:334] - 112-ParseHandler - npackage:com.companyname.mauiapp2
11-05 05:59:29.502  1327  1913 D UtilLogger: 2024-11-05 05:59:29:502 - [com.chinac.utility.reporterror.DropBoxParser:335] - 112-ParseHandler - versionCode:1
11-05 05:59:29.503  1327  1913 D UtilLogger: 2024-11-05 05:59:29:503 - [com.chinac.utility.reporterror.DropBoxParser:336] - 112-ParseHandler - versionName:1.0
11-05 05:59:29.504  1327  1913 D UtilLogger: 2024-11-05 05:59:29:503 - [com.chinac.utility.reporterror.DropBoxParser:151] - 112-ParseHandler - uploadFile: MauiApp2 data_app_native_crash@1730757569429.txt
11-05 05:59:29.590  1327  4221 D UtilLogger: 2024-11-05 05:59:29:589 - [com.chinac.baselib.api.interceptor.LogInterceptor:36] - 169-RxCachedThreadScheduler-24 - request https://cpfs-cn-jsha-cloudphone-3.chinac.com/cp/fs/uploadAppExceptionFile?token=1903f5a6dea6322e4263a5fac17522f9d6770d22dcda3afe8c4fb49556dfffa8f20c555983bdae7aa78b0753fa049cdc75e51e2d139605d9&exceptionType=data_app_native_crash&cloudPhoneId=cp-cr15bs1o9sg6f548
11-05 05:59:29.590   368   404 D goldfish-address-space: allocate: Ask for block of size 0x384000
11-05 05:59:29.591   368   404 D goldfish-address-space: allocate: ioctl allocate returned offset 0x3fc43c000 size 0x385000
11-05 05:59:29.623  1327  4221 D UtilLogger: 2024-11-05 05:59:29:623 - [com.chinac.baselib.api.interceptor.LogInterceptor:39] - 169-RxCachedThreadScheduler-24 - Received response is success ,message[],code[200]
11-05 05:59:29.626  1327  4221 D UtilLogger: 2024-11-05 05:59:29:625 - [com.chinac.baselib.api.interceptor.LogInterceptor:65] - 169-RxCachedThreadScheduler-24 - url [https://cpfs-cn-jsha-cloudphone-3.chinac.com/cp/fs/uploadAppExceptionFile?token=1903f5a6dea6322e4263a5fac17522f9d6770d22dcda3afe8c4fb49556dfffa8f20c555983bdae7aa78b0753fa049cdc75e51e2d139605d9&exceptionType=data_app_native_crash&cloudPhoneId=cp-cr15bs1o9sg6f548] Received response string [{"responseCode":"100000","responseData":null,"responseMsg":"成功"}]
11-05 05:59:29.628  1327  1327 D UtilLogger: 2024-11-05 05:59:29:628 - [com.chinac.utility.reporterror.DropBoxParser$1:160] - 1-main - Upload Success
11-05 05:59:29.628  1327  1327 D UtilLogger:  {"responseCode":"100000","responseData":null,"responseMsg":"成功"}
11-05 05:59:29.629  1327  1327 D UtilLogger: 2024-11-05 05:59:29:629 - [com.chinac.utility.reporterror.DropBoxParser:278] - 1-main - reportErrorErrInfo{packageName='com.companyname.mauiapp2', versionCode=0, versionName='1.0', tag='data_app_native_crash', time=1730757569429, appName='MauiApp2', fileName='data_app_native_crash@1730757569429.txt'}
11-05 05:59:29.678  1327  4221 D UtilLogger: 2024-11-05 05:59:29:678 - [com.chinac.baselib.api.interceptor.LogInterceptor:36] - 169-RxCachedThreadScheduler-24 - request https://cpgw-cn-jsha-cloudphone-3.chinac.com/cloudPhone/reportAppException
11-05 05:59:29.777  1327  4221 D UtilLogger: 2024-11-05 05:59:29:777 - [com.chinac.baselib.api.interceptor.LogInterceptor:39] - 169-RxCachedThreadScheduler-24 - Received response is success ,message[],code[200]
11-05 05:59:29.780  1327  4221 D UtilLogger: 2024-11-05 05:59:29:780 - [com.chinac.baselib.api.interceptor.LogInterceptor:65] - 169-RxCachedThreadScheduler-24 - url [https://cpgw-cn-jsha-cloudphone-3.chinac.com/cloudPhone/reportAppException] Received response string [{"ResponseCode":100000,"ResponseData":{"TaskId":"yed15bs120241105055933784","Action":"CreateCloudPhoneAppException","TotalCount":0,"Id":"cpae-h615bs1oa55nx81o","CloudPhoneId":"cp-cr15bs1o9sg6f548","AppName":"MauiApp2","PackageName":"com.companyname.mauiapp2","VersionName":"1.0","ExceptionType":"data_app_native_crash","OwnerId":"18436003","FileName":"data_app_native_crash@1730757569429.txt","FilePath":null,"CreateTime":"2024-11-04T21:59:33.815+00:00"},"ResponseMsg":"成功","ResponseDate":"2024-11-04T21:59:33.838+00:00","ResponseTaskId":"4kh15bfn20241105055933745"}]
11-05 05:59:29.790  1327  1327 D UtilLogger: 2024-11-05 05:59:29:790 - [com.chinac.utility.reporterror.DropBoxParser$3:282] - 1-main - Report errorinfo success
11-05 05:59:29.790  1327  1327 D UtilLogger: 2024-11-05 05:59:29:790 - [com.chinac.utility.reporterror.DropBoxParser:252] - 1-main - reportToClient
11-05 05:59:29.912   604   622 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{3970ea6 u0 com.companyname.mauiapp2/crc6452f1ea43b9adf718.MainActivity t-1 f}}
11-05 05:59:30.621   604   619 E GnssLocationProvider: IGnss injectLocation() failed.
11-05 05:59:31.228   604  2206 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
11-05 05:59:31.654   604  1296 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
jfversluis commented 3 days ago

Do you have any logs or error messages or additional information? Based on just "its not working" its hard to say anything useful.

AtlantisDe commented 3 days ago

Do you have any logs or error messages or additional information? Based on just "its not working" its hard to say anything useful.

@jfversluis 💯%Hello, I have submitted the detailed log. Thank you. ❤️❤️❤️❤️ Visual Studio 2022 log shows no abnormal information, and adb shell log shows a lot of failure information.

AtlantisDe commented 3 days ago

Log Analysis and Troubleshooting for MAUI App (AI original text analysis)

Forwarding debugger port 8808
Detecting existing process
> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.companyname.mauiapp1/crc64e632a077a20c694c.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.companyname.mauiapp1/crc64e632a077a20c694c.MainActivity }
[main] type=1400 audit(0.0:5144): avc: denied { mounton } for path="/sys/class/thermal" dev="sysfs" ino=4179 scontext=u:r:zygote:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[main] type=1400 audit(0.0:5145): avc: denied { mounton } for path="/proc/sys/kernel/ostype" dev="proc" ino=35086 scontext=u:r:zygote:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[libc_hashmap] _hashmap_rehash --> Do we need to increase the initial table size?
[nyname.mauiapp] Late-enabling -Xcheck:jni
[main] type=1400 audit(0.0:5146): avc: denied { mounton } for path="/proc/sys/kernel/hostname" dev="proc" ino=13372 scontext=u:r:zygote:s0 tcontext=u:object_r:proc_hostname:s0 tclass=file permissive=1
[main] type=1400 audit(0.0:5147): avc: denied { mounton } for path="/proc/version" dev="proc" ino=4026531938 scontext=u:r:zygote:s0 tcontext=u:object_r:proc_version:s0 tclass=file permissive=1
[main] type=1400 audit(0.0:5148): avc: denied { mounton } for path="/sys/fs/selinux/enforce" dev="selinuxfs" ino=4 scontext=u:r:zygote:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file permissive=1
[nyname.mauiapp] Unquickening 12 vdex files!
[main] type=1400 audit(0.0:5149): avc: denied { mounton } for path="/system/xbin" dev="overlay" ino=2972 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1
[libc_hashmap] _hashmap_rehash --> Do we need to increase the initial table size?
[nyname.mauiapp] The ClassLoaderContext is a special shared library.
[HookMain] toHook /data/plugin/com.companyname.mauiapp1
[NetworkSecurityConfig] No Network Security Config specified, using platform default
[NetworkSecurityConfig] No Network Security Config specified, using platform default
[debug-app-helper] Checking if libmonodroid was unpacked to /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64/libmonodroid.so
[debug-app-helper] Native libs extracted to /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64, assuming application/android:extractNativeLibs == true
[debug-app-helper] Setting up for DSO lookup in app data directories
[debug-app-helper] Added filesystem DSO lookup location: /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64
[debug-app-helper] Using runtime path: /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64
[debug-app-helper] checking directory: `/data/user/0/com.companyname.mauiapp1/files/.__override__/lib`
[debug-app-helper] directory does not exist: `/data/user/0/com.companyname.mauiapp1/files/.__override__/lib`
[debug-app-helper] Checking whether Mono runtime exists at: /data/user/0/com.companyname.mauiapp1/files/.__override__/libmonosgen-2.0.so
[debug-app-helper] Checking whether Mono runtime exists at: /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64/libmonosgen-2.0.so
[debug-app-helper] Mono runtime found at: /data/app/~~xFuKGjkersf2tnNMYEmJaA==/com.companyname.mauiapp1-qs0o0V2vw5epwln7Fu5Qmg==/lib/arm64/libmonosgen-2.0.so
[nyname.mauiapp] Attempt to remove non-JNI local reference, dumping thread
[DOTNET] JNI_OnLoad: JNI_OnLoad in pal_jni.c
[DOTNET] GetOptionalClassGRef: optional class com/android/org/conscrypt/OpenSSLEngineImpl was not found
[monodroid] Creating public update directory: `/data/user/0/com.companyname.mauiapp1/files/.__override__`
[nyname.mauiapp] Attempt to remove non-JNI local reference, dumping thread
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8808,server=y,embedding=1,timeout=1730758256
[libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18 in tid 4963 (nyname.mauiapp1), pid 4963 (nyname.mauiapp1)

Log Overview

The logs indicate that the MAUI application encountered issues during startup. Key points from the log include:

  1. avc: denied Warnings:

    • Multiple instances of avc: denied suggest that access control (SELinux) is blocking certain operations. This typically does not cause application crashes but may affect functionality.
  2. Unquickening 12 vdex files!:

    • This indicates that VDEX files are being processed, which is part of the class loading process for the application.
  3. Fatal signal 11 (SIGSEGV):

    • The log ends with Fatal signal 11 (SIGSEGV), indicating a segmentation fault. This is the direct cause of the application crash, typically due to attempts to access unallocated or illegal memory addresses.

Possible Causes

  1. JNI Call Issues:

    • There may be problematic JNI calls that lead to crashes.
  2. Memory Problems:

    • The application might be encountering memory handling issues, leading to access violations.
  3. Native Library Errors:

    • Issues might arise when loading or using native libraries (like Mono).

Suggested Solutions

  1. Check JNI Calls:

    • Review all JNI calls in the code to ensure no illegal or null references are passed.
  2. Debug Memory Issues:

    • Use tools (like Valgrind) to check for possible memory leaks or errors.
  3. Ensure Native Library Integrity:

    • Verify that all native libraries are loaded correctly and not corrupted.
  4. Update MAUI and Dependencies:

    • Ensure that your MAUI framework and all dependencies (like NuGet packages) are up to date, as known issues may have been fixed in updates.
  5. Test on Different Devices and Environments:

    • Run tests on various Android devices to confirm that the problem is not device-specific.
  6. Increase Logging:

    • Add more logging around critical code sections to capture the state before the crash.

Conclusion

If the issue persists, consider simplifying the code step by step to identify the exact location causing the crash and investigate accordingly. If you need further assistance, please provide relevant code or context.

AtlantisDe commented 1 day ago

uname -m
# aarch64

---------------------------------------------------------
📋Min./ Max. SDK: 21: 23: Android 6.0 (Marshmallow)
📋Target / Compile SDK: 34: Android   34: Android
📋ABIs: armeabi-v7a arm64-v8a x86 x86_64

💯💯💯💯Try the test ----  Xamarin.Android💯💯💯💯
---------------------------------------------------------
✅✅✅✅✅✅✅✅✅ OK OK OK
Xamarin.Android  
It can run and test perfectly under the Xamarin.Android framework.
✅✅✅✅✅✅✅✅✅

❣️❣️❣️Try the test   ----  arm64-v8a❣️❣️❣️
---------------------------------------------------------
# net8.0-android34.0⬅️
dotnet publish -c Release -f net8.0-android34.0 -r android-arm64 --self-contained

#dotnet publish -c Release -f net8.0-android34.0 -r android-arm64 --self-contained
#dotnet publish -c Release -f net8.0-android34.0 -r android-armv7 --self-contained
#dotnet publish -c Release -f net8.0-android34.0 -r android-x86 --self-contained
#dotnet publish -c Release -f net8.0-android34.0 -r android-x86_64 --self-contained

# net8.0-android
#dotnet publish -c Release -f:net8.0-android -r android-arm64 --self-contained
#dotnet publish -c Release -f:net8.0-android -r android-armv7 --self-contained
#dotnet publish -c Release -f:net8.0-android -r android-x86 --self-contained
#dotnet publish -c Release -f:net8.0-android -r android-x86_64 --self-contained

# Can run OK  ✅✅✅✅✅✅✅✅✅ On LineageOS Android 11
# Can not, run Failed  ❌❌❌❌❌❌❌❌❌ Other Rom Android 11

Installed Workload Id      Manifest Version                     Installation Source
---------------------------------------------------------
maui-windows      8.0.82/8.0.100         VS 17.11.35327.3
maccatalyst       18.0.8303/8.0.100      VS 17.11.35327.3
ios               18.0.8303/8.0.100      VS 17.11.35327.3
android           34.0.113/8.0.100       VS 17.11.35327.3

# Can not, run Failed  ❌❌❌❌❌❌❌❌❌
Installed Workload Id      Manifest Version                     Installation Source
----------------------------------------------------------------------------------------------------
android                    35.0.0-rc.2.152/9.0.100-rc.2         SDK 9.0.100-rc.2, VS 17.12.35424.110
aspire                     8.2.2/8.0.100                        SDK 9.0.100-rc.2, VS 17.12.35424.110
ios                        18.0.9600-net9-rc2/9.0.100-rc.2      SDK 9.0.100-rc.2, VS 17.12.35424.110
maccatalyst                18.0.9600-net9-rc2/9.0.100-rc.2      SDK 9.0.100-rc.2, VS 17.12.35424.110
maui-windows               9.0.0-rc.2.24503.2/9.0.100-rc.2      SDK 9.0.100-rc.2, VS 17.12.35424.110