this post was submitted on 21 Nov 2024
16 points (100.0% liked)

Programming

265 readers
1 users here now

Welcome to the Lemmygrad programming community! This is a space where programmers of all levels can discuss programming, ask for help with problems, and share their personal programming projects with others.


Rules

  1. Respect all users, regardless of their level of knowledge in programming. We're here to learn and help each other improve.
  2. Keep posts relevant to programming and related topics.
  3. Respect people's personal preferences. If you disagree with someone's choice of programming language, method of formatting code, or anything else, don't attack the poster. Genuine criticism is fine, but personal attacks are not.
  4. In order to promote breaks from typing, all code snippets must be photos of code written on paper.
    Just kidding :), please use proper markdown code blocks.

founded 2 years ago
MODERATORS
 

Looking for tips, tricks, and experiences of comrades who've developed Android apps using Vim, Neovim, or other text editors rather than Android Studio.

It's been a while since I did any Android development but I want to develop an app for personal use. Between then and now I've been using Neovim for everything so I'm loathe to go back to Android Studio but it handles a lot of boiler plate for new projects.

Has anyone got any thoughts or tools to share? I'm very comfortable in the CLI so my dream setup would be using Neovim as a code editor and running build commands etc in a terminal nearby.

you are viewing a single comment's thread
view the rest of the comments
[–] muad_dibber@lemmygrad.ml 5 points 5 months ago (1 children)

I've tried and failed at it, many times. You pretty much have no choice but to use android studio. There is a vim plugin for it at least.

[–] redmagpie@lemmygrad.ml 2 points 5 months ago* (last edited 5 months ago) (1 children)

Ah that sucks to hear :-( I didn't know there was even a plugin ecosystem to Android Studio but of course there is.

I might just use Android studio to set up the project and then do my actual keyboard-bashing in Neovim later. All I really want is the boilerplate set up properly and my app will be a single activity with maybe 3 views, so once that's all generated I'll try switching.

Out of interest, what has been the failure points for you trying this in the past?

[–] muad_dibber@lemmygrad.ml 2 points 4 months ago (1 children)

Oops, sry missed this one. jdtls , the java language server that works with vim / neovim / helix, and the kotlin-language-server don't work with android libraries.

[–] redmagpie@lemmygrad.ml 2 points 4 months ago

No worries re long replies. That's really interesting. I've never used any LSP features before (I am definitely out of touch though) so perhaps this wouldn't be such a blocker.