This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年12月04日 09:39 by xdegaye, last changed 2022年04月11日 14:58 by admin.
| Messages (4) | |||
|---|---|---|---|
| msg307544 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2017年12月04日 09:39 | |
* The NDK version can be obtained by parsing the file $ANDROID_NDK_ROOT/source.properties. * The versions of the SDK build-tools, emulator and platform-tools packages as well as those of the system images can be obtained by parsing the output of "$ANDROID_SDK_ROOT/tools/bin/sdkmanager --list". |
|||
| msg307581 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年12月04日 16:59 | |
Maybe add a collect_android() function which would exit early if sys.getandroidapilevel() doesn't exist? > * The NDK version can be obtained by parsing the file $ANDROID_NDK_ROOT/source.properties. > * The versions of the SDK build-tools, emulator and platform-tools packages as well as those of the system images can be obtained by parsing the output of "$ANDROID_SDK_ROOT/tools/bin/sdkmanager --list". You are free to add whatever you want/need, but just try to handle properly errors to collect other info even if these data cannot be read. |
|||
| msg307602 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年12月04日 22:25 | |
Oh, I forgot that pythoninfo already has: call_func(info_add, 'sys.androidapilevel', sys, 'getandroidapilevel') Well, that's the *build time* API level, not the most useful one, but still useful. |
|||
| msg307657 - (view) | Author: Xavier de Gaye (xdegaye) * (Python triager) | Date: 2017年12月05日 11:15 | |
The NDK version may be printed by the pythoninfo make target before test.pythoninfo is run on Android. platform.android_ver() (not yet implemented, see issue 26855) must be added to collect_sys() in test.pythoninfo. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:55 | admin | set | github: 76391 |
| 2017年12月09日 15:42:06 | xdegaye | link | issue26865 dependencies |
| 2017年12月05日 16:34:30 | xdegaye | set | dependencies:
+ android: add platform.android_ver() title: Add the versions of the Android SDK and NDK to test.pythoninfo -> Add platform.android_ver() to test.pythoninfo for Android platforms |
| 2017年12月05日 11:15:02 | xdegaye | set | messages: + msg307657 |
| 2017年12月04日 22:25:20 | vstinner | set | messages: + msg307602 |
| 2017年12月04日 16:59:14 | vstinner | set | messages: + msg307581 |
| 2017年12月04日 09:39:35 | xdegaye | create | |