android - 无法从github运行演示android项目

标签 android github android-studio gradle android-gradle-plugin

我最近开始进行android开发,并且在其中我想添加一些我在github上发现的功能。我从未将项目导入android studio,并且遇到了问题。我已经从https://github.com/CyberAgent/android-gpuimage下载了zip文件。我已经将其解压缩并在android studio中打开了项目:

enter image description here

这是打开项目时显示的屏幕,我想通过单击运行从屏幕上运行``示例'',但出现错误:

enter image description here

enter image description here

在运行项目之前,我也尝试过使项目同步化,但是没有用。我想念什么吗?在Github上说该项目的构建是有效的。

最佳答案

好了,关于您的问题在这里的错误很清楚。 Android documentaion概述了对构建系统here的更改,更具体地说,概述了错误中建议的experimental plugin。仔细阅读它,并遵循如何迁移构建系统。

关于android - 无法从github运行演示android项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31777498/

相关文章:

java - 调整 ListView 中列表项的大小

android - 如何进行 Android BLE 被动扫描?

android-studio - kotlin 中的全局对象声明

java - 如何从不同的 Activity 检索 boolean 值?

Android:继续监听位置更新

android - Android中用于设计GUI的工具

github actions的参数传递问题

git - 从 Github 克隆存储库到 Windows

GitHub 组织 repo + Jenkins(GitHub 插件)集成

android-studio - 错误:任务执行失败:app:transformClassesWithJarMergingForRelease