随笔分类 - Android
摘要:有时候感觉真的要放弃了,还没有到业务调试的层面,先卡在了环境、网络、组件的引用、找不到对应的包上; 这时候,感觉自己不适合干这行。 尤其是android、ios 1、Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kot
阅读全文
摘要:1、新建一个page 2、将该page加到router import 'package:flutter/material.dart'; import 'package:flutter_bcd/pages/account/register_page.dart'; import 'package:flu
阅读全文
摘要:1、加载本地图片: Transform.translate( offset: Offset(-11.0, -73.0), child: // Adobe XD layer: '注册APP背景' (shape) Container( width: 413.0, height: 733.0, decor
阅读全文
摘要:1、gitlab create new projects; 2、copy the git url. 3、open the exists projects. 4、 5、click the open button. 6、
阅读全文
摘要:Because the zipalign version is too old. so,you could find the new version file that path in sdk.dir=/Users/houzhibin/Library/Android/sdk copy this fi
阅读全文
摘要:1、有androidstudio开发环境,配置好环境变量 2、adb shell 到这个命令行中执行命令 monkey ; 3、正确的语句:monkey -p com.wbh.mall.spgapp -v 10000 4、导出log语句: 二、使用步骤: 1.清空log:adb logcat -c
阅读全文
摘要:android 环境变量的配置: 没配置的时候: 打开mac的terminal终端,输入 cd ~/ 【进入当前用户的home目录】输入 touch .bash_profile 【如果没有.bash_profile这个文件,则创建一个这个文件】输入 open .bash_profile 【打开我们创
阅读全文
posted @ 2019-07-31 16:42
hoge
摘要:build_tools_version是 ext 定义的吗?
阅读全文
posted @ 2019-07-28 13:17
hoge
摘要:Program type already present: com.ta.utdid2.b.a.e" 错误提示; 删掉libs中utdid的jar。
阅读全文
posted @ 2019-04-28 14:12
hoge
摘要:1、Could not get unknown property 'bootClasspath' for object of type org.gradle.api.tasks.compile.CompileOptions. 2、API 'variant.getJavaCompiler()' is
阅读全文
posted @ 2019-04-28 13:21
hoge
摘要:注意位置,在application 节点里面。
阅读全文
posted @ 2019-03-15 16:36
hoge
摘要:删掉一个试试
阅读全文
posted @ 2019-03-14 16:37
hoge
摘要:1、每次升级生成apk前,修改versionName: 位置: 2、修改数据库表中对应version字段与之对应; 3、出现waiting for debugger,要重启手机; 5、解析包错误,是apk文件下载出现不完整造成的,注意下载地址的填写;
阅读全文
posted @ 2019-02-27 15:50
hoge
摘要:;1、问题点在于 下图红框里写成 text/html了,需要改成application/json,造成的问题有:unexpected end of stream 这个是406错误;加上日志之后okhttp好用了: 日志:
阅读全文
posted @ 2019-01-24 20:53
hoge
摘要:View:主要负责界面的显示及跟数据无关的逻辑,比如设置控件的点击事件等 Presenter:主要负责View与Model的交互 Model:数据部分 MVP的核心是: View层不持有Model层对象任何引用,当然参数里面和临时变量里可以有Model层对象,只持有Presenter层对象引用,任何
阅读全文
posted @ 2019-01-21 12:37
hoge