Hello,
I am having lots of problems debugging issues on the the CircleCI server.
So I have to decided to try to reproduce the entire process locally to see if I can get some better insights into what’s going on.
Could someone from Circle please post the default specifications and settings of the AVD’s so I can replicate.
e.g. Hardware device. RAM allocation etc.
My current script looks like this (needs lots of updating):
#!/bin/bash
# Make sure we're in the right directory
cd /path/to/project
# Start the emulator
emulator -avd 5X_API_23_KVM_64 -no-audio -no-window &
# Delete contents of build directory
rm -rf ./app/build
# Build the app.
./gradlew assembleDebug -PdisablePreDex --stacktrace
# Build the tests.
./gradlew assembleAndroidTest -PdisablePreDex --stacktrace
# Wait for it to boot
adb -s emulator-5554 wait-for-device
# Sleep for 30 seconds
sleep 30
# Unlock the device
adb shell input keyevent 82
# Run tests against the emulator.
./gradlew connectedAndroidTest -PdisablePreDex --stacktrace
# Kill the emulator.
adb -s emulator-5554 emu kill
I understand that you cannot use KVM so going to change this. Any other advice? Or from the community?
Fairly sick of debugging strange issues that are not present locally.
All help is welcomed! Thanks.