Commit graph

279 commits

Author SHA1 Message Date
Vladimír Čunát 86b5b1e174
Revert "android-studio-preview: Print a deprecation warning"
This reverts commit 88bfbf6c7d.
It broke the tarball job.  Discussion:
https://github.com/NixOS/nixpkgs/pull/44310#issuecomment-409690460
2018-08-02 16:32:55 +02:00
Michael Weiss 88bfbf6c7d android-studio-preview: Print a deprecation warning
Hope this is ok... :)
2018-08-01 19:47:36 +02:00
Michael Weiss d8b44edd8f androidStudioPackages: Use more intuitive names for the derivations 2018-08-01 19:47:36 +02:00
Michael Weiss 31583d7cb6 androidStudioPackages: Refactor the code 2018-08-01 19:47:36 +02:00
Michael Weiss d817ccbf83 androidStudioPackages.beta: 3.2.0.21 -> 3.2.0.22 2018-07-31 21:29:31 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Michael Weiss bf23666022 androidStudioPackages.beta: 3.2.0.20 -> 3.2.0.21 2018-07-17 20:06:20 +02:00
Michael Weiss 33719a9108 androidStudioPackages.{dev,canary}: 3.3.0.1 -> 3.3.0.2 2018-07-13 16:09:04 +02:00
Michael Weiss 67a4ac8f90 androidStudioPackages.beta: 3.2.0.19 -> 3.2.0.20 2018-07-13 16:04:13 +02:00
Michael Weiss d12e7b8d17 androidStudioPackages.{dev,canary}: 3.3.0.0 -> 3.3.0.1 2018-07-03 21:28:15 +02:00
Tim Engler e1eb55deae android-studio: added libGL as a dependency
Without it, when starting an android emulator in some cases results in the
cryptic, "KVM is required to run this AVD. Unknown Error"

Fixes #41703
2018-06-30 15:16:10 +08:00
Michael Weiss b00d53fcfe androidStudioPackages.{dev,canary}: 3.2.0.18 -> 3.3.0.0 2018-06-29 13:54:10 +02:00
Michael Weiss 474fd13606 androidStudioPackages.beta: 3.2.0.18 -> 3.2.0.19 2018-06-29 13:54:01 +02:00
Michael Weiss f0520361a1 androidStudioPackages.{beta,dev,canary}: 3.2.0.17 -> 3.2.0.18 2018-06-22 20:58:10 +02:00
Michael Weiss fb5e8a87a0 androidStudioPackages.{dev,canary}: 3.2.0.16 -> 3.2.0.17 2018-06-12 15:55:58 +02:00
Michael Weiss 7fd9a40dde androidStudioPackages.{dev,canary}: 3.2.0.15 -> 3.2.0.16 2018-06-08 13:21:32 +02:00
Michael Weiss 179590a314 android-studio: 3.1.2.0 -> 3.1.3.0 2018-06-08 13:21:23 +02:00
Michael Weiss 5e445b94f8 androidStudioPackages.{dev,canary}: 3.2.0.14 -> 3.2.0.15 2018-05-31 15:33:27 +02:00
Michael Weiss 31712afa7b androidStudioPackages.{dev,canary}: 3.2.0.13 -> 3.2.0.14 2018-05-18 14:26:09 +02:00
Michael Weiss 7fb1a79b8f androidStudioPackages.{dev,canary}: 3.2.0.12 -> 3.2.0.13 2018-05-09 22:39:16 +02:00
Michael Weiss b8f9b2e552 androidStudioPackages.{dev,canary}: 3.2.0.11 -> 3.2.0.12 2018-05-01 11:44:52 +02:00
Michael Weiss 42a9ba28d1 androidStudioPackages.{dev,canary}: 3.2.0.10 -> 3.2.0.11 2018-04-23 20:24:51 +02:00
Michael Weiss 84ace02e87 android-studio: 3.1.1.0 -> 3.1.2.0 2018-04-23 20:24:51 +02:00
Michael Weiss 085e894de5 androidStudioPackages.{dev,canary}: 3.2.0.9 -> 3.2.0.10 2018-04-17 18:03:16 +02:00
Michael Weiss 9e73f92769 android-studio,android-studio-preview: 3.1.0.16 -> 3.1.1.0 2018-04-12 00:11:49 +02:00
Michael Weiss 9726417975 androidStudioPackages.{dev,canary}: 3.2.0.8 -> 3.2.0.9 2018-04-09 22:55:49 +02:00
Michael Weiss 38d0e1ddf5 androidStudioPackages.{dev,canary}: 3.2.0.7 -> 3.2.0.8 2018-04-03 14:45:40 +02:00
Michael Weiss 4e645a2781 android-studio: 3.0.1.0 -> 3.1.0.16 2018-03-29 05:02:37 +02:00
Michael Weiss aacd7d6d58 androidStudioPackages.{dev,canary}: 3.2.0.6 -> 3.2.0.7 2018-03-27 17:02:40 +02:00
Michael Weiss 629d121980 androidStudioPackages.{dev,canary}: 3.2.0.5 -> 3.2.0.6 2018-03-21 13:09:09 +01:00
Michael Weiss 07361daf04 androidStudioPackages.beta: 3.1.0.14 -> 3.1.0.15 2018-03-21 13:09:09 +01:00
Matthew Justin Bauer 5675f17b0e
Merge pull request #35590 from TomSmeets/android-studio-ndk-fix
android-studio: Depend on ncurses5
2018-03-19 15:31:39 -05:00
Nikolay Amiantov d7470c1f1e android-studio: fix GTK LaF
Closes #36887.
2018-03-13 16:13:18 +03:00
Michael Weiss 74d922638b androidStudioPackages.{dev,canary}: init at 3.2.0.5
Switch the naming scheme to the channel names.
2018-03-13 02:29:01 +01:00
Michael Weiss 310a665b98 androidStudioPackages.beta: 3.1.0.12 -> 3.1.0.14 2018-03-13 02:29:01 +01:00
Tom Smeets 92e74ec236 android-studio: Depend on ncurses5
The android ndk fails to compile the test program because it could not
find the `ncurses.so.5` library.

