https://github.com/utzcoz/emulator-device-config-generator
Generate emulator device config for Android Studio
https://github.com/utzcoz/emulator-device-config-generator
android-studio emulator
Last synced: 2 months ago
JSON representation
Generate emulator device config for Android Studio
- Host: GitHub
- URL: https://github.com/utzcoz/emulator-device-config-generator
- Owner: utzcoz
- License: apache-2.0
- Created: 2020-04-23T06:38:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T05:48:31.000Z (over 3 years ago)
- Last Synced: 2025-03-20T04:33:13.468Z (over 1 year ago)
- Topics: android-studio, emulator
- Language: Kotlin
- Homepage:
- Size: 284 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emulator-device-config-generator
The project is a tool to generate emulator device config file for `Android Studio`.
When we develop the app with `Android Studio`, we will select the virtual emulator
or real emulator target to preview the page xml. In most occasion, the built-in
emulator target for virtual emulator and real emulator can satisfy the need. But when
we develop app for custom device, for example a self built device, we should create
emulator config based on current built-in emulator config. We should export one template,
and then modify the exported xml file. The project provides a ugly UI to modify the
value of emulator config file.
The `Android Studio` can also modify many values of emulator config, but it doesn't provide
entry to modify the element such as `screen-density`. The project will provide it, and
provide the supported value based on emulator config specification.
The project is not useful for normal app developer, but it will be useful for system app
developer for their company custom devices.
### Prerequisite
`OpenJDK 11` and `openjfx 11`
### Build
`./gradlew build`
### Run
`./gradlew run`
### Test
`./gradlew test`
### Usage
The following diagram show the `Android Studio` preview with the generated 2k device based
on automotive template:
