“Unknown bits set in runtime_flags: 0x8000” warning in Logcat on Android Q emulator

后端 未结 4 3099
[愿得一人]
[愿得一人] 2020-12-13 12:44

I\'m getting this warning as the first line from my app in logcat, and I have no idea what it refers to and how I should go about fixing it. Google doesn\'t offer much info

4条回答
  •  攒了一身酷
    2020-12-13 13:03

    I searched and I have some suggestion to you.

    First of all take a look at this links:

    hexadecimal-0x8000

    difference between constants 32768 and 0x8000

    Now this links may be can help you :

    Android Fragment no view found for ID

    FLAG_ACTIVITY_CLEAR_TOP

    addFlags(0x8000)

    and last thing is:

    Uninstall App from emulator and Run project Again.

    First Edit:

    I Searched again and i think we are close to answer, so please check this links and say what do you think? are they Irrelevant? or we are on the right way.

    ...

    AConfiguration

    org.robolectric.res.android

    Class AConfiguration

    ACONFIGURATION_SCREEN_ROUND

    public static final int ACONFIGURATION_SCREEN_ROUND

    ...

    \sdk\ndk-bundle\sysroot\usr\include\android

    configuration.h

       * Bit mask for
       * layout direction
       * configuration.
    
       ACONFIGURATION_LAYOUTDIR = 0x4000,
       ACONFIGURATION_SCREEN_ROUND = 0x8000
    

    ...

    https://developer.android.com/ndk/reference/group/configuration

    android_ndk_sys

     Constant : ACONFIGURATION_SCREEN_ROUND
     ->
     Constant android_ndk_sys::ACONFIGURATION_SCREEN_ROUND
     pub const ACONFIGURATION_SCREEN_ROUND: _bindgen_ty_3
     ->
     Type Definition android_ndk_sys::_bindgen_ty_3
    
     type _bindgen_ty_3 = u32;
    

    ...

    ACAMERA_VENDOR = 0x8000

     ACAMERA_VENDOR = 0x8000
     ACAMERA_DISTORTION_CORRECTION << 16,
       ACAMERA_HEIC_START = ACAMERA_HEIC << 16,
       ACAMERA_HEIC_INFO_START = ACAMERA_HEIC_INFO << 16,
       ACAMERA_VENDOR_START = ACAMERA_VENDOR << 16
    

提交回复
热议问题