エラーメッセージ |
---|
Unable to start the daemon process.
The project uses Gradle 4.4 which is incompatible with Java 11 or newer.
Possible solution:
- Upgrade Gradle wrapper to 4.8 version and re-import the project
解決 |
---|
[ファイル] -> [設定] をクリックし、Gradle 構成インターフェイスに移動すると、AS に付属するデフォルトの JDK11 が使用されていることがわかります。
これをコンピュータにインストールされている JDK1.8 に変更し、「適用」→「OK」をクリックして、プロジェクトを再同期します。
上記の方法が機能しない場合は、build-gradle ファイル内のバージョンを Android Studio と同じになるように変更します。