记录android studio 遇到的错误和解决办法

1、关于android studio 出现Error:Execution failed for task :app:preDebugAndroidTestBuild'. 的解决办法

https://blog.csdn.net/fighting_2017/article/details/80244982

2、模拟器启动错误:ERROR: This AVD's configuration is missing a kernel file!

https://www.jianshu.com/p/87f69e0a3bef

3、AndroidStudio连不上Android设备真机

我的问题是电脑缺少驱动

https://blog.csdn.net/surpriseHao/article/details/78583685

4、Android Studio 导入新工程项目

从githab上下载了个项目,导入项目出错,需修改参数,与当前运行环境相对应

https://www.cnblogs.com/campus16/p/8075322.html

5、Error:android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProce

https://blog.csdn.net/l403040463/article/details/79166342

6、Error:Execution failed for task ':app:validateDebugSigning'. > Keystore file

下载的工程中有指定使用的Keystore文件的路径,可以通过Android studio File-》ProjectStructure-》选择app ,再选择signing

把Store File里指定的Keystore文件的路径删除,或者填写自己的Keystore文件的路径。

我下载的工程里Keystore文件是XXXX.jks,删除路径后又出现了其他错误,所以我是生成签名文件.jsk文件,填写路径。

7、Android签名和JKS文件查看方法

https://www.jianshu.com/p/81c6c7d3390a

猜你喜欢

转载自blog.csdn.net/TangxinMantou10503/article/details/85053966