Comments (2)
Hello. I don't get what EM1
device is.
Please navigate to your sdk_home
location then to directory tools/bin
and use avdmanager
in terminal to read available devices that can be used in create_avd_device
field:
$ ./avdmanager list device
I would also recommend creating your AVD via Android Studio first with config you wish to have. Then inspect it config.ini
in ~/.android/avd/<your_avd_name>
directory and see what value does device
field has. Then use it in script!
Write if you have any more problems :)
from fastlane-plugin-automated-test-emulator-run.
hey, copying the .ini and cache.img file makes it work now thanks!
another thing, I start 3 emulators but the screenshots work on one, rest are idle.
attaching my json:
{
"avd_list": [
{
"avd_name": "Pixel_XL_API_24",
"create_avd_package": "system-images;android-24;google_apis;x86",
"create_avd_device": "pixel_xl",
"create_avd_tag": "google_apis",
"create_avd_abi": "x86",
"create_avd_additional_options": "",
"create_avd_hardware_config_filepath": "/Users/xx/android/fastlane/pixel_xl.ini",
"launch_avd_port": "",
"launch_avd_snapshot_filepath": "/Users/sdutta/xx/fastlane/cache.img",
"launch_avd_launch_binary_name": "emulator",
"launch_avd_additional_options": "-gpu on"
},
{
"avd_name": "Nexus_7_API_24",
"create_avd_package": "system-images;android-24;google_apis;x86",
"create_avd_device": "Nexus 7 2013",
"create_avd_tag": "google_apis",
"create_avd_abi": "x86",
"create_avd_additional_options": "",
"create_avd_hardware_config_filepath": "/Users/xx/android/fastlane/nexus7.ini",
"launch_avd_port": "",
"launch_avd_snapshot_filepath": "/Users/sdutta/xx/android/fastlane/cache.img",
"launch_avd_launch_binary_name": "emulator",
"launch_avd_additional_options": "-gpu on"
},
{
"avd_name": "Nexus_10_API_24",
"create_avd_package": "system-images;android-24;google_apis;x86",
"create_avd_device": "Nexus 10",
"create_avd_tag": "google_apis",
"create_avd_abi": "x86",
"create_avd_additional_options": "",
"create_avd_hardware_config_filepath": "/Users/xx/android/fastlane/nexus10.ini",
"launch_avd_port": "",
"launch_avd_snapshot_filepath": "/Users/xx/android/fastlane/cache.img",
"launch_avd_launch_binary_name": "emulator",
"launch_avd_additional_options": "-gpu on"
}
]
}
my lane:
desc "Runs tests with AVD setup according to JSON file config with usage of other lane."
lane :fastscreen do
automated_test_emulator_run(
AVD_recreate_new:false,
AVD_clean_after:false,
AVD_setup_path: "/Users/sdutta/Workspace/mobile/skoobe-app/platform/android/fastlane/AVD_setup.json",
shell_task:"fastlane screenshots"
)
end
can you help me with running screenshots on all 3
from fastlane-plugin-automated-test-emulator-run.
Related Issues (20)
- Getting stuck at "Performing wait for params: dev.bootcomplete, sys.boot_completed, init.svc.bootanim." HOT 6
- Concern about article deprecated
- Empty list of attached devices HOT 4
- create_avd_device does not appear to work as described HOT 4
- AVD_setup.json path must be an absolute url HOT 1
- AVD is not starting HOT 3
- Unable to read AVD_setup.json. Check JSON file structure or file path. HOT 4
- create_avd_additional_options option in AVD_scheme doesn't have any effect. HOT 1
- Incorrect PATH
- No way to boot emulator in a specific locale
- How to install apk?
- Deprecated variant API in 2019
- Running Tests on Remote Emulator HOT 1
- Performing wait for params: 'dev.bootcomplete', 'sys.boot_completed', 'init.svc.bootanim'
- Running fastlane screengrab on multiple AVDs HOT 1
- No permission when pulling screenshots
- Use Android cmdline-tools HOT 1
- android command fails after sdk update HOT 23
- Emulator launch freezes on linux HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane-plugin-automated-test-emulator-run.