Profile cover photo
Profile photo
Tiou Lims
107 followers
107 followers
About
Communities and Collections
View all
Posts

Post has attachment
Weird behavior. I create some test using groovy, after I run the test IDE throws a "Empty test suite" error. I found that this because of IDE didn't add `build/classes/groovy/test` to classpath. so I add it manually.

testRuntimeOnly files("build/classes/groovy/test")

Than everything is fine I can run the test properly except the editor has a error hint: "class already exists"

IDE: Android Studio 3.0 Beta 5

Is this a bug of Android Studio?
PhotoPhotoPhotoPhoto
2017/9/13
4 Photos - View album

Post has attachment
How can I use annotations to represent a parameterized type?

Post has attachment

Post has attachment

Post has attachment
最新(48aacee)的 https://github.com/JakeWharton/pidcat 在显示颜色出了问题(#ArchLinux #kconsole)。换了 #aur 或 brew 上的版本却无输出,需要在 174行加入 `adb_command.extend(['-v', 'brief'])` 才能正常输入,主要是新的 adb logcat 输出格式变了, #pidcat 正则匹配不上。

#AndroidStudio2.0 新增的 #InstantRun,会为运行时的类注入一个新字段 $change ,类型 #IncrementalChange。做反射的时候容易遇到坑。可通过判断字段类型名过滤掉

"com.android.tools.fd.runtime.IncrementalChange".equals(_fields[i].getType().getName())

Post has attachment

Post has attachment
亲身经历不得不信,Nexus 7 2013 卡在第一屏不能启动,解决方法竟然是敲几下再掰几下。

Post has attachment
sdk 23.0.1 已经移除了 Apche http 库,Good job!

Post has attachment
Wait while more posts are being loaded