E
E
Elbek M2020-03-21 12:16:48
Java
Elbek M, 2020-03-21 12:16:48

How to run someone else's Android Studio project?

They gave me a test task for a Junior Android developer, and I completed it. I posted my project on git. The question arose, how to build and run someone else's project from the console without installing AS? What should I write in the launch instructions? After all, you don’t clone the whole project and run it with the IDEs already installed .. Or is it enough just to write in the launch instructions that you need to run the apk file on your smartphone and test it? How else to run someone else's project, I do not know. Help advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
illuzor, 2020-03-21
@Elbek_M

In most cases, those who take on an android project know how to work with it.
To build apk without studio, you need to install android sdk on the appropriate system and call gradle task assembleDebug/assembleRelease
In general, it looks like this for linux.
https://gist.github.com/illuzor/988385c493d3f7ed71... The
previous speaker expressed one correct thought - post the apk somewhere and share the link.

V
Vladimir Korotenko, 2020-03-21
@firedragon

Google's position is this:
we do not provide Android SDK without a studio. And even if you are smart, then when you call, we will throw out an exception, they say, install the studio and there will be happiness.
However, there are workarounds. But what is your problem? Post the apk and that's it. If someone needs to assemble, do not break, launch the studio, well, or grendl if the studio is already installed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question