electrum icon indicating copy to clipboard operation
electrum copied to clipboard

building android apk with make apk failed: p4a.source dir does not exist

Open charleshsu168 opened this issue 9 years ago • 2 comments

image

charleshsu168 avatar Aug 06 '17 22:08 charleshsu168

Are you sure that python-for-android is installed in /usr/local/lib/python2.7/dist-packages ? If not try pip install python-for-android

ariard avatar Aug 06 '17 23:08 ariard

I tried pip install python-for-android. it did not put the source file in the dir specified by the buildozer.spec. see below.

p4a.source_dir = /opt/python-for-android

the workaround i did to fix it is: i manually downloaded python-for-android.zip into the gui/kivy dir then i modify buildozer.spec file line to: p4a.source_dir = .

charleshsu168 avatar Aug 07 '17 03:08 charleshsu168