You are not logged in.
Pages: 1
Topic closed
I'm getting a odd error with eclipse/adb:
[2015-12-24 20:10:30 - adb] /opt/adsdk/sdk/platform-tools/adb: /opt/adsdk/sdk/platform-tools/adb: no se puede ejecutar el fichero binario
[2015-12-24 20:10:30 - adb] 'adb version' failed!
/opt/adsdk/sdk/platform-tools/adb: /opt/adsdk/sdk/platform-tools/adb: no se puede ejecutar el fichero binario
[2015-12-24 20:10:30 - adb] Failed to parse the output of 'adb version':
Standard Output was:
Error Output was:
/opt/adsdk/sdk/platform-tools/adb: /opt/adsdk/sdk/platform-tools/adb: no se puede ejecutar el fichero binarioadb runs well in command line from its folder, but not trying with the full path (as eclipse do)
[user@host platform-tools]$ pwd
/opt/adsdk/sdk/platform-tools
[user@host platform-tools]$ adb version
Android Debug Bridge version 1.0.32
[user@host platform-tools]$ /opt/adsdk/sdk/platform-tools/adb version
bash: /opt/adsdk/sdk/platform-tools/adb: cannot execute binary file: Formato de ejecutable incorrectoeclipse/adb was running ok a few days ago...before upgrade to Plasma 5
some ideas?
Thanks!
Last edited by HermesT (2015-12-31 19:15:15)
Offline
Hi Guys.
adb binary iltself is the problem, I think.
It seems a bug in the package... or maybe 32 bit support is deprecated?
I've removed completely android support, and reinstalled it from AUR in a fresh installation. No changes.
Last comment on https://aur.archlinux.org/packages/andr … orm-tools/
geo909 commented on 2015-12-22 01:10 (last edited on 2015-12-22 01:44 by geo909)
I'm having trouble getting adb to run. When I install this package and run adb I get: "bash: /opt/android-sdk/platform-tools/adb: cannot execute binary file: Exec format error"
If on the other hand I install eg android-tools, adb runs perfectly fine.
I am using a 32 bit maching. I think this package provided adb for 64 bit machines. Am I right? Is that expected or am I missing something?
Thank you
geo909 refers to the same problem that I've...
Nobody developing for android in a 32 bit distro has the same problem...?
Offline
Hi again.
There is two versions of adb, one from 'android-tools' in /usr/bin and one from 'android-sdk-platform-tools' AUR's package in /opt/... . Here the "with or without path" mistery...
The two versions of adb have very different size:
user@host android-sdk-platform-tools]$ ls -l /usr/bin/adb
-rwxr-xr-x 1 root root 175392 sep 27 13:00 /usr/bin/adb
[user@host android-sdk-platform-tools]$ ls -l /opt/android-sdk/platform-tools/adb
-rwxr-xr-x 1 root root 2152530 sep 18 00:01 /opt/android-sdk/platform-tools/I think that platform-tools AUR's package is good for both 32/64 bit machine, isn't it? I think it is something else going wrong...
Meanwhile, an overwrite of adb from /usr/bin to /opt/android-sdk/platformtools/ seems solve the problem. But it seems to me a very poor workaround...
can anybody whith both 'adb' installed print his output for 'ls -l'?
Thanks.
Thanks
Last edited by HermesT (2015-12-30 20:01:22)
Offline
Almost solved.
A great change... and a little oblivion
Platform-tools 23.1.0 Linux changed to 64-bit without notice.
....
Downgrade to 23.0.1 and stay, till will be impossible develop in 32 bits. ![]()
Many thanks.
Edit: Thanks moderator, link edited.
PS: I think this issue should be included into the android's archWiki...
Last edited by HermesT (2015-12-31 19:32:07)
Offline
Your link is 404 ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I'm still having this problem, even downgrading the platform-tools to 23.0.1
/opt/android-sdk//tools/emulator: /opt/android-sdk//tools/emulator: no se puede ejecutar el fichero binarioshould I downgrade the android-sdk too? I've installed the version 25.1.7-3
Offline
Closing.
Hi bmacf. This is an old thread that has been marked as solved. Please go ahead and start a new thread so that you may own it. Link back to this one if you feel it is relevant.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed