I’m on a Thinkpad x200 and i run arch linux on it with dwm as window manager (doesn’t really matter, precision purposes only).
I’m trying to follow the Hello World tutorial at the following link:
I’ve tried it on a Windows machine and it works properly, even if it seems a little outdated (names of options to be selected in SDK manager are different, the fact that there’s no need to specify NDK path in Juce’s global path settings anymore and so on).
The first problem i noticed is that when i create a New Project from Projucer (after having selected Android as exporter), i can’t just “click on Save Project and Open in IDE” as it says, because nothing happens when i do it from the File menu, and the Android symbol on which i should be clicking on is greyed out.
I can’t find in the settings where i should specify where android studio actually is located in my system in order for it to work.
So afterwards i go on the Android Studio directory, inside the bin directory, and i run, from terminal, “./studio.sh /path/to/NewProject &”. I also tried opening android studio without specifying the path to my project, because it seems to open it anyway.
So i’m in Android Studio with the NewProject folder opened. I substitute the MainWindow section as it says in the tutorial so it can print “Hello World” and the i see that there’s no default configuration run setting for my app. I’ve tried to tweak some options, creating one on my own, but i can’t run it on a (virtual or physical, tried both) device.
When i load android studio a notification appears saying that there is a Gradle Build option for the project, but if i create a configuration based on it, it still does not show me the app.
Comparing it on how it works on Windows, on which the Android Symbol isn’t greyed out and opens Android Studio correctly from Projucer, there should be an “App” run configuration that works out of the box with the simple need of just creating a virtual device, which i did indeed also on my linux machine.
What can i do in order to make it work properly?