Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-30 Thread Neil Bothwick
On Wed, 30 Jan 2019 02:34:09 +0100, malloc1337 wrote:

> > If you only want adb and friends, rather than the full SDK, emerge
> > dev-util/android-tools instead.
> >   
> 
> I did not think of that, but the Gentoo Wiki on Android/ADB suggests
> that the full android-sdk-update-manager package is a prerequisite for
> dev-util/android-tools.
> 
> see: https://wiki.gentoo.org/wiki/Android/adb

It does read that way, but it is not so:

% qlist -ICv android
dev-util/android-tools-9.0.0_p3

No SDK installed here.


-- 
Neil Bothwick

Few women admit their age. Few men act theirs.


pgpY9LR9zeEnY.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread malloc1337
Thus spoke Neil Bothwick (n...@digimed.co.uk):
> 
> If you only want adb and friends, rather than the full SDK, emerge
> dev-util/android-tools instead.
> 

I did not think of that, but the Gentoo Wiki on Android/ADB suggests
that the full android-sdk-update-manager package is a prerequisite for
dev-util/android-tools.

see: https://wiki.gentoo.org/wiki/Android/adb


-- 
malloc1337

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Neil Bothwick
On Tue, 29 Jan 2019 13:31:38 +0100, m4110c wrote:

> I'm trying to install the Android Tools to use "adb" with my phone on
> gentoo.
> 
> When I try to install android-sdk-update-manager it fails on compiling
> its dependency dev-java/swt-3.7.2-r2.

If you only want adb and friends, rather than the full SDK, emerge
dev-util/android-tools instead.


-- 
Neil Bothwick

"We demand rigidly defined areas of doubt and uncertainty!"


pgpf8NpSL6IzB.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c


Thus spoke Andrew Udvare (audv...@gmail.com):
> 
> I'm not sure ADB is a Java app, but I think it's not, so you don't have to 
> switch just for ADB.
> 

No, only the Android SDK that contains the ADB Tools is a Java app. So I
guess it's only needed to install, not for ADB usage.

>
> The Android SDK binary distribution comes with its own copy of the JDK IIRC, 
> if you want to go with that.
> 

I did that, worked like a charm.

Thanks guys, see you around...

-- 
m4110c

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare



> On Jan 29, 2019, at 08:12, m4110c  wrote:
> 
> Thus spoke Andrew Udvare (audv...@gmail.com):
>> 
>> Choose another JDK with 'eselect java-vm set system ...'. You might need to 
>> install another like icedtea or Oracle's version.
>> 
> 
> I use Oracle JDK 1.8. I thought maybe I need a 32bit JDK, because it
> installed some dependencies with the abi_x86_32 use flag.
> 
> How would that work then. Do I have to switch (eselect) JDKs whenever I want 
> to
> use Android ADB stuff?

Without other configuration, any Gentoo setup can only have one JVM going (one 
for system and one for local user). So if you have apps that are incompatible 
between JVMs you will have to switch every time.

I'm not sure ADB is a Java app, but I think it's not, so you don't have to 
switch just for ADB.

The Android SDK binary distribution comes with its own copy of the JDK IIRC, if 
you want to go with that.



Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread m4110c
Thus spoke Andrew Udvare (audv...@gmail.com):
> 
> Choose another JDK with 'eselect java-vm set system ...'. You might need to 
> install another like icedtea or Oracle's version.
> 

I use Oracle JDK 1.8. I thought maybe I need a 32bit JDK, because it
installed some dependencies with the abi_x86_32 use flag.

How would that work then. Do I have to switch (eselect) JDKs whenever I want to
use Android ADB stuff?

-- 
m4110c

mailto: dis...@mm-no.de




Re: [gentoo-user] Android ADB emerge fails on amd64

2019-01-29 Thread Andrew Udvare



> On Jan 29, 2019, at 07:31, m4110c  wrote:
> 
> Hi all,
> 
> I'm trying to install the Android Tools to use "adb" with my phone on
> gentoo.
> 
> When I try to install android-sdk-update-manager it fails on compiling
> its dependency dev-java/swt-3.7.2-r2.
> 
> The output of "emerge --info '=dev-java/swt-3.7.2-r2::gentoo'":

Choose another JDK with 'eselect java-vm set system ...'. You might need to 
install another like icedtea or Oracle's version.