回覆列表
  • 1 # 鈺玉643

    1.建立AVD(Android Virtual Device)

    2.啟動emulator

    一般使用Eclipse開發時,開啟一個模擬器就是這麼一個過程,其實命令列模式下也是這樣。剛開始不知道如何命令列啟動模擬器的時候就輸入了一個emulator,報錯了,出現如下提示:

    emulator: ERROR: You did not provide the name of an Android Virtual Device

    with the '-avd ' option. Read -help-avd for more information.

    If you *really* want to *NOT* run an AVD, consider using '-data '

    to specify a data partition image file (I hope you know what you're doing).

    1.建立AVD

    根據提示資訊說明,需要先有一個AVD,即一個android的虛擬裝置,在命令列輸入android create avd,當然前提是在linux中配置好了環境變數,否則會出現找不到命令的錯誤提示的。如果環境變數配置正確會出現了錯誤提示資訊:

    Error: The parameters --name, --target must be defined for action 'create avd'

    Usage:

    android [global options] create avd [action options]

    Global options:

    -s --silent Silent mode: only errors are printed out.

    -h --help Help on a specific command.

    -v --verbose Verbose mode: errors, warnings and informational messages are printed.

    Action "create avd":

    Creates a new Android Virtual Device.

    Options:

    -c --sdcard Path to a shared SD card image, or size of a new sdcard for the new AVD

    -s --skin Skin for the new AVD

    -a --snapshot Place a snapshots file in the AVD, to enable persistence.

    -n --name Name of the new AVD [required]

    -p --path Directory where the new AVD will be created

    -t --target Target ID of the new AVD [required]

    -f --force Forces creation (overwrites an existing AVD)

  • 2 # 端莊優雅鋼琴s5

    oppo手機怎麼進入命令模式?

    第一步:找到Breeno返回桌面,找到Breeno 語音,然後點選開啟。


    第二步:選擇快捷指令在Breeno 語音介面,點選快捷指令。


    第三步:新增推薦指令Breeno 語音的快捷指令裡,有一些預先設計好的模板,我們可以直接採用。


    比如以“早安”末班就包含了同時對Breeno說:早上好呀、今天幾號、今天今天怎麼樣、今天有哪些日程、導航去公司。


    第四步:修改操作不草儲存設定完成之後,一定要記得點選儲存,不然就白忙活了

  • 中秋節和大豐收的關聯?
  • 人生幸事的感悟?