Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hailouwang/androidgo
Android、Flutter 开发者帮助 APP。包含事件分发、性能分析、Google Jetpack组件、OkHttp、RxJava、Retrofit、Volley、Canvas绘制以及优秀博文代码案例等内容,帮助开发者快速上手!
https://github.com/hailouwang/androidgo
android apidemos arouter dart flutter java jetpack lifecycle livedata mvvm okhttp retrofit rxjava volley
Last synced: 27 days ago
JSON representation
Android、Flutter 开发者帮助 APP。包含事件分发、性能分析、Google Jetpack组件、OkHttp、RxJava、Retrofit、Volley、Canvas绘制以及优秀博文代码案例等内容,帮助开发者快速上手!
- Host: GitHub
- URL: https://github.com/hailouwang/androidgo
- Owner: HailouWang
- License: other
- Created: 2020-03-20T04:25:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T12:22:52.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T09:01:14.054Z (27 days ago)
- Topics: android, apidemos, arouter, dart, flutter, java, jetpack, lifecycle, livedata, mvvm, okhttp, retrofit, rxjava, volley
- Language: Java
- Homepage:
- Size: 27.5 MB
- Stars: 34
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 一、背景
帮助 Android 开发者,快速上手。
## 二、开发者们
欢迎共建
1、[HailouWang](https://github.com/HailouWang) 微信 :15911136758
## 三、问题### 3.1、升级Flutter 版本。
```
localhost:AndroidGo hailuwang$ flutter --version
Flutter 1.17.1 • channel unknown • unknown source
Framework • revision f7a6a7906b (3 weeks ago) • 2020-05-12 18:39:00 -0700
Engine • revision 6bc433c6b6
Tools • Dart 2.8.2
```### 3.2、``git clone`` 之后,需要更改 ``./flutter_demo/.android/local.properties`` 中 环境变量信息
```properties
sdk.dir=/Users/hailuwang/Library/Android/sdk
flutter.sdk=/Users/hailuwang/tools/flutter
`````flutter_demo`` 工程,如果遇到问题,需要先行编译,编译命令:
```groovy
flutter --no-color packages get
```### 3.2、已适配androidx,Flutter 环境,需要更新到最新,建议更换Flutter 的更新源,配置如下:
``{flutterRoot}/flutter/packages/flutter_tools/gradle/flutter.gradle``
```properties
buildscript {
repositories {
- google()
- jcenter()
+maven { url 'https://maven.aliyun.com/repository/google' }
+maven { url 'https://maven.aliyun.com/repository/jcenter' }
+maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
@@ -41,7 +42,8 @@ android {
apply plugin: FlutterPlugin
class FlutterPlugin implements Plugin {
- private static final String MAVEN_REPO = "https://storage.googleapis.com/download.flutter.io";
+ //private static final String MAVEN_REPO = "https://storage.googleapis.com/download.flutter.io";
+ private static final String MAVEN_REPO = "https://storage.flutter-io.cn/download.flutter.io";
// The platforms that can be passed to the `--Ptarget-platform` flag.
private static final String PLATFORM_ARM32 = "android-arm";
```
## 四、UI![页面1](https://upload-images.jianshu.io/upload_images/3828779-541d87094fa2eabc.gif?imageMogr2/auto-orient/strip|imageView2/2/w/344/format/webp)
![页面2](https://upload-images.jianshu.io/upload_images/3828779-6e5d9d3e61d4f9ce.gif?imageMogr2/auto-orient/strip|imageView2/2/w/344/format/webp)
![页面3](https://upload-images.jianshu.io/upload_images/3828779-eb0cec16069aee43.gif?imageMogr2/auto-orient/strip|imageView2/2/w/344/format/webp)## 五、开源协议
Copyright (c) [2020] [wanghailu]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.