1. Download our Official Android App: Forums for Android!

Is it okay to run a 32-bit system service on an aarch64 android?

Discussion in 'Android Development' started by Erez St, Sep 19, 2017.

  1. Erez St

    Erez St Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Sep 19, 2017

    Sep 19, 2017
    1
    0
    5
    Male
    Hi experts,

    I'm trying to deploy a system service on Android running on 64-bit ARM (aarch64).

    The service cannot be built for aarch64 (due to portability issues), and only runs when build for 32-bit ARM. I am able to install and run it when built for 32-bits, but I'm concerned if it might cause any other problems.

    PackageManager outputs warnings about incompatible ABIs, and also I found a reference that says "All apps that use a given sharedUid are expected to use the same instruction set". In my case, sharedUid is android.uid.system

    Can someone help clarify what are the implications of installing a 32-bit program in a 64-bit Android system, especially as a system service?


    Thanks,
    Erez
     

    Advertisement

Share This Page

Loading...