Skip to content

Commit 764ecc0

Browse files
Merge pull request #2 from GabrielRegato/upload-readme
Upload readme
2 parents 71badf7 + 4055244 commit 764ecc0

1 file changed

Lines changed: 129 additions & 0 deletions

File tree

Readme.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# Android Studio Hardware Profiles Ready2Go
2+
3+
## Description
4+
5+
This project provides a collection of XML files containing various hardware profiles for Android Studio. The profiles can be easily imported into Android Studio, allowing developers to quickly set up different virtual device configurations for testing and development.
6+
7+
## Getting Started
8+
9+
### Prerequisites
10+
11+
- Android Studio Previous Installed
12+
- Node.js (version 12.x.x or higher)
13+
- npm (version 6.0.0 or higher)
14+
15+
### Installation
16+
17+
1. Clone the repository:
18+
19+
```bash
20+
git clone https://github.com/GabrielRegato/androidS_hardwareP.git
21+
```
22+
23+
2. Navigate to the project directory:
24+
25+
```bash
26+
cd androidS_hardwareP
27+
```
28+
29+
3. Run the provided Node.js script to set up the skins folder in the correct path.
30+
31+
```bash
32+
node UpdateSkinPaths.js
33+
```
34+
35+
4. Import the XML files into Android Studio to begin using the hardware profiles. Below is a step-by-step guide to help you through the process.
36+
37+
### Importing Hardware Profiles into Android Studio
38+
39+
To import the hardware profiles into Android Studio, follow these steps:
40+
41+
1. **Open Android Studio**:
42+
43+
- Launch Android Studio on your machine.
44+
45+
2. **Access the AVD Manager**:
46+
47+
- Click on the "Tools" menu in the top navigation bar.
48+
- Select "AVD Manager" from the dropdown menu. This will open the Android Virtual Device Manager.
49+
50+
3. **Import the XML Files**:
51+
52+
- To import your custom hardware profile, navigate to the **"Select Hardware"** section in Android Studio.
53+
- Click the **"Import Hardware Profile"** button located next to **"New Hardware Profile."** Then, browse to the location where you cloned the repository and locate the **androidS_hardwareP** folder, which contains the XML files you need to import.
54+
- Select the desired XML file(s) and click "Open" to complete the import process.
55+
56+
4. **Selecting a Virtual Device from Imported Hardware Profiles**:
57+
58+
- In the AVD Manager, after importing the XML files, you will see a list of new devices.
59+
- Choose a device category (e.g., Phone, Tablet, etc.) and select a device model from the list of devices you imported in the previous step.
60+
- Click "Next" to proceed.
61+
62+
5. **Select a System Image**:
63+
64+
- Choose a system image for the virtual device. You can select from the available options or download a new one if needed.
65+
- Click "Next".
66+
67+
6. **Configure the Hardware Profile**:
68+
69+
- In the **"Verify Configuration"** screen:
70+
71+
- Enter the AVD name for the device.
72+
73+
- The imported device profile is already set up correctly, so customization is not necessary.
74+
75+
- If you wish to adjust settings, click on **"Show Advanced Settings"** to modify options such as RAM, VM heap, and more.
76+
77+
- Click "Finish" to create the virtual device.
78+
79+
7.- **Launch the Virtual Device**:
80+
81+
- Back in the AVD Manager, you should see your newly created virtual device listed.
82+
- Click the "Play" button (green triangle) next to the device to launch it.
83+
- Now you can start using the imported hardware profile in your Android development projects!
84+
85+
## Features
86+
87+
- **Dynamic Hardware Profiles**: A variety of pre-configured hardware profiles in XML format for different device specifications.
88+
89+
- **Easy Import**: Simply import the XML files into Android Studio to load the hardware profiles automatically.
90+
91+
- **Custom Node Script**: A Node.js script is included to change the path of the skins and copy the skins folder to the correct location in your Android SDK, ensuring a smooth setup process.
92+
93+
- **Modular Structure**: The project is organized for easy navigation and maintenance, making it simple to add or modify hardware profiles as needed.
94+
95+
## List of Devices
96+
97+
| Device Name | Resolution |
98+
| ---------------- | ----------- |
99+
| Galaxy S10 Plus | 3040 x 1440 |
100+
| Galaxy S20 | 3200 x 1440 |
101+
| Galaxy S20 FE | 2400 x 1080 |
102+
| Galaxy S20 Plus | 3200 x 1440 |
103+
| Galaxy S20 Ultra | 3200 x 1440 |
104+
| Galaxy S21 | 2400 x 1080 |
105+
| Galaxy S21 FE | 2400 x 1080 |
106+
| Galaxy S21 Plus | 2400 x 1080 |
107+
| Galaxy S21 Ultra | 3200 x 1440 |
108+
| Galaxy S22 | 2340 x 1080 |
109+
| Galaxy S22 Plus | 2340 x 1080 |
110+
| Galaxy S22 Ultra | 3088 x 1440 |
111+
| Galaxy S23 | 2340 x 1080 |
112+
| Galaxy S23 FE | 2340 x 1080 |
113+
| Galaxy S23 Plus | 2340 x 1080 |
114+
| Galaxy S23 Ultra | 3088 x 1440 |
115+
| Galaxy S24 | 2340 x 1080 |
116+
| Galaxy S24 FE | 2340 x 1080 |
117+
| Galaxy S24 Plus | 2340 x 1080 |
118+
| Galaxy S24 Ultra | 3088 x 1440 |
119+
| Galaxy S25 | 2340 x 1080 |
120+
| Galaxy S25 Plus | 3120 x 1440 |
121+
| Galaxy S25 Ultra | 3120 x 1440 |
122+
123+
## Disclaimer
124+
125+
This repository is provided "as is" and without warranty of any kind. Use at your own risk. While we hope this repository assists you in setting up and utilizing hardware profiles in Android Studio, you are responsible for modifying and adapting the XML files and scripts to suit your specific development needs.
126+
127+
You may enhance or change the profiles and configurations as necessary, but please be aware that we do not guarantee the accuracy, completeness, or reliability of the provided files or scripts. Always ensure that you back up your existing configurations before making any changes.
128+
129+
#### Android Studio Hardware Profiles Ready2Go - Gabriel A.R.

0 commit comments

Comments
 (0)