Commit graph

46 commits

Author SHA1 Message Date
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
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