Android 颤振无法确定相关性';:应用程序:CompiledBugJavaWithJavaC';
我试图在android studio上运行第一个颤振项目,但一次又一次地出现此错误:(Android 颤振无法确定相关性';:应用程序:CompiledBugJavaWithJavaC';,android,android-studio,flutter,Android,Android Studio,Flutter,我试图在android studio上运行第一个颤振项目,但一次又一次地出现此错误:( 确保SDK中的构建工具中包含所有文件 在Android->SDK中找到构建工具。 在构建工具中,您可以在28.0.3中找到构建工具的版本 确保有完整的文件。 您可以从其他系统复制文件、从下载或尝试重新安装SDK。这是否回答了您的问题?希望这对您有所帮助 C:\Users\Pro\flutter_app>flutter run Running "flutter pub get" in
确保SDK中的构建工具中包含所有文件 在Android->SDK中找到构建工具。 在构建工具中,您可以在28.0.3中找到构建工具的版本 确保有完整的文件。
您可以从其他系统复制文件、从下载或尝试重新安装SDK。这是否回答了您的问题?希望这对您有所帮助
C:\Users\Pro\flutter_app>flutter run Running "flutter pub get" in flutter_app... 1.1s Launching lib\main.dart on INE LX1 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Failed to find Build Tools revision 28.0.3
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 10s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 71.5s Exception: Gradle task assembleDebug failed with exit code 1