0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[AndroidStudio3.2]キャッシュを消しても"default activity not found"が消えないときの対処法(Windows)

Last updated at Posted at 2018-12-09

AndroidManifest.xmlをなにもいじってないのに"default activity not found"のせいでビルドできないとき

AndroidManifest.xmlはなにもいじってないのに突然"default activity not found"が出て困ったので対処法をまとめておきます。

やったこと

  • メニューのBuild > Clean ProjectしてBuild > Rebuild Project
  • メニューのFile > Invalidate Caches/Restart
  • C:\Users\username\ にある以下のフォルダを削除 -> AndroidStudio再起動
    • .android
    • .AndroidStudio3.2

私の場合、これでエラーが消えました。
めでたしめでたし。

参考
https://stackoverflow.com/questions/52640863/android-studio-3-2-default-activity-not-found

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?