maikeruのポケモン育成日記

maikeruのブログです。ポケモンをはじめとしたゲームの考察や感想、その他色んなことを書いていきます。

VS "Failed to find style 'coordinatorLayoutStyle' in current theme"

Android StudioBasic Activityを選んで、さあアプリ開発を始めよう!

→"Failed to find style 'coordinatorLayoutStyle' in current theme"

 

アプリのビューがグレー一色になってしまい、プロジェクト作成と同時に見えるはずのHello Worldも見えない。

何も悪いことしてないのにいきなりこんなエラー吐かれて困っちゃいますよね。

 

結果的にはここに書いてあったように、Android SDK Platform 28をアンインストールしたら解決しました(Twitterで"Failed to find style 'coordinatorLayoutStyle' in current theme"で検索して見つけました。英語にも怯まず読んでみるものですね。)。

Android Studio 3.1.3 having issues with Constraint layout, Error Failed to find style 'coordinatorLayoutStyle' in current theme - Stack Overflow

操作法を書くと、

Tools> SDK Manager> System setting> Android SDK> Show package detail(右下のチェックボックスにチェックを入れる)>Android SDK Platform 28のチェックを外す > apply

その後プロジェクトを作り直したら大丈夫でした。

 

"Failed to find style 'coordinatorLayoutStyle' in current theme"にお困りの方はぜひ試してみてください。

プライバシーポリシー