unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Android development in Guix
@ 2021-03-05 18:51 Ekaitz Zarraga
  2021-03-05 18:55 ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: Ekaitz Zarraga @ 2021-03-05 18:51 UTC (permalink / raw)
  To: help-guix\@gnu.org

Hi,

I'm trying to setup some Android development tooling in my Guix machine and I wonder if someone has done it before.

I tried, even if I don't like it, to run android studio using OpenJDK and Icedtea and I'm getting this error:

```
JDK Required: Cannot load a JDK class: com.sun.jdi.Field
Please ensure you run the IDE on JDK rather than JRE.
```

This is the perfect excuse to use something else that fits better with our philosophy but I'm not sure about what to do.

Does anyone have a solution to the error or an alternative that is more acceptable?

I'm open to any suggestion you have to make Android development: programming languages, tooling... I don't really have any precondition. I'm just looking for the most free-software friendly way to make simple and reasonable Android development that fits Guix.

Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android development in Guix
  2021-03-05 18:51 Android development in Guix Ekaitz Zarraga
@ 2021-03-05 18:55 ` Julien Lepiller
  2021-03-05 18:58   ` Ekaitz Zarraga
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Julien Lepiller @ 2021-03-05 18:55 UTC (permalink / raw)
  To: Ekaitz Zarraga, help-guix\@gnu.org

Maybe try this: https://lepiller.eu/en/running-android-studio-on-guix.html

HTH :)

Le 5 mars 2021 13:51:21 GMT-05:00, Ekaitz Zarraga <ekaitz@elenq.tech> a écrit :
>Hi,
>
>I'm trying to setup some Android development tooling in my Guix machine
>and I wonder if someone has done it before.
>
>I tried, even if I don't like it, to run android studio using OpenJDK
>and Icedtea and I'm getting this error:
>
>```
>JDK Required: Cannot load a JDK class: com.sun.jdi.Field
>Please ensure you run the IDE on JDK rather than JRE.
>```
>
>This is the perfect excuse to use something else that fits better with
>our philosophy but I'm not sure about what to do.
>
>Does anyone have a solution to the error or an alternative that is more
>acceptable?
>
>I'm open to any suggestion you have to make Android development:
>programming languages, tooling... I don't really have any precondition.
>I'm just looking for the most free-software friendly way to make simple
>and reasonable Android development that fits Guix.
>
>Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android development in Guix
  2021-03-05 18:55 ` Julien Lepiller
@ 2021-03-05 18:58   ` Ekaitz Zarraga
  2021-03-05 20:17   ` Andreas Enge
  2021-03-05 20:23   ` Jérémy Korwin-Zmijowski
  2 siblings, 0 replies; 5+ messages in thread
From: Ekaitz Zarraga @ 2021-03-05 18:58 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix\\@gnu.org

> This is terrible, but it is the only way I found to run it somewhat properly. Running it in an environment also isolates it from the system and prevents it from doing any damage to my home directory or my personal data. I hope this is useful to you!

LOL!

> HTH :)

It totally does.

Thanks a lot :)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android development in Guix
  2021-03-05 18:55 ` Julien Lepiller
  2021-03-05 18:58   ` Ekaitz Zarraga
@ 2021-03-05 20:17   ` Andreas Enge
  2021-03-05 20:23   ` Jérémy Korwin-Zmijowski
  2 siblings, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2021-03-05 20:17 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix\@gnu.org

Am Fri, Mar 05, 2021 at 01:55:38PM -0500 schrieb Julien Lepiller:
> Maybe try this: https://lepiller.eu/en/running-android-studio-on-guix.html

This is amazing, if I had known it last week it would have saved me the
time to debootstrap Debian on Guix... I will give it a try.

Personally I am developing an Android app on Debian this way:
   http://pari.math.u-bordeaux.fr/paridroid/index.html
In an extremely old-fashioned way with Ant and the command line, but
nevertheless this allows me to publish it on Fdroid. Interestingly, by
using an old SDK and downloading everything with wget, there is no need
to accept any license, unlike for downloads from inside Android Studio.
And by using an oldish NDK, my C libraries are compiled with gcc instead
of clang.

The reason I am working on Debian is that I was too lazy to think about
the patchelf business; supposedly, your container approach would also
solve this problem.

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Android development in Guix
  2021-03-05 18:55 ` Julien Lepiller
  2021-03-05 18:58   ` Ekaitz Zarraga
  2021-03-05 20:17   ` Andreas Enge
@ 2021-03-05 20:23   ` Jérémy Korwin-Zmijowski
  2 siblings, 0 replies; 5+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2021-03-05 20:23 UTC (permalink / raw)
  To: help-guix, Julien Lepiller, Ekaitz Zarraga, help-guix\@gnu.org

Wow cool ! 

Le 5 mars 2021 19:55:38 GMT+01:00, Julien Lepiller <julien@lepiller.eu> a écrit :
>Maybe try this: https://lepiller.eu/en/running-android-studio-on-guix.html
>
>HTH :)
>
>Le 5 mars 2021 13:51:21 GMT-05:00, Ekaitz Zarraga <ekaitz@elenq.tech> a écrit :
>>Hi,
>>
>>I'm trying to setup some Android development tooling in my Guix machine
>>and I wonder if someone has done it before.
>>
>>I tried, even if I don't like it, to run android studio using OpenJDK
>>and Icedtea and I'm getting this error:
>>
>>```
>>JDK Required: Cannot load a JDK class: com.sun.jdi.Field
>>Please ensure you run the IDE on JDK rather than JRE.
>>```
>>
>>This is the perfect excuse to use something else that fits better with
>>our philosophy but I'm not sure about what to do.
>>
>>Does anyone have a solution to the error or an alternative that is more
>>acceptable?
>>
>>I'm open to any suggestion you have to make Android development:
>>programming languages, tooling... I don't really have any precondition.
>>I'm just looking for the most free-software friendly way to make simple
>>and reasonable Android development that fits Guix.
>>
>>Thanks!

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-05 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 18:51 Android development in Guix Ekaitz Zarraga
2021-03-05 18:55 ` Julien Lepiller
2021-03-05 18:58   ` Ekaitz Zarraga
2021-03-05 20:17   ` Andreas Enge
2021-03-05 20:23   ` Jérémy Korwin-Zmijowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).