LoginSignup
2
2

More than 5 years have passed since last update.

The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).

Posted at

VisualStudioでUSBデバッグを行い配置した直後に下記のメッセージが出た場合、
手動でアプリをアンインストールしましょう。

Android application is debugging.
The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).

Additionally, check Build->Configuration Manager to ensure this project is set to Deploy for this configuration.

スマートフォンをシェアして使っている場合などに発生すると思います。
自分のVSでUSBデバッグしてインストールした場合は問題ないのですが、
別口でインストール済みの場合は、手動で消してから出ないとUSBデバッグできません。

2
2
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
2