Also, `ncurses5` is a dependency according to https://developer.android.com/studio/troubleshoot.html#linux_libraries
2018-02-26 00:03:37 +01:00
Michael Weiss 49b7fc3908 android-studio-preview: 3.1.0.11 -> 3.1.0.12 2018-02-23 21:57:09 +01:00
Michael Weiss ce83cd7ca3 android-studio-preview: 3.1.0.10 -> 3.1.0.11 2018-02-16 13:28:51 +01:00
Michael Weiss b85f2eb367 android-studio-preview: 3.1.0.9 -> 3.1.0.10 2018-02-10 21:31:48 +01:00
Michael Weiss f55fffc1cf android-studio-preview: 3.1.0.8 -> 3.1.0.9 2018-02-01 10:32:44 +01:00
Michael Weiss 0f5f904cdd android-studio-preview: 3.1.0.7 -> 3.1.0.8 2018-01-25 23:59:14 +01:00
Franz Pletz 13b4f440fc
Merge pull request #33634 from Ma27/android-studio/support-virtual-devices
android-studio: set `ANDROID_EMULATOR_USE_SYSTEM_LIBS`
2018-01-16 17:23:14 +00:00
Maximilian Bosch 17dcd33e00
android-studio: set ANDROID_EMULATOR_USE_SYSTEM_LIBS
This change sets an environment variable to ensure that Android Studio
uses the correct drivers to avoid any breackage when trying to run a
native application on a virtual device.

Without proper configuration `android-studio` would be unable to load
the drivers for the AVD and yield messages like this:

