本文来自http://blog.csdn.net/liuxian13183/ ,引用必须注明出处!

1、Common依赖项目找不到。因为主项目没有引进setting.gradle

2、从Eclipse移植到AS,最重要的两个文件是setting.gradle和build.gradle,然后把依赖项目.svn文件夹删除,重新放入主项目目录下,加入版本控制

3、使用Lint工具,规范化代码,File——Settings——Editor——Inspections打开检查项设置窗口

4、清理多余图片:http://www.cnblogs.com/yilongm/p/4741370.html

5、Didn't find class "com.android.tools.fd.runtime.BootstrapApplication"

今天写程序执行安装后,程序启动就崩溃了,很奇怪,在自己的机器上没有问题。百思不得其解,google+stackoverflow。

问题: 
Didn’t find class “com.Android.tools.fd.runtime.BootstrapApplication”

解决:

方法1:

禁止Instant Run 
关闭Instant Run的方法, 
File –> Settings–>Build,Execution,Deployment –>Instant Run —> 不勾选 “Enable instant run”

6、 Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.android.tools.build:gradle:2.2.2.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
         https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar

查一下https://repo1.maven.org/maven2/com/android/tools/build/gradle/目录下最新的是2.1.3,所以啦,

classpath 'com.android.tools.build:gradle:2.2.2'

改为2.1.3即可

方法2:

1/3:

Changing:

    classpath 'com.android.tools.build:gradle:2.0.0-alpha1'
  • 1
  • 1

By:

classpath 'com.android.tools.build:gradle:1.2.3'
  • 1
  • 1

2/3:

Changing:

buildToolsVersion '23.0.2'
  • 1
  • 1

By:

buildToolsVersion "21.1.2"
  • 1
  • 1

3/3: (in /.idea/gradle.xml)

And:

<option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.8" />
  • 1
  • 1

By:

<option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-2.4" />
  • 1
  • 1

方法3:

clean工程,重新编译一遍

6、java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[

原因在于编译需要在arm-v7a包放同样的so文件

7、安装Gpu Tools Android Monitor->Monitors-GPU-点击安装,重启AndroidStudio

Android Studio工具修理集的更多相关文章

  1. Android Studio 工具窗口浮动与布局恢复【申明:来源于网络】

    Android Studio 工具窗口浮动与布局恢复[申明:来源于网络] http://bbs.chinaunix.net/thread-4182438-1-1.html

  2. 【转】MIUI8以及ViVO X9上在Android Studio运行出错集及其解决方案

    最近用一台红米4高配版(6.0)以及ViVo X9(7.1)来做测试机,它是小米MIUI系统的最新版本MIUI8,我的AS是2.3版本,在网上查看了相关问题,在小米5和红米note4x等配备了MIUI ...

  3. Android studio工具介绍

    区域1介绍 这个区域是运行和调试相关的操作. 1.编译2中显示的模块                      2.当前项目的模块列表            3.运行2中显示的模块           ...

  4. Android Studio 工具插件

    1.Android Studio 翻译插件,可以将英文翻译为中文. https://github.com/Skykai521/ECTranslation 2.Android Studio之Androi ...

  5. Android Studio 问题锦集【持续更新】

    想必,大家在使用Android Studio(后面简称AS)的过程中会遇到各种各样的问题,现在,我也来谈谈我在使用AS过程中遇到的错误. 1.Plugin with id 'com.android.a ...

  6. Eclipse工具修理集

    本文来自http://blog.csdn.net/liuxian13183/ ,引用必须注明出处! 俗话说:工欲善其事.必先利其器,eclipse偶尔会发发脾气,那我们要记录下"她" ...

  7. 转:android studio入门合集

    http://blog.csdn.net/column/details/zsl-androidstudio.html

  8. Android性能測试 一些适用于Android Studio的代码审查和性能測试工具

    导言: Android应用在CPU占用,内存消耗方面的性能指标是影响产品质量的重要因素,因为QQ管家,360手机助手等应用都提供直观的内存消耗,流量监控功能,致使用户比以往更加关注软件的性能,并以此进 ...

  9. 安装并配置 Android Studio 开发工具和 Genymotion 模拟器

    需求说明: 安装并配置 Android Studio 开发工具和 Genymotion 模拟器. 熟练使用 Genymotion 模拟器,掌握 Genymotion 模拟器的基本设置和程序安装. 实现 ...

随机推荐

  1. cf 333b

    G - Chips Time Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit S ...

  2. 万网云解析设置二级域名解析到同IP不同端口

    http://jingyan.baidu.com/article/eb9f7b6d8a02a5869364e827.html

  3. 简单几何(凸包) POJ 1696 Space Ant

    题目传送门 题意:一个蚂蚁一直往左边走,问最多能走多少步,且输出路径 分析:就是凸包的变形题,凸包性质,所有点都能走.从左下角开始走,不停排序.有点纠结,自己的凸包不能AC.待理解透凸包再来写.. 好 ...

  4. 计算1至n中数字X出现的次数

    描述 计算 1 至 n 中数字 X 出现的次数,其中 $n \ge 1,X \in [0,9]$. 解题思路 这是一道比较简单的题目,举个例子先:假设 $n=11, X=1$,那么就是求 1, 2, ...

  5. 转:.NET获取当前方法名或调用此方法的方法名

    Introduction Before .NET, we were always looking for a way to log current method name in a log file ...

  6. ural 1437. Gasoline Station

    1437. Gasoline Station Time limit: 1.0 secondMemory limit: 64 MB Once a gasoline meter broke at a fi ...

  7. BZOJ4296 : [PA2015]Mistrzostwa

    先不断将度数小于D的点都删去,再找到剩下的图里最大的连通块即可. #include<cstdio> #include<algorithm> #define N 200010 i ...

  8. BZOJ3577 : 玩手机

    很明显网络流. S到每个发射站连边,容量为该站限制 每个接收站到T连边,容量为该站限制 矩阵每个点拆成两个点i和i',i向i'连边,容量为该位置手机数 每个发射站向该正方形内所有点i连边,容量为无穷大 ...

  9. Js和asp.net各自设置的cookie相互读取的方法

       在Web的开发过程中,避免不了要使用cookie,在这里,我们在前台设置cookie,也可以在后台设置cookie,关键是在前后台设置的cookie,怎么去相互读取,代码如下:  (1)  前台 ...

  10. topcoder SRM 591 DIV2 TheArithmeticProgression

    #include <iostream> #include <cstdlib> using namespace std; class TheArithmeticProgressi ...