9

I have an Oppo A53s running Android 11. When I set a breakpoint in the initial activity (login page), once the breakpoint is hit the app will terminate after five seconds of inactivity. This problem doesn't occur on the emulated devices or on my other test device, a Samsung Tab A, also running Android 11. Also,once the app starts another activity, I can stay on a breakpoint in the new activity indefinitely.

Here's the portion of the app manifest showing the definition of the login activity:

    <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>

And here's the relevant lines from 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

Same thing happens on my other apps, so I don't think it's an app problem, especially since it only occurs on the Oppo.

FractalBob
  • 3,225
  • 4
  • 29
  • 40
  • 2
    No solution yet. I contacted Oppo support and they were useless. Told me to bring the phone in to one of their stores. In the Philippines. Yeah, right. So now I use another device for debug testing and only use the Oppo when I want to run my apps. However, I did also file a bug against Android Studio (bug #218397066). – FractalBob May 14 '22 at 08:06

0 Answers0