Hello r0ller Seems there is no support. Will read more about it.
Regards Riza On Thu, Sep 23, 2021, 09:52 r0ller <[email protected]> wrote: > Hi Riza, > > As far as I can tell, natively not. I mean that linux emulation is > definitely necessary. Mainly because the android dev environment is pretty > much bound to Linux. I tried to build ndk on NetBSD but there are quite > some stuff to change in their scripts -see 2) in this post: > > https://mail-index.netbsd.org/netbsd-users/2016/11/24/msg019072.html > > Even when using linux emulation, there's an unimplemented linux syscall > (fallocate) which prevents writing out the binary in the end. However, I > found a workaround by using named pipes (fifo) so building an android ndk > lib on NetBSD is actually possible via Linux emulation. I'm doing it > regularly and the ndk lib does work well on android. > > I cannot tell much about the sdk part but there are some who have tried > Android Studio again via Linux emulation though I can't recall anything > about how well it works. > > What I tried was Qt Creator to build an Android app. You can find my notes > on it here (along with some others): > > https://github.com/r0ller/NetBSD-Qt-Notes > > After that you'll need to get all the different parts of the Android SDK > (which Google makes harder and harder) that Qt Creator requires. > > In the end, it turned out that Qt Creator did not pick the right qmake but > when copied the effective qmake call then it did build all the necessary > libraries. That bug may have been resolved since then. However, there's a > separate tool to build an apk of the generated artifacts which I did not > succeed and haven't tried again. > > Best regards, > r0ller > > -------- Eredeti levél -------- > Feladó: Riza Dindir > Dátum: 2021 szeptember 23 07:22:25 > Tárgy: Android development > Címzett: Netbsd-Users-List > > Hello All, > > Can we build android apps using the android sdk and adb on netbsd? Or > any other means to develop android applications for mobile devices and > smart phones? > > Regards, > Riza >
