Hi, I am setting up an Android development environment. I've installed jdk (using the official java Slackbuild) and I am running Slackware64 14.1.
While creating my first project I noticed an error. The terminal output gives me this:
Code:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Error: Failed to run command:
/home/pedro/android-studio/sdk/build-tools/android-4.4W/aapt s -i /home/pedro/AndroidStudioProjects/SimMoto/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/20.0.0/res/drawable-xxhdpi/abc_menu_dropdown_panel_holo_light.9.png -o /home/pedro/AndroidStudioProjects/SimMoto/app/build/intermediates/res/debug/drawable-xxhdpi-v4/abc_menu_dropdown_panel_holo_light.9.png
Error Code:
127
Output:
/home/pedro/android-studio/sdk/build-tools/android-4.4W/aapt: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
I searched for "librt.so.1" and was reported as being part of glibc. Does that mean I need multilib? I've seen some people saying that, but they were just talking about android development in general, didn't see they mentioning Android Studio.
Another unrelated question: does anyone else here use it? Did you notice it being really sluggish?
EDIT: Same error while running adb
Code:
/home/pedro/android-studio/sdk/platform-tools/adb: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
12:31:29 E/adb: Failed to parse the output of 'adb version':
Standard Output was:
Error Output was:
/home/pedro/android-studio/sdk/platform-tools/adb: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory