AVD default specifications

android

#1

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.


#2

The config.ini for and 22 AVD is below - 23 should be pretty much the same:

avd.ini.encoding=UTF-8
abi.type=armeabi-v7a
hw.cpu.arch=arm
hw.cpu.model=cortex-a8
hw.lcd.density=240
hw.ramSize=512
image.sysdir.1=system-images/android-22/default/armeabi-v7a/
skin.name=WVGA800
skin.path=platforms/android-22/skins/WVGA800
tag.display=Default
tag.id=default
vm.heapSize=48

Hopefully that’s of some help.


#3

Thanks Tom.
Will give this a go soon!
Cheers.


#4