Run emulator from CLI and close CLI after starting? - Android Studio

Hi,
I am starting emulators from the CLI using the command
Code:
emulator @[avdname] -port[port]
This works fine, but the CLI is then locked running the emulator, if I close the CLI, the emulator also closes.
Is there a way to start the emulator without having to leave the cli open? I would use this to start muliple emulators and would like to not also have a bunch of CLI's open.
Image that shows state if things:
ignore the warnings given for now

Related

Question about Android SDK.

I downloaded the Android SDK and whenever I try and open it, it forces closes.
Like shows a command prompt screen for half a second and then closes out.
I was wondering if there was something I was doing wrong.
Kaos Chase said:
I downloaded the Android SDK and whenever I try and open it, it forces closes.
Like shows a command prompt screen for half a second and then closes out.
I was wondering if there was something I was doing wrong.
Click to expand...
Click to collapse
If your trying to run the setup sdk.exe you must have the java sdk downloaded and in your path
adb is a command line based program. cd to the /tools folder and type adb, it will list the commands with usage.

Need more command line functionality and sshd

I was an iPhoner until I got my N1 yesterday and, wow, I'm in love! I'm still pretty lost, but I'm in a hurry to get some command line functionality going and the little bit of information seems to be scattered all over and hard to get a handle on.
I have the usb connection working with my PC running Slackware and have done Cyanogenmod and the terminal emulator is working. Here are the things I want to be able to do:
1) Get the terminal more functional. Most commands say "permission denied" and when I use su, it says they're not found although "echo $PATH" is the same for both users. whoami tells me I am "app_21" so obviously this isn't a normal user/root system. What do I do to get it more... normal?
2) ssh to and from the phone with keys. Normally you'd put the keys in ~/.ssh the have sshd running on the systems, but I'm not sure where ~/ is and don't see sshd anywhere. Can I do it with the N1?

[Q] executing adb shell scripts on Nexus One - No Laptop Required

Is it possible to do this?
how can i run script commands without having to connect my phone to a laptop computer?
I have root explorer app installed, if someone knows how to do it with that app please give me a simple tutorial.
also, i found this other app on the android market called "ScriptMe" by gilsken.
the app has no reviews, but the description doesnt say how to use it to execute scripts.
in case any of you haven't noticed, yes I am a newbie when it comes rooting phones, any help is appreciated, let me know, thanks.
Do you want to use adb natively on the phone or just general scripts? You can run commands and scripts by installing a terminal from the market, I think Better Terminal Emulator Pro is the best. I think you can run most adb commands from the terminal but I'm not sure if they all work. I mean, push and pull don't seem like they'd work without somewhere to transfer files to, but maybe they push and pull to the sdcard or something. I'm really kinda clueless when it comes to adb because I've only used it to root the phone and use standard terminal tools for everything else.
I think I tried ScriptMe. You have to put the script on the sdcard, select it with the app, tap "execute" then it says "script ran". I'm not sure how that's useful. The only scripting app I've found useful is GScript, but there is another called "Scripter" which stores the scripts so you can select them from a list to execute them. Kinda like a no frills GScript.
Yeah just use the terminal app. It comes loaded on cyanogen and most ROMs out of the box.

[Q] Terminal Emulator Commands

What are the commands for ternimal emulator? Even when i type help.. nothing shows up!
It's a basic Linux system sitting there below Android, so many of the usual commands work.
However, the default commandline uses busybox ... take a look at the busybox man page

Root solely on Android with Termux? And with emulator app? No pc/second phone needed

Root solely on Android with Termux? And with emulator app? No pc/second phone needed
Has anyone succeeded?
Termux with python, android tools, adb. And such as VMOS Pro app to emulate another phone.
It should be possible, but i cannot get Termux to find the emulated.
Do i need to run Emulator on my phone and termux adb fastboot from there flash patched_boot?
Or from main phone profile with Termux patch from emulated content?
I'm interested in this out come keep me posted please
This is already impossible since 2018 lol

Categories

Resources