这个问题引发的原因最初的报错是: [2013-10-14 10:01:58 - XXX] The connection to adb is down, and a severe error has occured.[2013-10-14 10:01:58 - XXX] You must restart adb and Eclipse.[2013-10-14 10:01:58 - XXX] Please ensure that adb is correctly located at 'E:\and…
android通过BitmapFactory.decodeFile获取图片bitmap报内存溢出的解决办法 原方法: public static Bitmap getSmallBitmap(String filePath, int reqWidth, int reqHeight) { final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; Bitma…
一 报错显示 Gradle sync failed: Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle. 查看整个项目的build.gradle.buildscript下dependencies里内容是classpath 'com.android.tools.build:gradle:2.2.3' 说明用2.2.3版本的Gradle构建项目. 'd…
Android Studio 通过 git update 或者 pull 的时候出错,log 如下: Couldn't save uncommitted changes. Tried to save uncommitted changes in stash before Update, but failed with an error. stash file://D:/github/rxAndroid: 0 [main] us 0 init_cheap: VirtualAlloc pointer…