Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p4a cant find android sdk #1218

Closed
ghazimoradi opened this issue Jan 7, 2018 · 1 comment
Closed

p4a cant find android sdk #1218

ghazimoradi opened this issue Jan 7, 2018 · 1 comment

Comments

@ghazimoradi
Copy link

im trying to create apk with p4a with such command
p4a apk --private ~/ --package=com.something.BorCal --name "BorCal" --version 0.1 --bootstrap=sdl2 --requirements=python,kivy --sdk_dir PATH="mnt/sda6/usr2/android/" --android_api 20

note that sda6 is mounted
inside android folder there is tools folder that contains 'android' and inside tools/bin there is
sdkmanager
but after run above command it says:

[INFO]: Will compile for the following archs: armeabi [INFO]: Getting Android API version from user argument [ERROR]: Could not find androidorsdkmanager binaries in Android SDK. Exiting. ....

something like that happen when using buildozer and it cant find android-sdk (sdk location is mentioned in buildozer.spec)

whats the problem

*** I'm in a region that censored google services and buildozer cant download sdk - i have download it through proxy

thanks for any help

@inclement
Copy link
Member

I'm not sure your folder structure is quite correct, can you post the contents of the folder mnt/sda6/usr2/android/ (and also, should that have a leading /?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants