Android Studio - local path doesn't exist
2015-08-07 13:48
513 查看
down vote | Heh tried all these answers and none of them worked. I think a common cause of this issue is something a lot simpler. I advise all who get this problem to look at their launch configuration(在运行project 的地方); Look! The launch configuration contains options for which APK to deploy. If you choose default, Android Studio will be dumb to any product flavors, build types etc. you have in your gradle file. In my case, I have multiple build types and product flavors, and received "no local path" when trying to launch a non-default product flavor. Android Studio was not wrong! It couldn't find the default APK, because I was not building for it. I solve my issue by instead choosing "Do not deploy anything" and then executing the gradle install task I needed for my specific combination of product flavor / build type. come : http://stackoverflow.com/questions/18256177/android-studio-local-path-doesnt-exist |
相关文章推荐
- Android.mk 文件语法详解
- Android NDK学习 <二> Android.mk的制作
- Android点击跳转到联系人列表、拨号面板和通话记录
- 如何忽略Android资源编译错误 Error: this attribute must be localized.
- Android Fragment 你应该知道的一切
- 待解决:android 中德数据容器
- android改变按下和放开组件时字体的颜色
- Android 开发环境搭建
- Android中自定义dialog方法,可直接调用,更改样式
- Android Xutils 框架的介绍
- Android开发中设置系统全局属性方法总结
- Android项目打包成APK文件
- 安卓界面跳转时取消系统自带的动画
- Android 5.1 Phone MT(来电)流程分析(Framework层)
- 【干货】如何简单粗暴解决Android Activity泄漏问题
- android学习笔记(3)Button控件的学习
- 打造一个全命令行的Android构建系统
- recyclerview的使用,左滑删除
- 认识 Android 中的 Activity 组件 总结
- Android 存储:Internal Storage的用法以及与External storage 的区别