0

I want to create a AVD using Culebra and ADB, but I think that isn't the correct way, maybe I need to use SKD Android.

OS: Windows 10

ADB is running:

netstat -an | findstr 5037
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING

Running Culebra:

AndroidViewClient-master\tools>python culebra -G

Empty device list, will wait 60 secs for devices to appear
........TIMEOUT HANDLER 3
Exception in thread Thread-4:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\threading.py", line 1073, in run
    self.function(*self.args, **self.kwargs)
  File "C:\Python27\lib\site-packages\androidviewclient-15.1.2-py2.7.egg\com\dtmilano\android\adb\adbclient.py", line 203, in timeoutHandler
    raise Timer.TimeoutException("Timer %d has expired" % timerId)
TimeoutException: Timer 3 has expired

Is Culebra and ADB enough to create a AVD?

Alex P.
  • 30,437
  • 17
  • 118
  • 169
Shinomoto Asakura
  • 1,473
  • 7
  • 25
  • 45

1 Answers1

0

You have to create your AVD or connect your Android device first (i.e. via USB).

Then, run adb to verify they are connected

demo: $ adb devices
List of devices attached
emulator-5554   device

when they are, like in the previous example where emulator-5554 is online, you can now run culebra. If you add -V (verbose), you will see the actual device being connected

demo: $ culebra -GV
Connecting to a device with serialno=.* with a timeout of 60 secs...
Connected to device with serialno=.*
Actual device serialno=emulator-5554

you will see culebra window (which would look much like your emulator window)

enter image description here

and as usual, the python script is generated

#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright (C) 2013-2018  Diego Torres Milano
Created on 2018-04-12 by Culebra v15.1.2
                      __    __    __    __
                     /  \  /  \  /  \  /  \ 
____________________/  __\/  __\/  __\/  __\_____________________________
___________________/  /__/  /__/  /__/  /________________________________
                   | / \   / \   / \   / \   \___
                   |/   \_/   \_/   \_/   \    o \ 
                                           \_____/--<
@author: Diego Torres Milano
@author: Jennifer E. Swofford (ascii art snake)
"""
...
Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134