http://stormzhang.com/android/2014/07/07/learn-android-from-rookie/了解studio

http://www.ibm.com/developerworks/cn/education/java/j-groovy/j-groovy.html了解android tudio中替代java语音的groovy语言

导入studuo项目问题:

1 、Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory

路径包含中文,改成;

2、Android studio - Build script error, unsupported Gradle DSL method found: 'android()'!

把项目中gradle.build中“android”删除,开头apply plugin: 'com.android'改成 apply plugin: 'com.android.application'

3、Gradle DSL method not found: 'runProguard()' 问题的引发与解决

初步定位为Build System的问题,立即查看Android官方文档,See Android Build System,发现从0.14.0之后runProguard变更为minifyEnabled。

Previous code :buildTypes {

release {

runProguard false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

}

}

Current code :buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'

}

}

4、 buildToolsVersion is not specified.

Try to invalidate caches / restart , it fixed this like this after updated File-> Invalidate caches/restart 。

网址:http://stackoverflow.com/questions/32153544/errorcause-buildtoolsversion-is-not-specified

5、java.lang.UnsatisfiedLinkError: Couldn't load eposprint: findLibrary returned null

so文件丢失,在目录下放so文件

|---src

|---main

|---jniLibs

|---armeabi

|---nativeLib.so

6、关于如何查看studio的sha1和md5:

1)、http://www.bubuko.com/infodetail-1031689.html,

2)、创建一个googleMapActivity,如何在对应的xml文件里面查看sha1

原文:I just find case to get SHA1 in Android Studio

1.Click on your package and choose New -> Google -> Google Maps Activity

2.Android Studio redirect you to google_maps_api.xml

3.And you will see all you need to get google_maps_key