```
3:32 PM	Executing tasks: [:app:assembleDebug]

3:32 PM	Emulator: libGL error: unable to load driver: i965_dri.so

3:32 PM	Emulator: libGL error: driver pointer missing

3:32 PM	Emulator: libGL error: failed to load driver: i965

3:32 PM	Emulator: libGL error: unable to load driver: i965_dri.so

3:32 PM	Emulator: libGL error: driver pointer missing

3:32 PM	Emulator: libGL error: failed to load driver: i965

3:32 PM	Emulator: libGL error: unable to load driver: swrast_dri.so

3:32 PM	Emulator: libGL error: failed to load driver: swrast

3:32 PM	Emulator: X Error of failed request:  BadValue (integer parameter out of range for operation)

3:32 PM	Emulator: Major opcode of failed request:  155 (GLX)

3:32 PM	Emulator: Minor opcode of failed request:  24 (X_GLXCreateNewContext)

3:32 PM	Emulator: Value in failed request:  0x0

3:32 PM	Emulator: Serial number of failed request:  64

3:32 PM	Emulator: Current serial number in output stream:  65

3:32 PM	Emulator: emulator: ERROR: Missing initial data partition file: /home/ma27/.android/avd/Nexus_5X_API_27.avd/userdata.img

3:32 PM	Emulator: Process finished with exit code 1

3:32 PM	Gradle build finished with 2 warnings(s) in 6s 378ms
```

For further reference have a look at the following StackOverflow
message: https://stackoverflow.com/a/40790339
2018-01-14 18:33:52 +01:00
Michael Weiss 403ee9691a android-studio-preview: 3.1.0.6 -> 3.1.0.7 2018-01-12 23:35:04 +01:00
Michael Weiss 4c6b5f68b3 android-studio-preview: 3.1.0.5 -> 3.1.0.6 2018-01-06 19:13:34 +01:00
Michael Weiss e6c3dcfcf7 android-studio: 3.0.0.18 -> 3.0.1.0 2017-12-22 13:55:25 +01:00
Michael Weiss 3ebca3b98a android-studio-preview: 3.1.0.4 -> 3.1.0.5 2017-12-20 19:52:41 +01:00
Michael Weiss 9d45624007 android-studio-preview: 3.1.0.3 -> 3.1.0.4 2017-12-06 19:47:29 +01:00
Michael Weiss 5147d8bbee android-studio-preview: 3.1.0.2 -> 3.1.0.3 2017-11-19 13:03:04 +01:00
Michael Weiss 83c2838fed android-studio-preview: 3.1.0.0 -> 3.1.0.2 2017-11-11 14:00:04 +01:00
Michael Weiss e4d0173d1f android-studio-preview: 3.0.0.17 -> 3.1.0.0 2017-10-27 11:05:17 +02:00
Michael Weiss c70773b35b android-studio: 2.3.3.0 -> 3.0.0.18 2017-10-27 11:05:10 +02:00
Michael Weiss acd80042a4 android-studio-preview: 3.0.0.16 -> 3.0.0.17 2017-10-19 22:50:38 +02:00
Michael Weiss 527f6e9c47 android-studio-preview: 3.0.0.15 -> 3.0.0.16 2017-10-14 18:57:13 +02:00
Michael Weiss cd0655c181 android-studio-preview: 3.0.0.14 -> 3.0.0.15 2017-10-04 14:15:31 +02:00
Michael Weiss b37de8b67b android-studio-preview: 3.0.0.13 -> 3.0.0.14 2017-09-16 13:12:24 +02:00
Michael Weiss 40e5382109 android-studio-preview: 3.0.0.12 -> 3.0.0.13 2017-09-09 12:22:33 +02:00
Michael Weiss 8693cc5425 android-studio-preview: 3.0.0.10 -> 3.0.0.12 2017-09-02 17:09:20 +02:00
Michael Weiss 1799e14647 Revert "android-studio-preview: 3.0.0.10 -> 3.0.0.11"
This reverts the upgrade to Android Studio 3.0 Beta 3 from commit
22ae3aa5b6 due to an upstream decision.

From the release updates: "Due to an issues with the Android Plugin for
Gradle in Beta 3 (64527520), we've pulled it down and recommend that you
not accept the update. If you already did, you can go back to Beta 2 by
downloading here." [0]

