Android studio 使用
来源:互联网 发布:软件著作权 源程序 编辑:程序博客网 时间:2024/06/09 22:26
1、添加 framework jar
http://blog.csdn.net/kkguo1990/article/details/53036302
2、于jdk 版本不对
http://ask.csdn.net/questions/251891
Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have been compiled using Java 8 or above.
If you are using the 'java' gradle plugin in a library submodule add
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
to that submodule's build.gradle file.
Error:1 error; aborting
:app:transformClassesWithDexForDebug FAILED
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_66\bin\java.exe'' finished with non-zero exit value 1
出现这个现象的原因是你的jar包是基于jdk 1.8的,但当前AS(2.3.1)默认使用的jdk是1.7的。添加如下两句话,使你的项目适配JDK1.8。
3、 配置提高gradle 速度
http://www.jianshu.com/p/2a58fd896214
- 【android】 android studio使用
- android studio使用教程
- Android Studio使用教程
- Android Studio使用教程
- Android Studio使用教程
- android studio 使用
- Android Studio使用大全
- Android Studio使用教程
- Android studio 使用问题
- Android Studio使用教程
- Android Studio使用问题
- Android Studio使用教程
- Android Studio使用
- Android Studio使用教程
- Android studio使用教程
- Android Studio使用教程
- Android Studio使用教程
- android studio使用收集
- 第25章 造物主的降临——多游戏模型的载入
- OpenGL ES 光照(二)
- sublime指定python版本
- 一次触摸,Android到底干了啥
- ijkplayer播放视频
- Android studio 使用
- 14基于opencv的重映射_SURF特征点检测
- [日推荐]『小睡眠』今夜助你轻松入眠~
- 9.UE4的蓝图类(带火花的感应石门)
- 小金问呀问不会问题
- 数据结构概论
- av_guess_sample_aspect_ratio函数分析
- 解决ajax请求filter重定向失败
- 实现键盘数字0-9的随机排列