question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install app for Android Example

See original GitHub issue

Hi,

I want to perform federated learning with Android Clients, and I tired to run through the Flower Android Example in this repo. However, I failed to install the apk file on all 3 Android mobiles. It says that [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Is there anything I can do to solve this problem?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Victoria-Weicommented, Dec 24, 2021

Sorry for the late reply… I was busy for the past few days. And thank you for your reply!!!

I don’t know how to run the command adb shell getprop ro.product.cpu.abilist on my phone, so I downloaded an app that tells the command set (not sure what the actual English word for this is) the mobile uses.

2 of the above mobiles use arm64-v8a. (I didn’t test the third one due to memory shortage) Therefore, I appended the following configuration to build.gradle under the app folder like you said.

splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
        universalApk true
    }
}

( I found out later that I could simply include ‘arm64-v8a’ to build the desired APK. From the above configuration, it will build different APKs for different “command sets” if I understand it correctly.)

The APK built with ‘arm64-v8a’ can be installed successfully on both mobiles. Both of them seem to be running, even with Android version = 8.1.0. I will then take a closer look at what the app is doing exactly and how.

Thank you for all your assistance!! It is really a huge help for me!!! Thank you again and Merry Christmas~~

0reactions
Victoria-Weicommented, Dec 25, 2021

Thank you again for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Do if Your Android Device Won't Download or Install ...
Android Device Won't Download or Install Apps · Check Your Free Space · Check Your Network · Reboot Your Device · Check Your...
Read more >
How to Fix Android App Not Installed Error
Corrupted storage, especially corrupted SD cards, is one of the most common reasons why Android app not installed error occurs. Unwanted data ...
Read more >
Fix problems downloading apps from the Play Store
Close & reopen the Play Store · Uninstall & reinstall Play Store updates · Restart your device · Clear cache & data from...
Read more >
'App not Installed' Error on Android - Stack Overflow
To disable Google Play Protect. Open "Play Store" application => tap on Menu button => select "Play Protect" option => Disable the options...
Read more >
Why Can't I Download Certain Apps on the Google Play Store?
This can appear if, for example, the app was designed for tablets and you only have an Android phone. Keep in mind that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found