
安卓Error
菜鸡03号
为3年后的架构而战
展开
-
Android Studio --“Cannot resolve symbol” 解决办法
Android Studio 无法识别同一个 package 里的其他类,将其显示为红色,但是 compile 没有问题。鼠标放上去后显示 “Cannot resolve symbol XXX”,重启 Android Studio,重新 sync gradle,Clean build 都没有用。多半是因为 Android Studio 之前发生了错误,某些 setting 出了问题。解决方法如转载 2017-02-28 02:48:03 · 1885 阅读 · 1 评论 -
Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法
最近更新了一下Android Studio(下文简写成AS),然后打开工程发现出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request",如图:什么鬼。几番折腾,终于知道原因了。直接写解决方案吧。1。打开设置2。依次选择图中的第一步,第二步。并设置gradle的目录转载 2017-03-07 23:39:49 · 933 阅读 · 0 评论 -
Android NotificationsetLatestEventInfo弃用和NotificationBuilder用法(1/2)
今天使用4.0.3使用Notification notification2 = new Notification(R.drawable.advise2, "通知测试", System.currentTimeMillis());notification2.setLatestEventInfo(getActivity(), "testTitle", "testContent"转载 2017-03-07 23:40:52 · 627 阅读 · 0 评论