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

Missing asset file in X86 arch #74

Closed
Tornaco opened this issue Jul 10, 2017 · 5 comments
Closed

Missing asset file in X86 arch #74

Tornaco opened this issue Jul 10, 2017 · 5 comments

Comments

@Tornaco
Copy link

Tornaco commented Jul 10, 2017

Install on X86 emulator, we can see logs below:

07-10 05:13:04.487 11844 11890 D Orbot : checking binary version: null
07-10 05:13:04.488 11844 11890 D Orbot : upgrading binaries to latest version: 0.3.0.7-openssl1.0.2k-1
07-10 05:13:04.501 11844 11890 E Orbot : error onBind
07-10 05:13:04.501 11844 11890 E Orbot : java.io.FileNotFoundException: x86/obfs4proxy.mp3
07-10 05:13:04.501 11844 11890 E Orbot : at android.content.res.AssetManager.openAsset(Native Method)
07-10 05:13:04.501 11844 11890 E Orbot : at android.content.res.AssetManager.open(AssetManager.java:347)
07-10 05:13:04.501 11844 11890 E Orbot : at android.content.res.AssetManager.open(AssetManager.java:321)
07-10 05:13:04.501 11844 11890 E Orbot : at org.torproject.android.service.util.TorResourceInstaller.installResources(TorResourceInstaller.java:89)
07-10 05:13:04.501 11844 11890 E Orbot : at org.torproject.android.service.TorService.torUpgradeAndConfig(TorService.java:633)
07-10 05:13:04.501 11844 11890 E Orbot : at org.torproject.android.service.TorService.access$800(TorService.java:82)
07-10 05:13:04.501 11844 11890 E Orbot : at org.torproject.android.service.TorService$2.run(TorService.java:589)
07-10 05:13:04.501 11844 11890 E Orbot : at java.lang.Thread.run(Thread.java:761)
07-10 05:13:04.501 11844 11890 D Orbot : error finding exiting process: java.io.FileNotFoundException: x86/obfs4proxy.mp3
07-10 05:13:05.374 11844 11844 D Orbot : handleIntents android.intent.action.MAIN

So, there are errors when files missing for x86 arch. Pls fix.

@Tornaco
Copy link
Author

Tornaco commented Jul 10, 2017

How to reproduce:

  1. Launch app.
  2. Click Start button.

@anupsv
Copy link

anupsv commented Sep 14, 2017

Same error here as well, when using with android studio emulator.

@goapunk
Copy link
Contributor

goapunk commented Nov 9, 2017

AFAIK the external dependencies (Tor, OpenSSL, Pluto, etc..) are only compiled for arm by default. If you want to run Orbot in the emulator you'd either have to build them for x86 (e.g. modify the Makefile) or use the slower arm image.

@n8fr8 n8fr8 added this to the Developer Issues milestone Apr 27, 2018
@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

There is a new beta release build to try:
https://github.com/n8fr8/orbot/releases/tag/16.0.2-BETA-3

the "armeabi-v7a" APK should work for most people, or just get the "universal" one if you aren't sure.

@n8fr8 n8fr8 closed this as completed May 14, 2018
@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

Of course for x86 devices, you should grab that APK!

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

4 participants