
Android Studio
Jahonn
这个作者很懒,什么都没留下…
展开
-
Android Studio Tips Of the Day – Roundup #1
Turns out that I am not that good at keeping a commitment. The previous post was supposed to be a new series that I would contribute to but here we are, one year later!So I am starting this all ov翻译 2014-12-23 12:05:46 · 482 阅读 · 0 评论 -
Android Studio遇到Failed to resolve: common问题
最近在学习Google todomvp项目,但是导入Android Studio时报错了Failed to resolve: common然后参考Stack Overflow上的一个答案将Project的build.gradle文件中的google()挪到jcenter()上面一行就可以了buildscript { repositories { google() ...原创 2018-06-10 11:20:35 · 13121 阅读 · 16 评论 -
Android Studio下载gradle速度慢的解决办法
去gradle官网手动下载压缩包http://services.gradle.org/distributions/如gradle-4.4-all.zip然后存入类似C:\Users\username\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1的文件夹中...原创 2018-06-10 11:30:53 · 3314 阅读 · 0 评论 -
Android Studio应用Material Theme UI
步骤详见 https://meedamian.com/post/deuglifying-android-studio/简要步骤:1.插件中搜索Material Theme UI安装并重启AS2.插件中搜索ChroMATERIAL安装并重启AS3.File >> Settings >> Editor >> Colors & Fonts >> S...转载 2018-06-25 12:06:07 · 2382 阅读 · 0 评论 -
Error:This Gradle plugin requires a newer IDE able to request IDE model level 3.
新公司android开发环境使用的是Android Studio 2.3.3在导入项目时报错Error:This Gradle plugin requires a newer IDE able to request IDE model level 3. For Android Studio this means version 3.0+提示要使用3.0以上版本的Android Studio百度了一...转载 2018-06-25 16:20:05 · 4991 阅读 · 2 评论 -
Error:Could not find com.android.tools.build:gradle:3.0.1.
导入了github上一个项目提示Error:Could not find com.android.tools.build:gradle:3.0.1.搜到一篇文章,https://www.2cto.com/kf/201712/708748.html感觉跟之前学MVP时遇到的问题类似,都应该是gradle4之后的问题,在build.gradle中的jcenter()上一行加上google()就好了bu...原创 2018-06-25 17:41:04 · 2279 阅读 · 1 评论 -
Tensor on Android学习笔记(一) ----在Windows下只用Android Studio编译运行TensorFlow Android demo
1.下载安装Android Studio2.下载NDK,官方文档中提到使用bazel编译的话推荐使用14b,并且NDK 16在bazel编译模式下会有问题,但是windows下应该都是可以的,不过最好还是使用14b吧3.下载代码到本地git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git官方文档中提到使...原创 2018-06-26 09:56:57 · 685 阅读 · 0 评论 -
Ubuntu下Android Studio导入项目卡在':app:mergeDebugResources'解决办法
64位Ubuntu导入android 项目时经常卡在mergeDebugResources,过几个小时都没进展后来搜了好多方法都没有用,最后发现是aapt需要32位的库。。解决方法:sudo apt-get update sudo apt-get install gcc-multilib lib32z1 lib32stdc++6...原创 2018-07-06 14:05:37 · 3111 阅读 · 1 评论 -
为kotlin配置progaurd
-keep class kotlin.** { *; }-keep class kotlin.Metadata { *; }-dontwarn kotlin.**-keepclassmembers class **$WhenMappings { <fields>;}-keepclassmembers class kotlin.Metadata { publi...转载 2018-10-11 10:59:30 · 550 阅读 · 1 评论