LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2017, 12:18 PM   #1
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Rep: Reputation: 25
Android Studio with Slackware64 current (14.2)


Hello, im have a problem with Android Studio and Slackware64 Current

I got this error when installing the SDK: unable to run mksdcard SDK tool

And this one trying to create a device: ERROR - vdmanager.AvdManagerConnection - Failed to create the SD card.

I have checked the sdk tools dir
Code:
ls Android/Sdk/tools/mksd* 
Android/Sdk/tools/mksdcard*
Trying to execute
Code:
Android/Sdk/tools/mksdcard 
bash: Android/Sdk/tools/mksdcard: File not found
Check libs
Code:
ldd Android/Sdk/tools/mksdcard 
        not a dynamic executable
android-studio-2.2.2.0_145_3360264-x86_64-1_SBo From Slackbuild
Slackware 64 current (14.2) with Multilib enabled.

Last edited by kmreiserfs; 01-12-2017 at 12:39 PM.
 
Old 01-12-2017, 12:26 PM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Seems your multilib is not well installed. What's the output of :
Code:
$ ls /var/log/packages/glibc*
$ ls /var/log/packages/gcc*
--
SeB
 
2 members found this post helpful.
Old 01-12-2017, 12:31 PM   #3
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 25
Looks you are right!

Thanks!!

ls /var/log/packages/glibc*
/var/log/packages/glibc-2.24-x86_64-2 /var/log/packages/glibc-profile-2.24-x86_64-2 /var/log/packages/glibc-zoneinfo-2016j-noarch-1
/var/log/packages/glibc-i18n-2.24-x86_64-2 /var/log/packages/glibc-solibs-2.24-x86_64-2


ls /var/log/packages/gcc*
/var/log/packages/gcc-5.4.0-x86_64-1 /var/log/packages/gcc-gfortran-5.4.0-x86_64-1 /var/log/packages/gcc-go-5.4.0-x86_64-1 /var/log/packages/gcc-objc-5.4.0-x86_64-1
/var/log/packages/gcc-g++-5.4.0-x86_64-1 /var/log/packages/gcc-gnat-5.4.0-x86_64-1 /var/log/packages/gcc-java-5.4.0-x86_64-1 /var/log/packages/gccmakedep-1.0.3-noarch-1


root@DSKINFEX-01:~# slackpkg search gcc

Looking for gcc in package list. Please wait... DONE

The list below shows all packages with name matching "gcc".

[ Status ] [ Repository ] [ Package ]
installed slackware64 gcc-5.4.0-x86_64-1
installed slackware64 gcc-g++-5.4.0-x86_64-1
installed slackware64 gcc-gfortran-5.4.0-x86_64-1
installed slackware64 gcc-gnat-5.4.0-x86_64-1
installed slackware64 gcc-go-5.4.0-x86_64-1
installed slackware64 gcc-java-5.4.0-x86_64-1
installed slackware64 gcc-objc-5.4.0-x86_64-1
installed slackware64 gccmakedep-1.0.3-noarch-1
uninstalled(masked) multilib gcc-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-g++-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-gfortran-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-gnat-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-go-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-java-5.4.0_multilib-x86_64-1alien
uninstalled(masked) multilib gcc-objc-5.4.0_multilib-x86_64-1alien
 
1 members found this post helpful.
Old 01-12-2017, 12:39 PM   #4
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 25
root@DSKINFEX-01:~# slackpkg upgrade multilib Solved the problem!!
 
Old 01-12-2017, 12:42 PM   #5
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

You're using slackpkg+. So, you need to give priority to the multilib repository through the variable PKGS_PRIORITY in /etc/slackpkg/slackpkgplus.conf as below :

Code:
PKGS_PRIORITY=( multilib )
--
SeB
 
3 members found this post helpful.
Old 01-12-2017, 12:44 PM   #6
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by kmreiserfs View Post
root@DSKINFEX-01:~# slackpkg upgrade multilib Solved the problem!!
Yes, but the next time you'll run slackpkg upgrade-all, the multilib packages will be superseded by their 64-bit only counterpart. So, to avoid that you must give priority to the multilib repository (see my previous post).

--
SeB
 
1 members found this post helpful.
Old 01-12-2017, 02:30 PM   #7
kmreiserfs
Member
 
Registered: Jan 2010
Location: Portugal
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by phenixia2003 View Post
Hello,



Yes, but the next time you'll run slackpkg upgrade-all, the multilib packages will be superseded by their 64-bit only counterpart. So, to avoid that you must give priority to the multilib repository (see my previous post).

--
SeB
i will do that, thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to set up Android Studio for creating Android Apps And Games Using Linux LXer Syndicated Linux News 0 06-23-2016 07:01 PM
[SOLVED] Anyone used android studio yet? ButterflyMelissa Programming 2 04-25-2016 02:37 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration