LoginSignup
0
0

More than 1 year has passed since last update.

Android Studio エミュレーターでのエラー Qt platform plugin could be initialized ... 【備忘録】

Posted at

■事象

Android StudioでADV Managerからエミュレーターを指定して、起動した時にエラーが出てきた

■エラー文

「This application failed to start because no Qt platform plugin could be initialized. Reinsalling the application may fix this problem」

■原因を探ってみる

グーグル検索したところ、他のソフトウェアで定義された環境変数がアプリケーションと競合するために発生しているので、アプリケーションを起動する前に、現在の環境から以下の変数を削除してください。とのことだったので、環境変数を見てみたが以下の環境変数は設定していない。なぜ?
・QT_PLUGIN_PATH
・QML2_IMPORT_PATH

■本当の原因

どうやら、C:\Users{username}直下のAndroidStudioのSDKやら何やらにアクセスできないため発生していたらしい

usenamerフォルダ以下の、「読取り専用」「隠しフォルダ」の属性のチェックを外したら無事に起動するようになった。
そんなバカな

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