Skip to content

How to enable hardware sanitizer in android 14 devices. #1708

Open
@NitzDKoder

Description

@NitzDKoder

Hello,

https://developer.android.com/ndk/guides/hwasan#wrapsh
https://developer.android.com/ndk/guides/wrap-script

Followed the steps in samsung s23 android 14 device but application fails to install and gets error.

Installation did not succeed. The application could not be installed: INSTALL_FAILED_INVALID_APK
11-27 15:08:40.064 W/ActivityManager( 2712): Invalid packageName: com.example.hellojni
11-27 15:08:40.064 W/ActivityManager( 2712): Invalid packageName: com.example.hellojni
11-27 15:08:40.064 W/ActivityManager( 2712): Invalid packageName: com.example.hellojni
11-27 15:08:40.067 I/bauth_FPBAuthService( 2209): pcf : 0x1012, 0 ,1 ,0 ,0 ,0 ,0, 8.0.0.0
11-27 15:08:40.067 I/bauth_FPBAuthService( 2209): thread id : 1, preenroll_flag : 0, nd cnt : 0, cso : 0, et : 0
11-27 15:08:40.067 I/bauth_FPBAuthService( 2209): FPBAuthService::timerHandler complete
11-27 15:08:40.118 I/studio.deploy( 2840): Received request 'dump'
11-27 15:08:40.159 E/studio.deploy( 2840): Could not get package user id: run-as: unknown package: com.example.hellojni
11-27 15:08:40.185 E/studio.deploy( 2840): Could not find apks for this package: com.example.hellojni
11-27 15:08:40.185 E/studio.deploy( 2840): Error: 

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions