📜  引起:java.lang.runtimeexception:找不到安装的构建工具.安装 android 构建工具 19.1.0 或更高版本. - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:44.638000             🧑  作者: Mango

代码示例1
Fix it by downloading sdk package called platform-tools and buid-tools using sdkmanager. You can use sdkmanager.exe or if you use SDK CLI, go to ~\AppData\Local\Android\sdk\tools\bin and run this command:

sdkmanager "platform-tools" "platforms;android-26"

This should fix the problem.