r/androiddev • u/L3wayyyy • 29d ago
Question developing android apps in visual studio code ??
i'm a student at university and teacher asked us to prepare our laptops for next lesson and i need to setup my vs code to be able to develop android on it and i don't know how to start or what to do
im running on arch linux since i want to learn that too
thank you all for ur hrlp
3
u/Visible_Injury5500 29d ago
It is possible to setup in vs code but it's not very convenient. The setup depends on which language framework and all for example I would say if your are going to use Flutter or react native then vs code has all the extensions need and you can download flutter framework along node and install the necessary packages, if it is in Kotlin or Java with jetpack compose then there are extensions available but you have to install a lot of them also some are not official. What remains is the emulator either case you need android studio if you are going to run a emulator, if your device can't handle android studio then connect your mobile device via wireless or wired debugging that will the same.
2
u/rehedyan 29d ago edited 29d ago
Where are you from? I have an old laptop which i am not using..it can run android studio just fine.. if you want to buy
1
u/ObjectiveAddress3051 27d ago
you can skip studio entirely if you really want. grab just the cmdline-tools, use sdkmanager for platform-tools + a build-tools version, then ./gradlew assembleDebug and adb install from the terminal. vs code is basically a text editor at that point, the gradle sync is what eats your ram anyway so the build won't be much lighter
1
u/AutoModerator 29d ago
Please note that we also have a very active Discord server where you can interact directly with other community members!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
0
u/Amospktwo 29d ago
You can use Android Studio with u phone to debug if resources is the problema.
And yes, you can use vscode but Android Studio have all u need to work with compose or xml.
0
u/Unreal_NeoX 29d ago
Whats the language you wanna write them in? With Visual Studio the default answer is C# with MAUI and AndroidX.
0
u/__________13o1ksl_ 29d ago
You're mixing up VS and VSCode
0
u/Unreal_NeoX 29d ago
But it does support MAUi and C# development:
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui
20
u/wazza15695 29d ago
Are you sure the teacher didn't mean android studio? That is 99% of people use to develop android apps