How to write an Android app in C++ ?
>>57833325
BTW, why isn't there an app dev general like there's for web dev? Isn't app developing a faster growing industry now?
>>57833325
Visual Studio
>>57834832
(not OP) It's a pain to get the android kit set up and working, really.
I actually gave up on the last attempt.
Is there maybe some step-by-step how-to? The official Qt documentation is not helping very much.
>>57836690
Isn't there asudo apt-get install [installs all the shit]for it ?
>>57833325
Just don't. Everyone, even the developers of the NDK recommend against it.
>>57836801
That's what non mentally challenged people call a package.
>>57836829
>playing a smartass anonymously
So is there apackagethat installs all the shit for Qt Android development?
>>57833325
Write the gui using java and then reference the C code into it.
Or use SDL or Qt.
>>57836819
Can it even be done with Python? Wouldn't be nearly as efficient as C++, no?
I forgot the little Java I knew, don't have the time to relearn now for one or two apps I want to write.
>>57836865
There are several packages in AUR (SDK, NDK, Qt5-android) and more, but nothing worked for me just like that. Also there are catches like you can't just take the latest NDK, but one specific version and apply some Qt patch, which you can find somewhere on their website.
I got it working once, but can't seem to do it again.
>>57836819
The possibility to simply compile one application for desktop or for android with just using different toolchain is amazing, tbqh
>>57836983
Qt spent so much time advertising it being MULTIPLATFORM you'd think it was all available with one click.
>>57837109
Yeah, this was kind of a disappointment. But maybe I'm doing something wrong. Also once you get it set up, it seems to work fine.
>>57837842
Damn, I finally got it working again on Manjaro. Thanks /g/ for reminding me!
Maybe I could write a blog post or something about setting up Qt for Android, if anybody was interested?
>>57833325
>Download Android Studio
>New Project
>C/C++ Project
>Select Template
>Select Target Devices
done
>>57838518
>>Download Android Studio
This? https://developer.android.com/studio/index.html
>>57838607
Yes