Android的工作室1.0本地路径不存在 [英] Android studio 1.0 Local path doesn't exist

查看:175
本文介绍了Android的工作室1.0本地路径不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从机器人工作室0.9升级到1.0,现在当我尝试运行我的应用程序一切顺利达到它问:选择设备的地步,然后我选择我的注释4,然后发出错误本地路径没有按T存在。

我是用64位的窗口

同样在点击同步工程与摇篮文件。这个问题依然存在!

应用:

 等待设备。
目标设备:三星SM _...
上传文件
    本地路径:C:\\ MyApp的\\程序\\编译\\中间体\\类\\调试\\ app.apk
    远程路径:/data/local/tmp/com.example.MyApp
本地路径不存在。

错误日志:

 上午11点32分40秒摇篮打造5秒完成
上午11点32分43秒意外错误
            本地路径不存在。
本地路径不存在。
该项目可能需要用摇篮的文件进行同步。
            同步项目与文件摇篮


解决方案

看起来像APK_PATH一个问题,由于某种原因无法找到。

您可以尝试以下从<一个解决方案href=\"http://stackoverflow.com/questions/16994596/android-studio-is-not-loading-on-the-device-local-path-doesnt-exist\">here或<一个href=\"http://stackoverflow.com/questions/18256177/android-studio-local-path-doesnt-exist\">here.

此外,您还可以尝试更新插件摇篮到最新版本并重建项目。

I just updated from android studio 0.9 to 1.0 and now when i try to run my app everything goes well up to the point where it asks "choose device", then i select my note 4 and then issues error "Local path doesn't exist."

I am using 64bit windows

Also clicked on "Sync Project with Gradle files". The problem is still there!

App:

Waiting for device.
Target device: samsung-sm_...
Uploading file
    local path: C:\MyApp\app\build\intermediates\classes\debug\app.apk
    remote path: /data/local/tmp/com.example.MyApp
Local path doesn't exist.

Error Log:

11:32:40 AM Gradle build finished in 5 sec
11:32:43 AM Unexpected Error
            Local path doesn't exist.
Local path doesn't exist.
The project may need to be synced with Gradle files.
            Sync Project with Gradle files

解决方案

Looks like an issue with APK_PATH, which for some reason can't be found..

You may try following the solutions from here or here.

Also, you may try updating your Gradle plugin to the latest version and rebuilding the project.

这篇关于Android的工作室1.0本地路径不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