Después de 27 años, yo también estoy incómodo desarrollando en un IDE.Probé estas sugerencias (arriba), y probablemente no seguí todo bien, así que hice una búsqueda web y encontré lo que funcionó para mí en 'http://incise.org/android-development-on-the-command-line.html'.
La respuesta parecía ser una combinación de todas las respuestas anteriores (por favor dígame si me equivoco y acepte mis disculpas si es así).
Como se mencionó anteriormente, eclipse/adt no crea los archivos ant necesarios. Para compilar sin IDE Eclipse (y sin crear scripts Ant):
1) Generar build.xml en el directorio de nivel superior:
android list targets (to get target id used below)
android update project --target target_id --name project_name --path top_level_directory
** my sample project had a target_id of 1 and a project name of 't1', and
I am building from the top level directory of project
my command line looks like android update project --target 1 --name t1 --path `pwd`
2) siguiente que compila el proyecto. Estaba un poco confundido por la solicitud de no usar 'hormiga'. Afortunadamente, el solicitante quiso decir que no quería escribir ninguna secuencia de comandos ant. Digo esto porque el siguiente paso es compilar la aplicación mediante la hormiga
ant target
this confused me a little bit, because i thought they were talking about the
android device, but they're not. It's the mode (debug/release)
my command line looks like ant debug
3) Para instalar el apk en el dispositivo tuviera que utilizar hormiga nuevo:
ant target install
** my command line looked like ant debug install
4) Para ejecutar el proyecto en mi teléfono Android uso adb.
adb shell 'am start -n your.project.name/.activity'
** Again there was some confusion as to what exactly I had to use for project
My command line looked like adb shell 'am start -n com.example.t1/.MainActivity'
I also found that if you type 'adb shell' you get put to a cli shell interface
where you can do just about anything from there.
3A) una nota: Para ver el registro del uso del dispositivo:
adb logcat
3B) Una segunda nota lateral: El enlace mencionado anteriormente también incluye instrucciones para la construcción de todo el proyecto del comando .
Afortunadamente, esto ayudará con la pregunta. Sé que estaba realmente feliz de encontrar cualquier cosa sobre este tema aquí.
¡¿Cómo no hay un plugin/jar para esto! – Kieveli
Ok ... Agregué una nueva respuesta correcta. – Kieveli