- 博客(5)
- 收藏
- 关注
原创 java.lang.IllegalAccessException: class xxx is not accessible from class android.app.Instrumentation
java.lang.IllegalAccessException: class xxx is not accessible from class android.app.Instrumentation请注意你的类的权限修饰符是否为public,这个问题经常性会遇到也经常性忘记记录一下.
2020-06-07 20:30:40 1919
原创 解决使用AsyncHttpClient返回数据出现onsuccess总是在返回方法结束后才执行问题
话不多说直接上有问题的代码 public static String getlogin(String url)throws Exception { client = new AsyncHttpClient(); client.get(url, new TextHttpResponseHandler() { @Override public void onFailure(int statusCode, Header[] headers, String
2020-06-05 11:22:00 983 1
原创 This application does not have the debuggable attribute enabled in its manifest.
This application does not have the debuggable attribute enabled in its manifest.遇到程序无法调试出这个问题,可以试试以下三个方法1.在AndroidManifest.xml文件中搜索"debuggable", 如果debuggable属性存在且为false的话是不能调试的,将其改为true就好了。2.在gradle中构建调试,例如以下代码buildTypes {debug {applicationIdSuffix “
2020-06-04 17:15:14 4272 2
原创 Cause: duplicate entry: okhttp3/Address.class
Cause: duplicate entry: okhttp3/Address.class针对这个问题网上有许多检查方法,当你确确实实没看出来哪有问题不妨再你的build文件中加上这么一句话:android {configurations {all*.exclude group: ‘com.squareup.okhttp3’, module: ‘okhttp’}...
2020-06-03 17:06:17 435
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人