Here lies the problem. You can not build simple apk without explicitly fetching and injecting up-to-date Gradle to `$PATH`, otherwise importing of `com.android.application` will fail anyways. I am almost sure that no sane person will inject up-to-date gradle to their own environment instead of using bundled gradle wrapper which we do not have. So asking user/builder to do `make all`, prepare prefix and then run `make ...wine-debug.apk` with clear and coincise errors should make the situation clear. I think referencing official build script is necessary because people are not aware of it. During my own searches I found only 3rd party ruby script and hangover's Makefile for building the wine backend, and exactly 0 references to official one. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10354#note_133198