android开发笔记点与调试

一:从2007移动端兴起以来,是开源运动发达的开始。 android github stackoverflow.这些编程运动无不在提升着大陆技术行业的水平。抓住开源与社会化浪潮,拥抱他,珍惜他,发展他。

https://blog.csdn.net/Calvin_zhou/article/details/80880501  Android开发之——依赖冲突Program type already present

https://blog.csdn.net/u010399316/article/details/45331351  android 中在activity弹出一个对话框,并不会执行onpause生命周期方法

1,usb-over-wifi

https://medium.com/@kpbird/use-adb-over-wi-fi-without-extra-application-or-software-6e9bcb9f625c

// Fully qualified package name.

The device is connected to an unmetered network (不以流量计费的网络)

2 https://blog.csdn.net/AdobeSolo/article/details/73470377  Android CPU架构解析

3,adb shell里 压缩文件

/sdcard/360 $ zip_utils  evan.zip 123/*    将/sdcard/360下的 123目录下的文件压缩到 evan.zip

4,adb 读取 settings
https://stackoverflow.com/questions/17026171/how-to-set-brightness-through-adb-on-nexus-7

huawei:

settings get secure adb_install_need_confirm 

settings get global allow_charging_adb

settings get global package_verifier_enable

mi 8

settings get secure package_verifier_user_consent=0

settings get global package_verifier_enable

development_settings_enabled  Settings.Global.DEVELOPMENT_SETTINGS_ENABLED

https://blog.csdn.net/yelangjueqi/article/details/52575233   >>>> Android adb shell后面可用的常用命令详细列举

weibo sso调试, 在微博后台开发者网站中将 debugkey 换成 relaase key,然后看授权返回来调试

{\"text\":\"\",\"type\":\"NewAward\",\"title\":\"\”}

6:getIMSI android 22以上 需要处理权限请求,否则会SecurityExcption. 更严重如果在Application onCreate时直接调用 getIMSI没处理权限的话

直接启动不了app。  需要手动到系统设置找到该app手动赋予 获取Imsi权限。 可以算一个小事故。

5:qq auth: 

12-15 16:35:05.931 15078-15078/com.hy.changxian D/com.hy.changxian.auth.OAuth: onComplete. data = {msg=, ret=0, unionid=, gender=男, is_yellow_vip=0, city=宜春, level=0, openid=89197E725ACC6C09155E54F3C0205C33, profile_image_url=http://thirdqq.qlogo.cn/qqapp/1105571225/89197E725ACC6C09155E54F3C0205C33/100, accessToken=16AC6B382795ADB2B1E2277F79087BE0, access_token=16AC6B382795ADB2B1E2277F79087BE0, uid=89197E725ACC6C09155E54F3C0205C33, is_yellow_year_vip=0, province=江西, screen_name=◎★dodo★☆, name=◎★dodo★☆, iconurl=http://thirdqq.qlogo.cn/qqapp/1105571225/89197E725ACC6C09155E54F3C0205C33/100, yellow_vip_level=0, expiration=1552638905315, vip=0, expires_in=1552638905315}

12-15 16:35:05.932 15078-15078/com.hy.changxian D/com.hy.changxian.about.LoginDialogActivity: onAuthSuccess. userInfo = {platform: qq, openid: 89197E725ACC6C09155E54F3C0205C33, name: ◎★dodo★☆, avatarUrl: http://thirdqq.qlogo.cn/qqapp/1105571225/89197E725ACC6C09155E54F3C0205C33/100}

6 Failed to resolve: com.android.support:appcompat-v7:26.0.1

7 解决Android Studio编译时出现GC overhead limit exceeded  https://blog.csdn.net/hdhdgdhdh/article/details/72860401

8 https://blog.csdn.net/weixin_37639900/article/details/100552886  java.lang.ClassNotFoundException com.google.wireless.android.sdk.stats.IntellijIndexingStats$Index

你可能感兴趣的:(android开发笔记点与调试)