I've created a new baseline build for an existing android app for a client so it would run on newer Android phones and now getting the error:
"Alert baseline.zip file copy to private file system failed. You may need to uninstall and re-install the app. OK"
Does anyone have any suggestions on fixing this please? I'm using Alpha Version 12.4.6.5.1, build 8722. The app is using Cordova cli-12.x.x. Minimum SDK version is 21
I'm thinking it has something to do with file permission accessing local filestore as referenced in this link:
https://developer.android.com/about/...rivacy/storage
Running the app through Android Studio logs the following errors:
---------------------------- PROCESS STARTED (7160) for package com.axsapt.gdtabletapp2 ----------------------------
2023-09-19 10:35:18.863 7160-7160 ziparchive com.axsapt.gdtabletapp2 W Unable to open '/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.dm': No such file or directory
2023-09-19 10:35:18.863 7160-7160 ziparchive com.axsapt.gdtabletapp2 W Unable to open '/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.dm': No such file or directory
2023-09-19 10:35:18.927 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring classloader-namespace for other apk /data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/com.axsapt.gdtabletapp2
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V ANGLE Developer option for 'com.axsapt.gdtabletapp2' set to: 'default'
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V ANGLE GameManagerService for com.axsapt.gdtabletapp2: false
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V Neither updatable production driver nor prerelease driver is supported.
2023-09-19 10:35:18.936 7160-7160 NetworkSecurityConfig com.axsapt.gdtabletapp2 D No Network Security Config specified, using platform default
2023-09-19 10:35:18.937 7160-7160 NetworkSecurityConfig com.axsapt.gdtabletapp2 D No Network Security Config specified, using platform default
2023-09-19 10:35:18.968 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libEGL_emulation.so
2023-09-19 10:35:18.971 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2023-09-19 10:35:18.973 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libGLESv2_emulation.so
2023-09-19 10:35:19.022 7160-7160 AppCompatDelegate com.axsapt.gdtabletapp2 D Checking for metadata for AppLocalesMetadataHolderService : Service not found
2023-09-19 10:35:19.044 7160-7160 CordovaLog com.axsapt.gdtabletapp2 I Changing log level to DEBUG(3)
2023-09-19 10:35:19.044 7160-7160 CordovaActivity com.axsapt.gdtabletapp2 I Apache Cordova native platform version 12.0.1 is starting
2023-09-19 10:35:19.044 7160-7160 CordovaActivity com.axsapt.gdtabletapp2 D CordovaActivity.onCreate()
2023-09-19 10:35:19.073 7160-7160 WebViewFactory com.axsapt.gdtabletapp2 I Loading com.google.android.webview version 103.0.5060.71 (code 506007137)
2023-09-19 10:35:19.078 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring vendor-classloader-namespace for unbundled product apk /product/app/TrichromeLibrary/TrichromeLibrary.apk. target_sdk_version=33, uses_libraries=ALL, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
2023-09-19 10:35:19.081 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W ClassLoaderContext shared library size mismatch. Expected=0, found=1 (PCL[] | PCL[]{PCL[/product/app/TrichromeLibrary/TrichromeLibrary.apk*3197987500]})
2023-09-19 10:35:19.082 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring vendor-classloader-namespace for unbundled product apk /product/app/WebViewGoogle/WebViewGoogle.apk. target_sdk_version=33, uses_libraries=, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
2023-09-19 10:35:19.124 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.126 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.129 7160-7160 cr_WVCFactoryProvider com.axsapt.gdtabletapp2 I Loaded version=103.0.5060.71 minSdkVersion=29 isBundle=false multiprocess=true packageId=2
2023-09-19 10:35:19.138 7160-7187 cr_VariationsUtils com.axsapt.gdtabletapp2 I Failed reading seed file "/data/user/0/com.axsapt.gdtabletapp2/app_webview/variations_seed_new"
2023-09-19 10:35:19.138 7160-7187 cr_VariationsUtils com.axsapt.gdtabletapp2 I Failed reading seed file "/data/user/0/com.axsapt.gdtabletapp2/app_webview/variations_seed"
2023-09-19 10:35:19.143 7160-7160 cr_LibraryLoader com.axsapt.gdtabletapp2 I Successfully loaded native library
2023-09-19 10:35:19.144 7160-7160 cr_CachingUmaRecorder com.axsapt.gdtabletapp2 I Flushed 9 samples from 9 histograms.
2023-09-19 10:35:19.167 7160-7160 Compatibil...geReporter com.axsapt.gdtabletapp2 D Compat change id reported: 183155436; UID 10169; state: ENABLED
---------------------------- PROCESS STARTED (7191) for package com.axsapt.gdtabletapp2 ----------------------------
The AndroidManifest.xml file is as follows:
<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.2" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:exported="true" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="landscape" android:theme="@style/Theme.App.SplashScreen" android:windowSoftInputMode="adjustResize">
<intent-filter android:label="@string/launcher_name">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider android:authorities="com.axsapt.gdtabletapp2.DocumentViewerPlugin.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="de.sitewaerts.cordova.documentviewer.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/documentviewer_file_paths" />
</provider>
</application>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
</manifest>
"Alert baseline.zip file copy to private file system failed. You may need to uninstall and re-install the app. OK"
Does anyone have any suggestions on fixing this please? I'm using Alpha Version 12.4.6.5.1, build 8722. The app is using Cordova cli-12.x.x. Minimum SDK version is 21
I'm thinking it has something to do with file permission accessing local filestore as referenced in this link:
https://developer.android.com/about/...rivacy/storage
Running the app through Android Studio logs the following errors:
---------------------------- PROCESS STARTED (7160) for package com.axsapt.gdtabletapp2 ----------------------------
2023-09-19 10:35:18.863 7160-7160 ziparchive com.axsapt.gdtabletapp2 W Unable to open '/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.dm': No such file or directory
2023-09-19 10:35:18.863 7160-7160 ziparchive com.axsapt.gdtabletapp2 W Unable to open '/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.dm': No such file or directory
2023-09-19 10:35:18.927 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring classloader-namespace for other apk /data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~5e731vvPdQt_jVpcwvg2_g==/com.axsapt.gdtabletapp2-oxVwNVKg5K4_xxnVH5-mcw==/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/com.axsapt.gdtabletapp2
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V ANGLE Developer option for 'com.axsapt.gdtabletapp2' set to: 'default'
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V ANGLE GameManagerService for com.axsapt.gdtabletapp2: false
2023-09-19 10:35:18.933 7160-7160 GraphicsEnvironment com.axsapt.gdtabletapp2 V Neither updatable production driver nor prerelease driver is supported.
2023-09-19 10:35:18.936 7160-7160 NetworkSecurityConfig com.axsapt.gdtabletapp2 D No Network Security Config specified, using platform default
2023-09-19 10:35:18.937 7160-7160 NetworkSecurityConfig com.axsapt.gdtabletapp2 D No Network Security Config specified, using platform default
2023-09-19 10:35:18.968 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libEGL_emulation.so
2023-09-19 10:35:18.971 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2023-09-19 10:35:18.973 7160-7183 libEGL com.axsapt.gdtabletapp2 D loaded /vendor/lib64/egl/libGLESv2_emulation.so
2023-09-19 10:35:19.022 7160-7160 AppCompatDelegate com.axsapt.gdtabletapp2 D Checking for metadata for AppLocalesMetadataHolderService : Service not found
2023-09-19 10:35:19.044 7160-7160 CordovaLog com.axsapt.gdtabletapp2 I Changing log level to DEBUG(3)
2023-09-19 10:35:19.044 7160-7160 CordovaActivity com.axsapt.gdtabletapp2 I Apache Cordova native platform version 12.0.1 is starting
2023-09-19 10:35:19.044 7160-7160 CordovaActivity com.axsapt.gdtabletapp2 D CordovaActivity.onCreate()
2023-09-19 10:35:19.073 7160-7160 WebViewFactory com.axsapt.gdtabletapp2 I Loading com.google.android.webview version 103.0.5060.71 (code 506007137)
2023-09-19 10:35:19.078 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring vendor-classloader-namespace for unbundled product apk /product/app/TrichromeLibrary/TrichromeLibrary.apk. target_sdk_version=33, uses_libraries=ALL, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
2023-09-19 10:35:19.081 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W ClassLoaderContext shared library size mismatch. Expected=0, found=1 (PCL[] | PCL[]{PCL[/product/app/TrichromeLibrary/TrichromeLibrary.apk*3197987500]})
2023-09-19 10:35:19.082 7160-7160 nativeloader com.axsapt.gdtabletapp2 D Configuring vendor-classloader-namespace for unbundled product apk /product/app/WebViewGoogle/WebViewGoogle.apk. target_sdk_version=33, uses_libraries=, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
2023-09-19 10:35:19.124 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.125 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.126 7160-7160 pt.gdtabletapp2 com.axsapt.gdtabletapp2 W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed)
2023-09-19 10:35:19.129 7160-7160 cr_WVCFactoryProvider com.axsapt.gdtabletapp2 I Loaded version=103.0.5060.71 minSdkVersion=29 isBundle=false multiprocess=true packageId=2
2023-09-19 10:35:19.138 7160-7187 cr_VariationsUtils com.axsapt.gdtabletapp2 I Failed reading seed file "/data/user/0/com.axsapt.gdtabletapp2/app_webview/variations_seed_new"
2023-09-19 10:35:19.138 7160-7187 cr_VariationsUtils com.axsapt.gdtabletapp2 I Failed reading seed file "/data/user/0/com.axsapt.gdtabletapp2/app_webview/variations_seed"
2023-09-19 10:35:19.143 7160-7160 cr_LibraryLoader com.axsapt.gdtabletapp2 I Successfully loaded native library
2023-09-19 10:35:19.144 7160-7160 cr_CachingUmaRecorder com.axsapt.gdtabletapp2 I Flushed 9 samples from 9 histograms.
2023-09-19 10:35:19.167 7160-7160 Compatibil...geReporter com.axsapt.gdtabletapp2 D Compat change id reported: 183155436; UID 10169; state: ENABLED
---------------------------- PROCESS STARTED (7191) for package com.axsapt.gdtabletapp2 ----------------------------
The AndroidManifest.xml file is as follows:
<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.2" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:exported="true" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="landscape" android:theme="@style/Theme.App.SplashScreen" android:windowSoftInputMode="adjustResize">
<intent-filter android:label="@string/launcher_name">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider android:authorities="com.axsapt.gdtabletapp2.DocumentViewerPlugin.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="de.sitewaerts.cordova.documentviewer.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/documentviewer_file_paths" />
</provider>
</application>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
</manifest>
Comment