- 博客(5)
- 问答 (8)
- 收藏
- 关注
转载 NoClassDefFoundError when Espresso Tests are run
I've solved this problem adding to gradle the following code: configurations { androidTestCompile.exclude group: 'com.android.support', module: 'support-v4' } 0down vote
2016-01-28 16:25:00 332
转载 Data Binding & Espresso: IllegalAccessError: Class ref in pre-verified class resolved to unexpected
You can turn off class verification using following commands: adb shell setprop dalvik.vm.dexopt-flags v=n,o=v adb shell stop installd adb shell start installd It works on an emulator, I do not have
2016-01-28 16:10:52 573
翻译 Resolving conflicts between main and test APK
When instrumentation tests are run, both the main APK and test APK share the same classpath. Gradle build will fail if the main APK and the test APK use the same library (e.g. Guava) but in different
2016-01-27 10:05:59 575
原创 Android客户端中权限的控制
在客户端产品中有一个常见的场景,游客身份可以浏览,当进入需要登录的界面A时,弹出登录框,用户输入用户名密码,客户端跳进界面A。 简单的实现方案是,在点击按钮上实现当前用户身份的判断,如果用户未登录时,跳到登录界面,否则进入目标界面。 但是当越来越多的界面都需要做验证时,这种方案就变得很难维护。 怎样通过不侵入当前代码的方式实现身份的过滤呢? 首先,既然是基础功能,肯定要在B
2016-01-21 13:36:51 492
转载 Https工具类
import java.io.IOException; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import java.util.HashMap; import java.util.Map; import javax.net.ssl.SSLContext;
2016-01-06 21:01:34 569
空空如也
Intent只设置Category不设置Action难道不行吗?
2011-01-04
Android 菜鸟问题???????????????
2010-12-31
Android创建中文名称文件乱码问题
2010-08-10
eclipse菜鸟级问题
2010-05-27
前台的js验证有系统漏洞吗?
2009-10-13
讨论一个hibernate拦截器问题
2009-01-06
hibernate拦截器问题???
2009-01-05
TA创建的收藏夹 TA关注的收藏夹
TA关注的人