+ 4
(Android Studio)
I have 2GB ram PC, so android studio did not support here, is there another way to compile code to app?
2 Respostas
+ 7
Thanks Kirk Schafer! that is the most helpful information i ever read
+ 4
I haven't tried this, but you can build from the command line:
https://developer.android.com/studio/build/building-cmdline
Android Virtual Devices are usually made through a Studio menu item.
To do this without Studio, review this post:
https://stackoverflow.com/questions/48433558/is-it-possible-to-create-and-maintain-android-virtual-devices-without-installing
To start an AVD at the command line (case sensitive + sample path shown):
C:\android\sdk\emulator\emulator -avd Name_Of_AndroidVirtualDevice.avd
On my test system, those avd's are stored in %USERPROFILE%\.Android\avd
~ Emulator should know where these live; that's just where I have them
~ If it doesn't know, you may need to set the environment variable ANDROID_AVD_HOME (or ...SDK_HOME)
https://developer.android.com/studio/command-line/variables
adb (Android Debug Bridge) can be used to get your apks onto emulators / real devices (adb install, adb push)