tr

Created: March 19, 2026 at 4:33 pm

Expires: Never

Syntax: Plain Text

 D:\Data2020\NGL\PingXO\android\app\src\main\java\com\pingxo\app\MainActivity.java:17: Error: onBackPressed is no longer called for back gestures; migrate to AndroidX's backward compatible OnBackPressedDispatcher [GestureBackNavigation]
      public void onBackPressed() {
                  ~~~~~~~~~~~~~

     Explanation for issues of type "GestureBackNavigation":
     For apps targeting and running on Android 16+ (API 36+), predictive back
     animations are enabled by default. A back gesture does not trigger
     {Activity,Dialog}.onBackPressed, and does not dispatch
     KeyEvent.KEYCODE_BACK.

     Apps should migrate to AndroidX's backward compatible
     OnBackPressedDispatcher.

     This lint check does not consider per-activity opt-in/opt-out, so you may
     need to suppress or baseline reported incidents if migrating per-activity.

     https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture


  The full lint text report is located at:
    D:\Data2020\NGL\PingXO\android\app\build\intermediates\lint_intermediate_text_report\debug\lintReportDebug\lint-results-debug.txt