MCPcopy Index your code
hub / github.com/kivy/python-for-android / get_available_apis

Function get_available_apis

pythonforandroid/build.py:53–58  ·  view source on GitHub ↗
(sdk_dir)

Source from the content-addressed store, hash-verified

51
52
53def get_available_apis(sdk_dir):
54 targets = get_targets(sdk_dir)
55 apis = [s for s in targets if re.match(r'^ *API level: ', s)]
56 apis = [re.findall(r'[0-9]+', s) for s in apis]
57 apis = [int(s[0]) for s in apis if s]
58 return apis
59
60
61class Context:

Callers 1

Calls 1

get_targetsFunction · 0.85

Tested by

no test coverage detected