Follow Issue on Issue Trackerm here: Issue: 2917 - Installation Issue: 
Failure copying native libraries [errorCode=-113] 
<https://github.com/codenameone/CodenameOne/issues/2917>

On Thursday, 12 September 2019 14:33:15 UTC+2, Morne Galanos wrote:
>
> Good Day,
>
>  
>
> Recently we started noticing that our Applications (that used to install 
> fine), are unable to install on most android devices.
>
> After some investigation we discovered that the problem seems to be 
> related to native libraries we use (these are used for printer integration) 
> or at least how they are packaged in the final APK.
>
>  
>
> The following error can be seen when debugging the installation process:
>
> 2019-09-12 13:39:55.858 2058-2150/system_process W/NativeHelper: Failure 
> copying native libraries [errorCode=-113]
>
> 2019-09-12 13:39:55.858 2058-2150/system_process 
> E/PackageInstallerSession: Commit of session 1943415760 failed: Failed to 
> extract native libraries, res=-113
>
>
> The installation process was debugged using the Nexus 5X API 29 x86 
> Emulator (from Android Studio) with the following environment:
>
> *Model*
> Android SDK built for x86
>
> *Serial*
>
> EMULATOR29X1X12X0
>
> *Version*
> 10
>
>  
>
> *More about our Environment:*
>
> We use Netbeans as our IDE, on Windows Platforms, using the built-in CN1 
> Emulator and the Nexus 5X API 29 x86 Emulator (from Android Studio). 
> Physical phones tested where a Samsung Galaxy S9+ and a Huawei P20 Lite.
>
>  
>
> *More about our Application:*
> We have an AAR library (TPSLibrary.aar) containing .so native libraries in 
> the jni/armabi folder - Library will be attached (update : attachment not 
> working)
>
> This AAR library is then included in our CN1 library 
> (PrinterLibraryCN1.cn1lib) for Printing - Library will be attached (update 
> : attachment not working)
>
> Our PrinterLibrary is, inturn, included in our main Application 
> (BankingMobile.apk) - Test Apk will be attached (update : attachment not 
> working)
>
>  
>
> Previously, this setup installed perfectly and ran on all devices we came 
> across.
> However, recently we have not been able to install our Application on most 
> devices I could find (including a Samsung Galaxy S9+ and a Huawei P20 
> Lite), due to this presumed library issue.
>
>  
>
> Has something changed in Android itself causing incompatibility? Has 
> something changed on CN1 side that might cause this? Are we packaging our 
> project incorrectly?
> I assume it has to do with *armabi* now being *armabi-v7a *or something 
> similar.
>
>  
>
> Assistance regarding this matter will be greatly appreciated.
>
> Kind Regards,
> Morné
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ddfcb326-4213-4f6c-9ae9-5cadb2881cbc%40googlegroups.com.

Reply via email to