Android

(219)

华为手机安装 Chrome 浏览器

由于华为手机系统内置的浏览器似乎是 UC 浏览器,各种垃圾新闻,私自篡改网站页面,无法忍受。 还是得使用 Chrome 浏览器。 ## 安装 Chrome 浏览器的方法 先在华为系统内置浏览器中搜素豌豆荚,下载安装豌豆荚。

Win10 Android Studio 编译 flutter 卡在 Download https://services.gradle.org/xxx 及 Initializing gradle

好久没有打开过 Android Studio 了,晚上为了尝试 Flutter,升级了一下 Android Studio。但是,在升级 Gradle 版本时,卡住了,停止 4% 不动了。 原来国内从 https://services.

Google 开发者大会 I/O 2019

为了防止自己落伍,周末看了一下 2019 年的 Google 和微软的开发者大会视频。Google 的开发者大会还是相当惊艳,很多新的技术给了我启发。相比之下,微软的开发者大会就偏商业化一点,更像广告大会。并没有特别震撼的东西。 记录

解决小米手机上 Google Play 无法下载应用

我的小米手机上,可以正常的打开 Google Play,也能搜索,查看,但就是点击下载 APP 应用安装时,一直卡在那里,没有进度。 显示为: > 正在等待下载 在贴吧找到一个解决方案: 将小米手机自带的 “下载管理

制作 Android 应用图标

选择项目的 Android 视图模式,在 res 目录上右键,选择 New - Image Asset。 ![制作 Android 应用图标](https://cdn.sunzhongwei.com/sunzhongwei_5c223

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

在 Android Studio 上测试 Volley 发送 HTTP 请求时,编译报错 > WARNING: Configuration 'compile' is obsolete and has been replaced wit

Android 项目的代码目录结构

由于非常不习惯使用 Android Studio 敲 java 代码,对于 java 这种啰嗦的语言,我决定敲代码的时候使用 VIM,而在需要代码检查及编译的时候使用 Android Studio。 习惯了看 Project 及 An

Casting 'findViewById(R.id.)' to 'Button' is redundant

参照着 Android 权威编程指南第三版中的代码示例 ``` mTrueButton = (Button) findViewById(R.id.true_button); ``` Android Studio 提示错误:

注册了 Google Play 开发者账号

鉴于对 UWP 广告效果及收益异常失望,而且微软自身 UWP 应用的用户体验及功能都感觉毫不上心,我决定暂时抛弃 UWP 开发。 Android 系统是 Windows 之外,我日常用的最多的系统。所以我决定用 Android 做点东

Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle

新安装的 Android Studio 3.2.1, 编译时报错 > Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy set