[英]How can i clone from git for try to testing in my android?
I want to try to run this airbnb clone app in my android studio but the problem is it's not working in my android studio我想尝试在我的 android studio 中运行这个 airbnb clone 应用程序,但问题是它在我的 android studio 中不起作用
https://github.com/mdy0501/Airbnb https://github.com/mdy0501/Airbnb
It just show in my console它只显示在我的控制台中
!-- console --! ! - 安慰 - !
7:01:05: Executing task...
> Task :help
Welcome to Gradle 5.1.1.
To run a build, run gradle <task> ...
To see a list of available tasks, run gradle tasks
To see a list of command-line options, run gradle --help
To see more detail about a task, run gradle help --task <task>
For troubleshooting, visit https://help.gradle.org
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
7:01:05: Task execution finished.
I want to know how to run that app in my android AVD我想知道如何在我的 android AVD 中运行该应用程序
Is that possbile..?这可能吗..? running in my android studio that app ?在我的 android studio 中运行那个应用程序? i can't find how to run...我找不到怎么跑...
Before Run
the demo you should sync your project在Run
演示之前,您应该同步您的项目
You will see a lot output in the Build
window at the Android Studio bottom.您将在 Android Studio 底部的Build
窗口中看到大量输出。
Project sync successfully the Run
button will look like this.项目同步成功Run
按钮将如下所示。
If sync
operation failed it means project did not configure correctly just try to fix the error according to the sync
output.如果sync
操作失败,则表示项目未正确配置,只需根据sync
输出尝试修复错误即可。
Add SDK Location in your local.properties file as below在您的local.properties文件中添加SDK 位置,如下所示
sdk.dir=C\:\\Users\\Aditya\\AppData\\Local\\Android\\Sdk
If correct location already present.如果正确的位置已经存在。 Try following options尝试以下选项
Edit 1编辑 1
Try with File -> Invalidate Caches -> Invalidate,尝试使用 File -> Invalidate Caches -> Invalidate,
Delete .gradle and .idea folder in Project删除项目中的.gradle和.idea文件夹
Delete .AndroidStudio3.1 folder from Home directory [take backup if you want]从主目录中删除.AndroidStudio3.1文件夹 [如果需要,请进行备份]
Then close project from Android Studio, and Remove project from List.然后从 Android Studio 关闭项目,并从列表中删除项目。 Try to start again尝试重新开始
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.