apk building error

36 views
Skip to first unread message

purushottam yadav

unread,
Jul 5, 2022, 7:20:16 AM7/5/22
to Kivy users support
this error   while  making apk  ,  . 

Available Updates:
  ID      | Installed | Available
  ------- | -------   | -------  

# Check that aidl can be executed
# Search for Aidl
# Aidl not found, please install it.

Robert

unread,
Jul 5, 2022, 12:58:23 PM7/5/22
to Kivy users support

purushottam yadav

unread,
Jul 6, 2022, 1:23:31 AM7/6/22
to Kivy users support
what does this mean  "Delete ~/.buildozer " ,   should i delete  .buildozer folder in home directory or in working directory  of project  . 
i tried by deleting  in home directory ,  and  i got this  below error . 

# Android NDK is missing, downloading
# Downloading https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip
Traceback (most recent call last):
  File "/home/purushottamdev/directory_env/f/bin/buildozer", line 8, in <module>
    sys.exit(main())
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/__init__.py", line 1047, in run_command
    self.target.run_commands(args)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/target.py", line 92, in run_commands
    func(args)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/target.py", line 102, in cmd_debug
    self.buildozer.prepare_for_build()
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/__init__.py", line 169, in prepare_for_build
    self.target.install_platform()
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/targets/android.py", line 665, in install_platform
    self._install_android_ndk()
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/targets/android.py", line 455, in _install_android_ndk
    self.buildozer.download(url,
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/buildozer/__init__.py", line 677, in download
    urlretrieve(url, filename, report_hook)
  File "/usr/lib/python3.8/urllib/request.py", line 1855, in retrieve
    block = fp.read(bs)
  File "/usr/lib/python3.8/tempfile.py", line 612, in func_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.8/http/client.py", line 459, in read
    n = self.readinto(b)
  File "/usr/lib/python3.8/http/client.py", line 503, in readinto
    n = self.fp.readinto(b)
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.8/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2635)

Robert

unread,
Jul 6, 2022, 2:53:13 AM7/6/22
to Kivy users support
The good news is you are now downloading the Google tools, so you got past the previous error.

"~" is a Linux shell symbol for user's home directory , see any Linux tutorial. 
From some directory other that your home directory try `ls ~'

I don't know anything about the error you get, it is some system or network issue there.
I can click on the link in your post and download the file - so the link is good.
Reply all
Reply to author
Forward
0 new messages