[0]: https://androidstudio.googleblog.com/2017/08/android-studio-30-beta-3-is-now.html
2017-08-26 01:52:11 +02:00
Michael Weiss 22ae3aa5b6 android-studio-preview: 3.0.0.10 -> 3.0.0.11 2017-08-25 02:40:57 +02:00
Michael Weiss 7f139a2a6b android-studio-preview: 3.0.0.9 -> 3.0.0.10 2017-08-11 23:41:03 +02:00
Michael Weiss 6225f1bf66 android-studio-preview: 3.0.0.8 -> 3.0.0.9
"Android Studio 3.0 Canary 9" -> "Android Studio 3.0 Beta 1"
2017-08-09 21:32:43 +02:00
Michael Weiss 87b215d5f7 android-studio-preview: 3.0.0.7 -> 3.0.0.8
This also contains some refactoring.
2017-08-02 02:12:11 +02:00
Michael Weiss ace11d11b2 android-studio: Fix the meta attributes 2017-07-30 20:40:04 +02:00
Michael Weiss 40a568b395 android-studio-preview: 3.0.0.6 -> 3.0.0.7 2017-07-26 18:56:28 +02:00
Tom Smeets becf96b2ca android-studio-preview: 3.0.0.5 -> 3.0.0.6 2017-07-19 18:26:19 +02:00
Tom Smeets 9ab69a3416 android-studio-preview: init at 3.0.0.5 canary 6
Added the `androidStudioPackages` attribute containing both
the `stable` and `preview` channels.
Changed the attribute `andorid-studio` to point to
  `androidStudioPackages.stable`
Added the attribute `andorid-studio-preview` pointing to
  `androidStudioPackages.preview`

I have tested this package using the new koltin support,
no issues found yet.
2017-07-13 11:38:05 +02:00
Michael Weiss b615c2e992 android-studio: 2.3.2.0 -> 2.3.3.0 2017-06-09 18:46:54 +02:00
Michael Weiss 0d0ab51a06 android-studio: 2.3.1.0 -> 2.3.2.0 2017-05-21 16:36:19 +02:00
Julien Langlois 2188a8b132 android-studio: 2.2.3.0 -> 2.3.1.0 2017-04-30 19:15:00 -07:00
Hoang Xuan Phu 4b3f79b3ca android-studio: use a dedicated fontconfig file 2017-01-10 13:36:02 +08:00
Hoang Xuan Phu d849f00af5 android-studio: reindent wrapProgram parameters 2017-01-10 13:35:37 +08:00
Hoang Xuan Phu 1f67c179ac android-studio: rearrange dependencies 2017-01-10 13:35:37 +08:00
Hoang Xuan Phu 4e513cbc9f android-studio: no need for jdk anymore
Android Studio now bundles its own JDK ¯\_(ツ)_/¯
2017-01-10 13:35:36 +08:00
taku0 bd55e9db63 android-studio: 2.1.3 -> 2.2.3 2016-12-15 10:41:18 +01:00
Bjørn Forsman 3e5fe418f8 android-studio: enable Android emulator support
These changes are needed to be able to run the system emulator (QEMU)
from Android Studio. In addition to the added dependencies,
$LD_LIBRARY_PATH had to be changed from --set to --prefix, so that libGL
is found (on NixOS).
2016-09-12 10:55:07 +02:00
Edward Tjörnhammar e917e47045
android-studio: 2.1.2.0 -> 2.1.3.0 2016-09-11 20:38:20 +02:00
Edward Tjörnhammar e051ac665c
android-studio: add 32bit zlib for api 22 2016-09-07 06:47:40 +02:00
Hoang Xuan Phu f822b93e05 android-studio: repackage in an FHS environment
This commit fixes 2 main problems:

  - Android Studio comes with its own package manager. The current
    packaging approach doesn't allow such management. As a result the
    package is unusable (see
    https://github.com/NixOS/nixpkgs/issues/8650 and
    https://github.com/NixOS/nixpkgs/issues/14903). In this version,
    $ANDROID_HOME is _not_ set, allowing Android Studio to deal with the
    Android SDK as it pleases (typically in $HOME/Android/Sdk).

  - Android Studio downloads prebuilt binaries as part of the SDK. These
    tools (e.g. `mksdcard`) have `/lib/ld-linux.so.2` set as the
    interpreter. An FHS environment is used as a work around for that.
2016-08-10 20:42:16 +08:00