![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
AndroidStudio使用问题
Android-Sky
Android开发知识梳理,为自己开发更顺心!
展开
-
android studio 升级到最新版本白狐4.2 r: com/a/d/d has been compiled by a more recent version of the Java Runt
nternal error. Please refer to https://code.google.com/p/android/issuesjava.lang.Exception: As a workaround, you may uninstall or update JetBrains Marketplace Support plugin at C:\Users\hp\.AndroidStudio4.0\config\plugins\marketplace at com.intellij....原创 2021-07-30 14:34:11 · 980 阅读 · 1 评论 -
Failed to find byte code for * "问题导致Instant Run失败问题解决
1 . project’s build.gradle 修改 com.android.tools.build:gradle:3.1.0 -> com.android.tools.build:gradle:3.0.1 2 . gradle-wrapper.properties 修改 distributionUrl=https://services.gradle.or...原创 2018-08-28 11:19:47 · 1506 阅读 · 0 评论 -
com.android.builder.dexing.DexArchiveBuilderException
被这个bug 折磨了半天,比对之前代码,发现如果你的module 中使用了 Java1.8,那你必须也要添加如下代码到你的app gradle 中compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 }...原创 2019-10-16 17:44:30 · 144 阅读 · 0 评论 -
If an application has more than one locale, then all the strings declared in one language should als
字符串资源多国语言版本的出错问题假如你仅仅针对国内语言 加上这句即可//保留中文支持resConfigs "zh"原创 2019-10-09 12:21:42 · 342 阅读 · 0 评论 -
Gradle's dependency cache may be corrupt解决方法
问题描述: 1 2 3 4 5 6 7 Error:Unable to find method 'com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/Loadi...原创 2019-09-25 17:44:38 · 426 阅读 · 0 评论 -
LinearLayout 动态判断可见子布局多少
int tempChildCount = 0;for (int i = 0; i < mLlCommonTag.getChildCount(); i++) { if (mLlCommonTag.getChildAt(i).getVisibility() == View.VISIBLE) { tempChildCount++;//LinearLayout 中子可见v...原创 2019-07-26 14:50:18 · 967 阅读 · 0 评论 -
Android Studio 中json视图格式插件
在 Androidstudio setting 中的plugins 搜索jsonparse 可以看清完整的视图层级 并进行折叠查看jsonViwe 只能进行格式化 不可折叠查看 但是可以实现 json不全的情况下 也可格式 ...原创 2019-07-22 14:18:01 · 4088 阅读 · 0 评论 -
Android Studio 网络连接异常
可能是以前设置了 代理了 去掉代理 选择No Proxy原创 2019-07-30 12:30:31 · 3384 阅读 · 0 评论 -
Androidstudio 3.4打包并生成签名
基本一致https://blog.csdn.net/xiayiye5/article/details/80943816生成debug和release 版本原创 2019-06-19 10:15:23 · 2377 阅读 · 0 评论 -
Androidstudio 新建项目问题
defaultConfig { applicationId " " minSdkVersion 14 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test....原创 2018-05-29 16:54:32 · 187 阅读 · 0 评论 -
build.gradle 升级问题
build.gradle 由于可能使用最新的谷歌控件 需要升级的 build出现丢失文件出现下面的问题解决方案两个如下Error:No resource found that matches the given name (at 'paddingTop' with value '@dimen/abc_dialog_list_padding_vertical_material').1 保持下面三个...原创 2018-05-29 16:51:42 · 1147 阅读 · 0 评论