For generic skin emulator with default apis (without google apis):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images -
Download Image:
sdkmanager --install "system-images;android-29;default;x86"
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
| #!/bin/bash | |
| # Script adb+ | |
| # Usage | |
| # You can run any command adb provides on all your currently connected devices | |
| # ./adb+ <command> is the equivalent of ./adb -s <serial number> <command> | |
| # | |
| # Examples | |
| # ./adb+ version | |
| # ./adb+ install apidemo.apk | |
| # ./adb+ uninstall com.example.android.apis |
| #!/bin/bash | |
| # Script adb+ | |
| # Run any command adb provides on all your currently connected devices, | |
| # Or prompt to select one device | |
| showHelp() { | |
| echo "Usage: adb+ [-a] <command>" | |
| echo " -h: show help" | |
| echo " -a: run command on all device" | |
| echo " command: normal adb commands" |
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| end_of_line = lf | |
| insert_final_newline = true |