Skip to content

Can't debug my own app with Android Studio in CrDroid 12.11 #1090

Description

@nicorac

Issue type

Feature not working as intended

Device

Redmi Note 9 Pro (miatoll)

crDroid version

crDroid 12

Exact version / Build date

12.11/2026-07-25 (ROM zip: crDroidAndroid-16.0-20260725-miatoll-v12.11.zip)

Bug description

Can't debug my own application with Android Studio (Quail 2 | 2026.1.2).
Pressing Debug app button (ALT+F5) the debug version of the app is installed, then its started started and finally it hangs with the message:

Waiting For Debugger
Application xxx (process yyy.www.zzz) is waiting for the debugger to attach.

Image

Opening the "Attach to process" dialog in AS doesn't show any process:

Image

The process is running:

$ adb shell ps | grep bcrgui
u0_a335      11874  1020   16756688 144676 0                   0 S com.github.nicorac.bcrgui.debug

but adb jdwp doesn't show any process:

adb jdwp

and must be forcibly terminated.

Steps to reproduce

  1. create an app in Android Studio (the simpler the better)
  2. press Debug app (ALT+F5) to install and debug it on the device
  3. the app is installed, started then hangs waiting for the debugger to attach

Relevant log (logcat/build log)

2026-07-26 17:19:00.817  1995-2335  PackageManager          system_server                        E  Error occurred while checking alignment of package : com.github.nicorac.bcrgui.debug
2026-07-26 17:19:01.403 11874-11874 nativeloader            com.github.nicorac.bcrgui.debug      D  Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok
2026-07-26 17:19:01.598 11874-11874 nativeloader            com.github.nicorac.bcrgui.debug      D  Configuring clns-9 for other apk /data/app/~~zxa5bLisrQ2aN1O5ggqZLg==/com.github.nicorac.bcrgui.debug-6GVbW3igH0ShlCRGbViLEw==/base.apk. target_sdk_version=32, uses_libraries=, library_path=/data/app/~~zxa5bLisrQ2aN1O5ggqZLg==/com.github.nicorac.bcrgui.debug-6GVbW3igH0ShlCRGbViLEw==/lib/arm64, permitted_path=/data:/mnt/expand:/data/user/0/com.github.nicorac.bcrgui.debug
2026-07-26 17:19:01.609 11874-11874 GameProps               com.github.nicorac.bcrgui.debug      W  No gameprops config in Settings.Secure
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V  Currently set values for:
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V    angle_gl_driver_selection_pkgs=[]
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V    angle_gl_driver_selection_values=[]
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V  com.github.nicorac.bcrgui.debug is not listed in per-application setting
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V  ANGLE allowlist from config: 
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V  No special selections for ANGLE, returning default driver choice
2026-07-26 17:19:01.618 11874-11874 GraphicsEnvironment     com.github.nicorac.bcrgui.debug      V  Neither updatable production driver nor prerelease driver is supported.
2026-07-26 17:19:01.622 11874-11874 ActivityThread          com.github.nicorac.bcrgui.debug      W  Application com.github.nicorac.bcrgui.debug is suspending. Debugger needs to resume to continue.
2026-07-26 17:19:01.622 11874-11874 System.out              com.github.nicorac.bcrgui.debug      I  Sending WAIT chunk
2026-07-26 17:19:01.622 11874-11874 System.out              com.github.nicorac.bcrgui.debug      I  Waiting for debugger first packet
2026-07-26 17:19:16.443 11874-11877 ac.bcrgui.debug         com.github.nicorac.bcrgui.debug      I  Thread[2,tid=11877,WaitingInMainSignalCatcherLoop,Thread*=0xb400007a877e62c0,peer=0x2050020,"Signal Catcher"]: reacting to signal 3
2026-07-26 17:19:16.443 11874-11877 ac.bcrgui.debug         com.github.nicorac.bcrgui.debug      I  
2026-07-26 17:19:16.512 11874-11877 ac.bcrgui.debug         com.github.nicorac.bcrgui.debug      I  Wrote stack traces to tombstoned

Screenshots or videos

No response

Solution

No response

Additional context

It's not a PC or Android Studio issue.
Using the same Android Studio on the same PC with other ROMs (on the same phone) works.
It also works on another phone (Redmi 14 + HyperOS).

Here's the list of working/not working ROMs I've tested so far.

NOT WORKING

crDroidAndroid-16.0-20260725-miatoll-v12.11
AlphaDroid-16-20260629-gapps-miatoll-v4.5
axion-2.7-PROXIMA_BETA-20260616-OFFICIAL-GMS-miatoll
Project_Infinity-X-3.12-miatoll-13.07.2026-GAPPS-OFFICIAL
voltage-5.10-miatoll-20260624-1905-OFFICIAL

WORKING

CloverProject-3.11-20260608-OFFICIAL-miatoll-GMS
PixelOS_miatoll-16.2-20260618-1234

A similar issue (#980) was recently closed, but the bug is still there on miatoll.

Acknowledgements

  • I've checked device is officially supported and that no support is provided for unofficial devices (for device specific reports and not source related).
  • I'm running latest version available on crdroid.net for this device and that the device is still maintainer supported (not flagged unsupported on download page)
  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly and understand that not doing so will automatically result in closing of ticket.

Edited on 2026-07-26_23:30:00+02:00: updated crDroid to 2026-07-25 build, bug is still there

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-more-infoFurther information is requested

    Type

    No type

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions