I have created new thread in my android app to read .p12 file like this:
AssetManager am = getAssets();
InputStream inputStream = am.open("C:\\Users\\UkrBikeApp-ff55878cb577.p12");
C:\\Users\\UkrBikeApp-ff55878cb577.p12 is a path to a file on a Windows machine. Android is not Windows.
C:\\Users\\UkrBikeApp-ff55878cb577.p12 is a filesystem path. It is not a path to an asset within your APK, and so
AssetManager would not know what to do with it anyway.
If you want to package this file in your app:
assets/ directory in the appropriate module and source set (e.g.,
Put the file in
AssetManager with the plain filename