Commit Graph

278 Commits

Author SHA1 Message Date
Michael Weiss
7b169daf26
androidStudioPackages.{dev,canary}: 3.6.0.13 -> 4.0.0.1 2019-10-26 13:11:48 +02:00
Alexander Bakker
a7e87bcc5b android-studio: add new emulator dependencies (#70857)
Fix #70844.
2019-10-11 12:57:42 +02:00
Michael Weiss
c6f9a0ede3
androidStudioPackages.{dev,canary}: 3.6.0.12 -> 3.6.0.13
androidStudioPackages.beta: 3.5.1.0 -> 3.6.0.13
2019-10-11 12:45:34 +02:00
Michael Weiss
099c740aa5
android-studio: 3.5.0.21 -> 3.5.1.0 2019-10-04 12:28:57 +02:00
Michael Weiss
e5f3951f62
androidStudioPackages.{dev,canary}: 3.6.0.11 -> 3.6.0.12 2019-09-21 20:16:08 +02:00
Michael Weiss
991360fe10
androidStudioPackages.{dev,canary}: 3.6.0.10 -> 3.6.0.11 2019-09-11 22:40:55 +02:00
Frederik Rietdijk
66bc7fc1b3 Merge master into staging-next 2019-09-06 22:46:05 +02:00
Michael Weiss
861224ab5c
androidStudioPackages.{dev,canary}: 3.6.0.9 -> 3.6.0.10 2019-09-06 21:29:17 +02:00
Michael Weiss
ef2328331c
androidStudioPackages.*: Remove the "-wrapper" suffix from name
This causes problems when parsing the name attribute, e.g. for Repology
and parseDrvName. I've added "-unwrapped" to the derivation with the
downloaded content to keep it easier to differentiate between the two.
2019-09-06 21:29:17 +02:00
Frederik Rietdijk
ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Michael Weiss
9292bc58c6
androidStudioPackages.{dev,canary}: 3.6.0.8 -> 3.6.0.9 2019-08-30 18:19:14 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Michael Weiss
70f0d81861
androidStudioPackages.{dev,canary}: 3.6.0.7 -> 3.6.0.8 2019-08-27 23:30:41 +02:00
Michael Weiss
50cbcc21d2
androidStudioPackages.{dev,canary}: 3.6.0.6 -> 3.6.0.7 2019-08-24 17:00:12 +02:00
Michael Weiss
48aaa959e8
android-studio: 3.4.2.0 -> 3.5.0.21
androidStudioPackages.beta: 3.5.0.20 -> 3.5.0.21
2019-08-21 12:25:07 +02:00
Michael Weiss
7a66c79d8d
androidStudioPackages.{dev,canary}: 3.6.0.5 -> 3.6.0.6
Unfortunately this update will probably still cause the builds from
canary 3 to break and require manual steps to resolve these issues:
https://issuetracker.google.com/issues/136077720#comment9

I.e. manually update the Gradle plugin here (e.g. directly to alpha06):
dependencies {
   classpath 'com.android.tools:gradle:3.6.0-alpha03'
}

But as the current status is "Won't Fix (Infeasible)" [0] there's no
point in skipping the updates for the dev/canary channel.

[0]: https://issuetracker.google.com/issues/136077720#comment10
2019-08-17 15:09:09 +02:00
Michael Weiss
b58bfbd250
androidStudioPackages.{dev,canary}: 3.6.0.4 -> 3.6.0.5 2019-08-17 15:03:47 +02:00
Michael Weiss
7aa0222ee5
androidStudioPackages.{dev,canary}: 3.6.0.3 -> 3.6.0.4 2019-08-17 15:03:43 +02:00
Michael Weiss
8ade595b94
androidStudioPackages.beta: 3.5.0.19 -> 3.5.0.20 2019-08-10 12:31:05 +02:00
Michael Weiss
292b922ef2
androidStudioPackages.beta: 3.5.0.18 -> 3.5.0.19 2019-08-03 14:44:17 +02:00
Michael Weiss
d345900b98
androidStudioPackages.beta: 3.5.0.17 -> 3.5.0.18 2019-07-18 21:37:28 +02:00
Michael Weiss
f5702549bc
android-studio: 3.4.1.0 -> 3.4.2.0 2019-07-10 21:45:08 +02:00
Michael Weiss
1fba584898
androidStudioPackages.beta: 3.5.0.16 -> 3.5.0.17
I'll skip the Android Studio 3.6 Canary 4 update due to this problem:
https://issuetracker.google.com/issues/136077720#comment9
2019-06-27 21:54:31 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Weiss
a438c4ed56
androidStudioPackages.beta: 3.5.0.15 -> 3.5.0.16 2019-06-08 22:07:20 +02:00
Michael Weiss
a865feffa1
androidStudioPackages.{dev,canary}: 3.6.0.2 -> 3.6.0.3 2019-06-08 22:07:20 +02:00
Michael Weiss
6c7586228c
androidStudioPackages.{dev,canary}: 3.6.0.1 -> 3.6.0.2 2019-05-31 21:45:55 +02:00
Michael Weiss
769b7ee861
androidStudioPackages.beta: 3.5.0.14 -> 3.5.0.15 2019-05-29 00:36:42 +02:00
Michael Weiss
ef7d4d306f
Merge pull request #61839 from tadfisher/android-studio
androidStudioPackages: prefix PATH rather than replacing
2019-05-27 22:17:53 +02:00
Michael Weiss
d9153a6815
androidStudioPackages.{dev,canary}: 3.5.0.14 -> 3.6.0.1 2019-05-25 22:21:27 +02:00
Tad Fisher
29a300bff7 androidStudioPackages: prefix PATH rather than replacing 2019-05-21 14:10:01 -07:00
Michael Weiss
a43fb1def6
androidStudioPackages.{beta,dev,canary}: 3.5.0.13 -> 3.5.0.14 2019-05-20 21:13:02 +02:00
Michael Weiss
3e2d174d3b
android-studio: 3.4.0.18 -> 3.4.1.0 2019-05-16 20:46:13 +02:00
Michael Weiss
01361a1791
androidStudioPackages.{beta,dev,canary}: 3.5.0.12 -> 3.5.0.13
androidStudioPackages.beta: 3.4.0.18 -> 3.5.0.13
2019-05-09 20:36:41 +02:00
Michael Weiss
76843da1a1
androidStudioPackages.{dev,canary}: 3.5.0.11 -> 3.5.0.12 2019-04-25 21:34:25 +02:00
Michael Weiss
8bb785c3b1
androidStudioPackages.{dev,canary}: 3.5.0.10 -> 3.5.0.11 2019-04-18 20:35:37 +02:00
Michael Weiss
25205afb35
android-studio: 3.3.2.0 -> 3.4.0.18
androidStudioPackages.beta: 3.4.0.17 -> 3.4.0.18
2019-04-18 20:35:37 +02:00
Michael Weiss
0360256717
android-studio-preview: Remove the attribute (#59691)
This attribute and androidStudioPackages.preview are deprecated since
9aa46aedfe.
2019-04-16 10:51:44 +02:00
Michael Weiss
2c8a36ffb4
androidStudioPackages.{dev,canary}: 3.5.0.9 -> 3.5.0.10 2019-04-16 10:26:11 +02:00
Michael Weiss
0d076a4445
androidStudioPackages.{dev,canary}: 3.5.0.8 -> 3.5.0.9 2019-04-05 12:14:44 +02:00
Matthew Bauer
f0a6725bdc
Merge pull request #58848 from tadfisher/android-studio-unwrapped
android-studio: add "unwrapped" passthru attr
2019-04-03 11:52:24 -04:00
Tad Fisher
39badefbc0 android-studio: add "unwrapped" passthru attr 2019-04-02 13:52:23 -07:00
Michael Weiss
076d8ec67a
androidStudioPackages.beta: 3.4.0.16 -> 3.4.0.17 2019-04-02 12:40:44 +02:00
Michael Weiss
009719383c
androidStudioPackages.{dev,canary}: 3.5.0.7 -> 3.5.0.8 2019-03-28 22:03:09 +01:00
Michael Weiss
6fc7d8a15e
androidStudioPackages.{dev,canary}: 3.5.0.6 -> 3.5.0.7 2019-03-26 21:39:07 +01:00
Michael Weiss
02fb221307
androidStudioPackages.beta: 3.4.0.15 -> 3.4.0.16 2019-03-14 21:44:15 +01:00
Michael Weiss
6fa3dd2d5a
androidStudioPackages.{dev,canary}: 3.5.0.5 -> 3.5.0.6 2019-03-11 21:28:42 +01:00
Michael Weiss
e84cf5edad
androidStudioPackages.beta: 3.4.0.14 -> 3.4.0.15 2019-03-08 09:11:10 +01:00
Michael Weiss
6eb62cfc68
android-studio: 3.3.1.0 -> 3.3.2.0 2019-03-04 20:45:21 +01:00
Michael Weiss
aaf1645e17
androidStudioPackages.{dev,canary}: 3.5.0.4 -> 3.5.0.5 2019-02-26 22:46:44 +01:00
Michael Weiss
851c390182
androidStudioPackages.{dev,canary}: 3.5.0.3 -> 3.5.0.4 2019-02-22 23:08:00 +01:00
Michael Weiss
f5649304cb
androidStudioPackages.beta: 3.4.0.13 -> 3.4.0.14 2019-02-22 23:08:00 +01:00
Michael Weiss
fe16c54d1a
androidStudioPackages.{dev,canary}: 3.5.0.2 -> 3.5.0.3 2019-02-15 11:36:14 +01:00
Michael Weiss
cba377937c
androidStudioPackages.beta: 3.4.0.12 -> 3.4.0.13 2019-02-15 11:36:14 +01:00
Michael Weiss
b29ad6c2fc
android-studio: 3.3.0.20 -> 3.3.1.0 2019-02-08 19:33:31 +01:00
Michael Weiss
17e32da1f2
androidStudioPackages.{dev,canary}: 3.5.0.1 -> 3.5.0.2 2019-02-01 11:50:05 +01:00
Michael Weiss
631b106ee6
androidStudioPackages.beta: 3.4.0.11 -> 3.4.0.12 2019-02-01 11:50:05 +01:00
Michael Weiss
19a5fa9323
androidStudioPackages.{dev,canary}: 3.5.0.0 -> 3.5.0.1 2019-01-25 10:58:51 +01:00
Michael Weiss
2a096ce8b2
androidStudioPackages.beta: 3.4.0.10 -> 3.4.0.11 2019-01-25 10:58:51 +01:00
Michael Weiss
9aa46aedfe
android-studio-preview: Deprecate the attribute
This also covers "androidStudioPackages.preview".

I believe that the name is confusing (is it from the beta or dev/canary
channel?) and with this error message it should be obvious how to update
ones configuration.
2019-01-17 19:13:07 +01:00
Michael Weiss
f7a3a5ad94
androidStudioPackages.beta: Rename the binary according to the channel
The old name "android-studio-preview" was a bit misleading while
"android-studio-beta" should clearly reflect that this is from the beta
channel. I hope that this does not break any workflows but since
"android-studio-preview" was most likely not called from any scripts the
risk should be low (also: most people probably use the stable version
anyway).
2019-01-17 19:13:06 +01:00
Michael Weiss
a70c4178a8
androidStudioPackages.{dev,canary}: 3.4.0.10 -> 3.5.0.0 2019-01-16 13:09:36 +01:00
Michael Weiss
08596e508b
androidStudioPackages.beta: 3.3.0.20 -> 3.4.0.10
androidStudioPackages.{dev,canary}: 3.4.0.9 -> 3.4.0.10
2019-01-16 13:09:36 +01:00
Michael Weiss
0dc4a9bb50
android-studio: 3.2.1.0 -> 3.3.0.20
androidStudioPackages.beta: 3.3.0.19 -> 3.3.0.20
2019-01-14 20:42:04 +01:00
Michael Weiss
82e204382f
androidStudioPackages.{dev,canary}: 3.4.0.8 -> 3.4.0.9 2019-01-04 12:00:16 +01:00
Michael Weiss
542a7d4ca6 androidStudioPackages.beta: 3.3.0.18 -> 3.3.0.19 2018-12-20 20:58:11 +01:00
Michael Weiss
b07a703125 androidStudioPackages.{dev,canary}: 3.4.0.7 -> 3.4.0.8 2018-12-20 20:58:11 +01:00
Michael Weiss
81eed0f30a androidStudioPackages.{dev,canary}: 3.4.0.6 -> 3.4.0.7 2018-12-13 20:50:21 +01:00
Michael Weiss
577d73e486 androidStudioPackages.beta: 3.3.0.17 -> 3.3.0.18 2018-12-06 22:00:17 +01:00
Michael Weiss
3a905059a7 androidStudioPackages.{dev,canary}: 3.4.0.5 -> 3.4.0.6 2018-12-06 22:00:17 +01:00
Michael Weiss
79e15430b0 androidStudioPackages.{dev,canary}: 3.4.0.4 -> 3.4.0.5 2018-11-29 20:41:36 +01:00
Michael Weiss
1296566746 androidStudioPackages.beta: 3.3.0.16 -> 3.3.0.17 2018-11-27 19:57:33 +01:00
Michael Weiss
16f5462d84 androidStudioPackages.{dev,canary}: 3.4.0.3 -> 3.4.0.4 2018-11-27 19:57:33 +01:00
Michael Weiss
754aa035f6 androidStudioPackages.{dev,canary}: 3.4.0.2 -> 3.4.0.3 2018-11-16 11:45:16 +01:00
Michael Weiss
4822b084ae androidStudioPackages.beta: 3.3.0.15 -> 3.3.0.16 2018-11-14 12:16:29 +01:00
Michael Weiss
2be51107e3 androidStudioPackages.{dev,canary}: 3.4.0.1 -> 3.4.0.2 2018-11-07 21:22:37 +01:00
Michael Weiss
8e1a70de43 androidStudioPackages.beta: 3.3.0.14 -> 3.3.0.15 2018-11-07 21:22:37 +01:00
Michael Weiss
dc00987d95 androidStudioPackages.beta: 3.3.0.13 -> 3.3.0.14 2018-10-31 20:59:49 +01:00
Michael Weiss
c0f6a83cc8 androidStudioPackages.{dev,canary}: 3.4.0.0 -> 3.4.0.1 2018-10-29 20:04:12 +01:00
Michael Weiss
d3ede3db59 androidStudioPackages.{dev,canary}: 3.3.0.12 -> 3.4.0.0 2018-10-20 20:03:55 +02:00
Michael Weiss
ff93048c3b androidStudioPackages.beta: 3.2.1.0 -> 3.3.0.13 2018-10-20 20:03:09 +02:00
Michael Weiss
7e615310f7 android-studio: 3.2.0.26 -> 3.2.1.0
androidStudioPackages.beta: 3.2.0.26 -> 3.2.1.0
2018-10-13 15:04:57 +02:00
Michael Weiss
2c3fff00fc androidStudioPackages.{dev,canary}: 3.3.0.11 -> 3.3.0.12 2018-10-04 21:05:20 +02:00
Michael Weiss
699b2bde44 androidStudioPackages.{dev,canary}: 3.3.0.10 -> 3.3.0.11 2018-09-27 17:54:50 +02:00
Michael Weiss
16f55b2bf8 android-studio: 3.1.4.0 -> 3.2.0.26
androidStudioPackages.beta: 3.2.0.25 -> 3.2.0.26
2018-09-27 17:54:44 +02:00
Michael Weiss
1357f6492c androidStudioPackages.{dev,canary}: 3.3.0.9 -> 3.3.0.10 2018-09-22 15:27:42 +02:00
Michael Weiss
0fe81b0d54 androidStudioPackages.{dev,canary}: 3.3.0.7 -> 3.3.0.9 2018-09-12 20:38:27 +02:00
Michael Weiss
fe1d9edfa7 androidStudioPackages.beta: 3.2.0.24 -> 3.2.0.25 2018-09-10 19:59:55 +02:00
Michael Weiss
85e46d12b3 android-studio: Refactor the code & minor improvements 2018-09-02 18:45:40 +02:00
Michael Weiss
044c16a978
Merge pull request #45853 from bkchr/android_studio_desktop
android-studio: Add desktop item
2018-09-02 16:27:46 +02:00
Bastian Köcher
6d28393eb1 android-studio: Add desktop item 2018-08-31 12:05:24 +02:00
Michael Weiss
364c5047bc androidStudioPackages.{dev,canary}: 3.3.0.6 -> 3.3.0.7 2018-08-29 19:53:59 +02:00
Michael Weiss
f0f94aaad0 androidStudioPackages.beta: 3.2.0.23 -> 3.2.0.24 2018-08-25 15:38:06 +02:00
Michael Weiss
27bdee9847 androidStudioPackages.beta: 3.2.0.22 -> 3.2.0.23 2018-08-24 15:48:52 +02:00
Michael Weiss
7fd5afebfe androidStudioPackages.{dev,canary}: 3.3.0.5 -> 3.3.0.6 2018-08-24 15:48:52 +02:00
Michael Weiss
6bc625ada9 androidStudioPackages.{dev,canary}: 3.3.0.4 -> 3.3.0.5 2018-08-18 14:18:06 +02:00
Michael Weiss
57a429d0dc androidStudioPackages.{dev,canary}: 3.3.0.3 -> 3.3.0.4 2018-08-07 20:02:16 +02:00
Michael Weiss
bd012413e4 android-studio: 3.1.3.0 -> 3.1.4.0 2018-08-07 11:07:18 +02:00
Michael Weiss
6cf519df6e androidStudioPackages.{dev,canary}: 3.3.0.2 -> 3.3.0.3 2018-08-03 13:31:00 +02:00
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