
Android Studio常见错误
我来找茬啊
何以解忧,唯有杜康
展开
-
Android Studio安装插件提示Plugin is not compatible with the current version的一种解决方法
最近想要给Android Studio安装Android Size Analyzer这个插件,当前Android Studio版本如下:Android Studio Bumblebee | 2021.1.1 Patch 2//Build #AI-211.7628.21.2111.8193401结果到插件市场搜索不到,只好到github仓库https://github.com/android/size-analyzer/releases/tag/v0.3.1下载jar包,选择从磁盘安装,结果安装时原创 2022-04-06 17:38:55 · 9422 阅读 · 1 评论 -
Android开发报错: Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
将Gradle从1.5升级到2..0以上的时候,有时编译会报这个错:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’ 一种解决方法是:将原项目的build.gradle文件中的这段:allprojects { repositories { jcenter(原创 2016-04-27 10:42:28 · 4983 阅读 · 0 评论 -
Android开发报错:AppCompat does not support the current theme features
使用ActionBarActivity + Toolbar的时候,之前这么定义name="AppTheme.Base" parent="Theme.AppCompat.Light"> item name="android:windowNoTitle">trueitem> item name="windowActionBar">falseitem>当依赖框原创 2016-06-29 16:30:44 · 893 阅读 · 0 评论 -
Android Studio的模拟器卡死、死机问题解决方法
目前使用的Android Studio 4.2.1,创建了一个Pixel 4 API29的X86架构模拟器,运行时经常会卡死在某个界面,如下:导致无法安装测试app,之前的处理方式都是直接删掉、新建模拟器,今天在网上搜索了一下,发现可以使用如下方法,将热启动改为冷启动即可:首先打开模拟器管理页面,点击模拟器的编辑按钮:点击 “Show Advanced Settings”按钮向下滚动,找到“Boot option”,修改“Quick boot”为“cold b...原创 2021-07-06 10:13:10 · 19778 阅读 · 24 评论 -
Ubuntu下Adroid Studio运行Genymotion 模拟器报错:Unable to load Virtualbox engine解决
报错内容如下: Unable to load VirtualBox engine. Make sure that it is properly installed before starting Genymotion. For more information please refer to: http原创 2016-06-20 10:50:35 · 920 阅读 · 0 评论 -
Android开发报错:记一次奇怪的Android Studio报错
今天做一个项目,编译时,Android Studio报错:Fragments should be static such that they can be re-instantiated by the system, and anonymous classes are not static.这个错倒是很好解决,要么关掉编译器的相关错误检测提示,要么就去按提示修改错误。问题就出在我知道这个错误在原创 2016-07-03 04:01:40 · 2121 阅读 · 0 评论 -
Android Studio 识别不到 genymotion device
原因:没有设置genymotion的adb,也就是sdk的路径。解决方法:打开genymotion的主页面,设置sdk的位置为你android studio使用的sdk的目录。具体步骤:1)点击settings2)点击ADB,设置sdk位置,选择Use custom Android SDK tools,选择Android SDK的位置。3)重转载 2016-08-06 21:40:48 · 1015 阅读 · 0 评论