studio设置问题集锦-创新互联

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

太白ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为成都创新互联公司的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:13518219792(备注:SSL证书合作)期待与您的合作!

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

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


文章标题:studio设置问题集锦-创新互联
网页网址:http://scyanting.com/article/ccjjep.html