Commit Graph

14 Commits

Author SHA1 Message Date
Bastian Köcher
6d28393eb1 android-studio: Add desktop item 2018-08-31 12:05:24 +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
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
9726417975 androidStudioPackages.{dev,canary}: 3.2.0.8 -> 3.2.0.9 2018-04-09 22:55:49 +02: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
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
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
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
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