jenkins - Android emulator in Docker -


i`m trying start android emulator inside docker container, error:

root@686d602e6ffa:~/android-sdk-linux/tools# ./emulator             error: 32-bit linux android emulator binaries deprecated, use them        have @ least 1 of following:         - use '-force-32bit' option when invoking 'emulator'.        - set android_emulator_force_32bit 'true' in environment.         either 1 allow use 32-bit binaries, please        aware these disappear in future android sdk release.        consider moving 64-bit linux system before happens. 

but os inside container (uname -a)

ubuntu smp tue mar 10 20:06:50 utc 2015 x86_64 x86_64 x86_64 gnu/linux

and manually starting emulatox64-x86 works fine:

android-sdk-linux/tools# ./emulator64-x86  emulator: error: did not provide name of android virtual device '-avd <name>' option. read -help-avd more information.  if *really* want *not* run avd, consider using '-data <file>' specify data partition image file (i hope know you're doing). 

i may make symbolic link - think not solution because there may different architecture emulate

also emulator should started jenkins live in container mentioned above

updated: @user2915097 suggested: root@686d602e6ffa:/# file /bin/bash /bin/bash: elf 64-bit lsb executable, x86-64, version 1 (sysv), dynamically linked (uses shared libs), gnu/linux 2.6.24

as fyi: ran on docker based off of from ubuntu:16.04 , solved installing "file" apt-get install file

apparently emulator uses file @ $shell , if doesn't contain "x86_64" thinks 32bit.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -