首页 > 学院 > 开发设计 > 正文

Studio的错误总结

2019-11-07 23:37:50
字体:
来源:转载
供稿:网友

查看上方目录或直接使用Ctrl+F直接搜索你要查询的问题部分关键字

直接使用Ctrl+F直接搜索你要查询的问题部分关键字或查看上方目录 如果有好的IDEA,期待与你的摩擦

源码找不到

进入C:/Users/Administrator/.AndroidStudio2.1/config/options/jdk.table.xml找到 <jdk version="2"> <name value="Android API 23 Platform" /> Android API 23 Platform表示那个版本的源码<sourcePath> <root type="composite"> <root type="simple" url="file://F:/Android/AndroidSDK/sources/android-23" /> </root> </sourcePath>源码的路径 sourcePath 把电脑上SDK里面的源码路径写在url里面就可以了。

Launching app No Changes

在settings->Build,Execution,Deployment->Instant Run中将Enable Instant Run to hot swap code/resource changes on deploy选项的勾点掉

Error running app:Instant Run requires

Error running app:Instant Run requires ‘Tools|Android|Enable ADBintegration’ to be enabled 菜单栏,Tools -> Adnroid -> enable ADB integration。

Your PRoject path contains non-ASCII characters.

Error:(1, 0) Your project path contains non-ASCII characters. This will most likelycause the build to fail on Windows. Please move your project to a differentdirectory. 项目路径含有中文,将中文替换掉就行了。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表