leleliu008 / ndk-pkg

A package builder/manager for Android NDK to build projects written in C, C++, Rust, Golang, etc.
http://blog.fpliu.com/project/ndk-pkg
Apache License 2.0
88 stars 14 forks source link

Attempting to install on Android using Termux #14

Closed greenbadge closed 2 years ago

greenbadge commented 2 years ago

I have been trying to install packages on my android device using termux, but each package fails on step 3 because an android NDK cannot be found and one will not install. Is there a solution to this?

leleliu008 commented 2 years ago

sorry, I made a mistake, you can modify the soucecode directly, run vi ~/../usr/bin/ndk-pkg, change if ndkmanager install r23b to if ndkmanager install r23a, as an immediate workaround. I will fix this problem tomorrow.

leleliu008 commented 2 years ago

this problem has been fixed, run following comands in your terminal to update fixes:

ndk-pkg upgrade @self
ndk-pkg update