-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
The version of NDK is r16c, operated on debian 9.40.
When the command was run, "p4a create --requirement=pil", following error occurred.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (15, 16, 25, 26, 27)
[INFO]: Requested API target 15 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r16
[INFO]: Found virtualenv at /usr/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[WARNING]: Missing executable: pkg-config is not installed
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Found a single valid recipe set: []
[INFO]: Trying to find a bootstrap that matches the given recipes.
[INFO]: Found 7 acceptable bootstraps: ['sdl2_gradle', 'sdl2_gradle', 'webview', 'webview', 'pygame', 'service_only', 'service_only']
[INFO]: Using the first of these: sdl2_gradle
[INFO]: Found a single valid recipe set: []
[INFO]: The selected bootstrap is sdl2_gradle
[INFO]: # Creating dist with sdl2_gradle bootstrap
[INFO]: Dist will have name unnamed_dist_1 and recipes ()
[INFO]: Dist will also contain modules () installed from pip
[INFO]: -> running cp -r /home/katcom/.local/lib/...(and 142 more)
[INFO]: -> directory context /home/katcom/.local/share/python-for-android/build/bootstrap_builds/sdl2_gradle
[INFO]: <- directory context /home/katcom/AndroidStudioProjects/PythonEmbeded/python-for-android
[INFO]: Recipe build order is []
[INFO]: # Downloading recipes
[INFO]: # Building all recipes for arch armeabi
[INFO]: # Unpacking recipes
[INFO]: # Prebuilding recipes
[INFO]: # Building recipes
[INFO]: # Biglinking object files
[INFO]: Collating object files from each recipe
Traceback (most recent call last):
File "/usr/local/bin/p4a", line 11, in
load_entry_point('python-for-android==0.6.0', 'console_scripts', 'p4a')()
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 975, in main
ToolchainCL()
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 512, in init
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 149, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/toolchain.py", line 193, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/build.py", line 581, in build_recipes
biglink(ctx, arch)
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/build.py", line 658, in biglink
env = arch.get_env()
File "/home/katcom/.local/lib/python2.7/site-packages/pythonforandroid/archs.py", line 54, in get_env
self.ctx.python_recipe.version[0:3])
AttributeError: 'NoneType' object has no attribute 'version'
Then execution was over.
Is it missing configuration?Or a bug?I remember that this command once succeeded in making a distribution.