问题背景 困扰博主近一个月的问题,导致近一个月没办法进行 Android 开发的问题终于解决了!
问题错误特征 Could not run phased build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-5.5.1-all.zip' A problem occurred configuring root project 'PlanAssistant'. Could not resolve all artifacts for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:3.5.3. Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'. Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'. Read timed out 就是这一句 Read timed out,在过去的一个月里,我天天都看到这句报错,始终找不到比较好的解决方案。经过各种 Google,Baidu,bing,发现解决方案大致分为两种:
...
Ubuntu 安装 Android Studio
网上关于 Linux 环境下安装 Android Studio 的教程很多,但是因发行版的不同而异,在这里记录使用官网提供的打包好的安装包安装在 Zorin 系统上并创建快捷方式的方法:
第一步:官网下载安装包
...
【持续集成】Android使用Github Action自动打包并发布Fir.im内测
!!!
Photo by Mesut Kaya on Unsplash !!!
为什么封面图是一张旅游的照片?因为使用 CI/CD 等工具高效的完成工作,就可以出去玩了!
前言 GitHub Actions 是 GitHub 官方提供并免费提供给开源仓库使用的持续集成服务,在进入本文主题之前,先讲讲什么是持续集成 (CI/CD) 。
...
Deepin(Linux)下实现Android投屏
Deepin(Linux)下实现Android投屏 最近需要演示自己的安卓开发作品,因此需要在自己的主力操作系统(Deepin)上实现安卓投屏,之后才好连接电脑在班级里演示。找寻一圈之后终于发现了开源的Linux端投屏神器Scrcpy. 因此在这里简单记录配置过程,方便后用。
项目源码:Scrcpy的GitHub
简单说明 Scripe支持桌面全平台。
It works on GNU/Linux, Windows and MacOS.
但是在这里主要记录下Linux下的Deepin系统配置。
...