python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

Apple M2 chip doesn't generate apk

Open weixingsun opened this issue 3 years ago • 2 comments

Checklist

  • [x] the issue is indeed a bug and not a support request
  • [x] issue doesn't already exist: https://github.com/kivy/python-for-android/issues
  • [x] I reproduced the problem with the latest development version (p4a.branch = develop)

Versions

  • Python: 3.9.0
  • OS: Mac 12.5
  • Kivy: 2.0.0
  • Cython: 0.29.32
  • OpenJDK: openjdk version "18.0.2" 2022-07-19

Description

buildozer android debug

buildozer.spec

Command:

buildozer android debug

Spec file:

// REPLACE ME: Paste your buildozer.spec file here

Logs

....
# Recommended android's NDK version by p4a is: 23b
....

I have tried making build to r24 in .github/workflows/push.yml, and reinstall via pip, but ndk version didn't updated and failed with same error

weixingsun avatar Aug 05 '22 02:08 weixingsun

Hi @weixingsun !

Do you have a full log that we could check?

misl6 avatar Aug 06 '22 08:08 misl6

build.log.zip

Hi @misl6 thanks for replying, I clean up and rebuild from cmd: buildozer -v android debug have changed ndk version = 24 in buildozer.spec, but still failed in liblzma

weixingsun avatar Aug 06 '22 16:08 weixingsun

@misl6 I got same error with ndk version=25, seems not ndk version caused this problem.

weixingsun avatar Aug 14 '22 13:08 weixingsun

Duplicated of https://github.com/kivy/python-for-android/issues/2343

misl6 avatar Aug 21 '22 13:08 misl6

Hi @weixingsun! Thank you for reporting the full log.

Looks like the issue is actually a duplicate of the above-mentioned issue.

Feel free to subscribe to issue #2343 to continue receiving updates.

misl6 avatar Aug 21 '22 13:08 misl6