Search code examples
androidpythonmonkeyrunner

Python: ImportError: No module named logging


I am trying to import logging in Monkeyrunner environment but it always respond "ImportError: No module named logging" ?


Solution

  • Check your version of Android SDK Tools. If it is Rev. 22.0, then there is a known issue with monkey dependencies, which has a fix in Rev. 22.0.1.

    Similar question: Trying to run simple monkeyrunner python script, 'importerror no module named os'

    See also:
    - monkeyrunner: ImportError: No module named re