You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have problem for build apk devices . i clone you repo and build apk but get error
root@mino-HP-Convertible-x360-11-ab1XX:/home/mino/belajar/flask-webview-android-p4a# p4a apk --private flaskapp/main.py
--package=org.webview.flask
--name "Flask Webview"
--requirements flask
--bootstrap=webview
--dist_name FlaskTOlol123
--version 0.0.1
--arch armeabi-v7a
--permission INTERNET
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[WARNING]: $ANDROIDNDKVER is deprecated and no longer necessary, the value you set is ignored
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 30
Traceback (most recent call last):
File "/usr/local/bin/p4a", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/toolchain.py", line 734, in init
getattr(self, command)(args)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/toolchain.py", line 143, in wrapper_func
ctx.prepare_build_environment(user_sdk_dir=self.sdk_dir,
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 273, in prepare_build_environment
apis = get_available_apis(self.sdk_dir)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 47, in get_available_apis
targets = get_targets(sdk_dir)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 35, in get_targets
targets = avdmanager('list', 'target').stdout.decode('utf-8').split('\n')
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 1524, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 788, in init
self.wait()
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /root/Android/Sdk/tools/bin/avdmanager list target
STDOUT:
STDERR:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
The text was updated successfully, but these errors were encountered:
i have problem for build apk devices . i clone you repo and build apk but get error
root@mino-HP-Convertible-x360-11-ab1XX:/home/mino/belajar/flask-webview-android-p4a# p4a apk --private flaskapp/main.py
--package=org.webview.flask
--name "Flask Webview"
--requirements flask
--bootstrap=webview
--dist_name FlaskTOlol123
--version 0.0.1
--arch armeabi-v7a
--permission INTERNET
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[WARNING]: $ANDROIDNDKVER is deprecated and no longer necessary, the value you set is ignored
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 30
Traceback (most recent call last):
File "/usr/local/bin/p4a", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/toolchain.py", line 734, in init
getattr(self, command)(args)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/toolchain.py", line 143, in wrapper_func
ctx.prepare_build_environment(user_sdk_dir=self.sdk_dir,
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 273, in prepare_build_environment
apis = get_available_apis(self.sdk_dir)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 47, in get_available_apis
targets = get_targets(sdk_dir)
File "/usr/local/lib/python3.10/dist-packages/pythonforandroid/build.py", line 35, in get_targets
targets = avdmanager('list', 'target').stdout.decode('utf-8').split('\n')
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 1524, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 788, in init
self.wait()
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.10/dist-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /root/Android/Sdk/tools/bin/avdmanager list target
STDOUT:
STDERR:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
The text was updated successfully, but these errors were encountered: