6
koushik@koushik-HP-Notebook:~$ p4a apk
[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: 28
[ERROR]:   Build failed: Could not find `android` or `sdkmanager` 
binaries in Android SDK
[INFO]:    Instructions: Make sure the path to the Android SDK is 
correct

I have tried millions of time but this error comes up and I am pretty sure that I have set the paths properly, however any suggestion is strongly welcomed.

rpanai
  • 12,515
  • 2
  • 42
  • 64

1 Answers1

3

In the

p4a documentation

it is not clearly stated how to put the path, sorry for that.

Do this, dont include the full sdk directory path, instead omit it. For example if your path for your sdk is export ANDROIDSDK="/home/kivy/Desktop/tools" omit the 'tools'. this should now work with export ANDROIDSDK="/home/kivy/Desktop/"

Ronald Saunfe
  • 561
  • 6
  • 20