Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Alert when running new app on Android devices: baseline.zip file copy to private file system failed.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Alert when running new app on Android devices: baseline.zip file copy to private file system failed.

    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>​
    You do not have permission to view this gallery.
    This gallery has 1 photos.

    #2
    There is a hotfix related to Cordova builds for Alpha 8722. It helped me with some problems I was having.

    Comment


      #3
      Thanks Rusty. I'll grab that fix.

      Comment


        #4
        Hi Rick. Did you ever get this figured out? I noticed the same error when testing out on Android 13 tablets. Same app on Android 12 works fine.

        Comment


          #5
          No I couldn't get it to work on newer Android tablets so we had to switch off instant updates.

          Comment


            #6
            FYI Bob Moore says:

            This is an AWS credentials issue.
            Are you using your own bucket or the one specified for Alpha Software?

            What Build # are you using?

            I know we've been tightening up security on all of our AWS accounts and that may have caused this issue.

            Let me know.

            Cheers,

            Bob

            Comment


              #7
              I don't believe this to be an AWS issue. For us, it appears that the app does not have permission to the file system on the tablet. The cordova-plugin-file version that comes with Alpha seems to be really old. I think we are having luck with using a newer version, but more testing is needed on our part. In your config.xml file, you may have a line similar to the following.

              Code:
              <plugin name="cordova-plugin-file" version = "4.3.3" source="npm"/>
              I believe you can remove the version number altogether, which would allow npm to get the latest version of the plugin.

              Comment


                #8
                We're using builkd 8867 which is the latest Stable Build and the instant update now works ok on Android.

                This is what is in the config.xml file
                <plugin name="cordova-plugin-file" source="npm" version="8.0.0" />

                Comment

                Working...
                X