LoginSignup
2
0

More than 5 years have passed since last update.

IntelliJ IDEAでKotlin Androidアプリ開発環境構築! 起動編

Posted at

目的

下記で作成したProjectを動かしてみる
https://qiita.com/g0z4ru/items/24bca8e6fb691f29260f

1. 起動する

実行構成作成

上部のタブから Run > Run... を選択
image.png

+ > Android App を選択
image.png

Module を選択しApplyを選択しRunを選択
image.png

Create New Virtual Device を選択
image.png

使用したいデバイスを選択を選択
image.PNG

Download 選択してDLする
image.PNG

選択したデバイスが表示されるので、選択してOKを選択
image.png

Error running 'Hello World': Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
とエラーが出る場合は
image.png
上部のタブから File > Settings > Build, Execution, Deployment > Instant Run を選択
そして Enable Instant Run to hot swap code/resource changes on deploy (default Eenabled) のチェックを外す
image.png

実行

右上の再生ボタンで実行する
image.png

実行するとこのような画面が開く
image.png

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0