Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install *.apk apps? #8

Open
vmorenomarin opened this issue Mar 3, 2016 · 8 comments
Open

How to install *.apk apps? #8

vmorenomarin opened this issue Mar 3, 2016 · 8 comments

Comments

@vmorenomarin
Copy link

When I try to install an *.apk app through the command
shashlik-install any-app.apk

the console displays this message:
"This package does not contain x86 native code, and can't run. Please find another APK built for x86".

Is there something wrong trying run apps with apk extension?

Yes, I know that this apps arr for ARM architecture, but if I understand the project, the goal is run Android apks in my pc.

Thanks by the attention.

@davidedmundson
Copy link
Collaborator

When a developer makes an app they compile it for multiple platforms, arm32, arm64, or x86.
Most those Acer tablet things are x86.

Sometimes when you get an apk it will contain multiple architectures.
Sometimes it will only contain one and another apk will contain a different architecture
Sometimes the developer was lazy and no build for x86 exists.

We only run x86 apks. I don't really intend to change that.

@davidedmundson
Copy link
Collaborator

I made a mod of an app called googleplaydownloader to explicitly search and get x86 APKs which is what I use for testing

http://static.davidedmundson.co.uk/shashlik/googleplaydownloader_1.8-1_all.deb

the code is on github under my /davidedmundson somewhere.

@davidedmundson
Copy link
Collaborator

Also if you want to see what architectures an apk has run:

/opt/shashlik/bin/aapt dump badging ~/apks/com.spotify.music.apk

and look at the line native-code

@ghost
Copy link

ghost commented Mar 19, 2016

For those who are interested in using David's apk downloader, the command to start the package is: googleplaydownloader (then pin it for launcher).

Go into settings > configure and change your gmail account, password and generate a new android ID. You must install Java before it will successfully download the apk files. To install Java go here: http://tipsonubuntu.com/2015/03/21/install-oracle-java-9-in-ubuntu/

If you get this message, you need to install Java:

A few packages could not be downloaded :
com.overlook.android.fing
list index out of range.

@aplocher
Copy link

the code is on github under my /davidedmundson somewhere.

Where? not seeing it anywhere under https://github.com/davidedmundson?tab=repositories

@ghost
Copy link

ghost commented Oct 21, 2016

@aplocher I've looked for it also in the past. I tried the .apk downloader recently on ubuntu 16.04/10 and it seems like it no longer functions correctly. I'm not one to put my own Google ID in any 3rd party software.

@ch3ck
Copy link

ch3ck commented Jan 24, 2017

I am facing the same issue. I can't run an app since it's not "built for x86" architectures as they say.

@azerafati
Copy link

is there any converter or any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants