Android development just became a little trickier for those who develop on 32bit platforms with GNU/Linux OS.
Google's Android division decided to move everything to 64bit architecture, and drop platform-tools support for 32bit. Problems start once you update your platform-tools to version 23.1.0 and see that adb won't start, no matter how many times you try to restart it.
One of logged errors is "... /android-sdk-linux/platform-tools/adb: Syntax error: ")" unexpected".
In order to solve that you need to downgrade your platform-tools to version 23.0.1, zip available here on the official Google repository.
To downgrade, just delete the existing platform-tools folder from the SDK instalation folder and extract the platform-tools from the downloaded zip file. SDK folder path is defined in the SDK manager.
Restart the Android Studio and try to build and run your app.
More info on the switch to 64bit:
https://code.google.com/p/android/issues/detail?id=196866
https://www.reddit.com/r/Android/comments/408d9j/android_platform_tools_drop_support_for_32bit/
Linux minutiae - if need be
Posting or even reposting trivial GNU/Linux problem solutions for easier finding.
petak, 29. siječnja 2016.
utorak, 21. siječnja 2014.
Terminal loading ever slowly
Update 2023.: the following might be total nonsense now that I look at it so it might not help you in any way except for criminal offences but then again.......it won't! cheers!
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
What this does is empties .bash_history, so that bash has no trouble with reading it every time if it's a lengthy one. Enter it in a terminal of your choosing.
> "$HISTFILE"
To see the full explanation for yourselves, here is it: Askubuntu forum: Bash taking a lot of time to load
If you're not at all familiar with what this command means and would like to find out, read any of the linux bash tutorials first (there are many available online, contact me if you need help finding one).
Pretplati se na:
Postovi (Atom)