0

我有一个运行 Android 11 的 Oppo A53。当我在初始活动(登录页面)中设置断点时,一旦断点被​​击中,应用程序将在 5 秒不活动后终止。在模拟设备或我的其他测试设备(也运行 Android 11 的 Samsung Tab A)上不会出现此问题。此外,一旦应用程序启动另一个活动,我可以无限期地停留在新活动中的断点上。

这是显示登录活动定义的应用清单部分:

    <activity
        android:name=".LoginActivity"
        android:theme="@style/SplashTheme"
        android:screenOrientation="locked"
        android:exported="true">
       <intent-filter>
           <action android:name="android.intent.action.MAIN" />
           <category android:name="android.intent.category.LAUNCHER" />
       </intent-filter>
    </activity>

这是来自 logcat 的相关行:

2022-02-09 16:12:38.811 11786-11786/com.uomini.meecha D/OplusInputMethodUtil: init DEBUG to false, update DEBUG_IME to false
2022-02-09 16:12:39.381 11786-12103/com.uomini.meecha V/FA: Connection attempt already in progress
2022-02-09 16:12:44.018 11786-11800/com.uomini.meecha I/m.uomini.meech: Thread[2,tid=11800,WaitingInMainSignalCatcherLoop,Thread*=0xb4000079bc426000,peer=0x12ec0000,"Signal Catcher"]: reacting to signal 3
2022-02-09 16:12:44.018 11786-11800/com.uomini.meecha I/m.uomini.meech: 
2022-02-09 16:12:44.190 11786-11800/com.uomini.meecha I/m.uomini.meech: Wrote stack traces to tombstoned

我的其他应用程序也发生了同样的事情,所以我认为这不是应用程序问题,尤其是因为它只发生在 Oppo 上。

4

0 回答 0