运行我的android代码时报错= 13: [英] error=13 on running my android code:
本文介绍了运行我的android代码时报错= 13:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
这是我在这里的第一篇文章.
我是新手android开发人员.当我尝试运行一个简单的hello world程序时,遇到以下错误.
Hello all,
This is my first post here.
I am a newbie android developer. I encounter the error below on when i try to run a simple hello world program.
[2012-04-17 23:48:50 - adb] Failed to get the adb version: Cannot run program "/media/Research/android-sdk-linux/platform-tools/adb": java.io.IOException: error=13, Permission denied from '/media/Research/android-sdk-linux/platform-tools/adb' - exists=true
在我的IDE上,我在这条线上出现错误
On my IDE, i get an error on this line
setContentView(R.layout.main);
清理项目或导入R.java并没有帮助.我正在使用最新的android SDK
这里有人遇到过这个问题并解决了吗?
请帮助:)
and cleaning the project or importing R.java does not help. I am using the latest android SDK
Has anyone here encountered this problem and solved it?
please help :)
推荐答案
错误13 =无执行权限
您对该目标没有执行权.
确保您的操作系统授予权限.
我不知道您的工作空间在哪里,但是我倾向于将其直接放置在C:/上,从而对操作系统的影响最小.
error 13 = no rights to execute
You have got no execution rights on that destination.
Make sure your OS grants rights.
I don''t know where you''ve got your workspace, but I tend to place it directly on C:/ to have the least impact of the OS.
您是否设置了一个工作区? Android模拟器,如果没有,请使用AVD管理器.
看看 Android设置 [
Have you setup an Android Emulator, use the AVD manager if not.
Take a look at Android setup[^]
search for setup and android emulator
/Darren
这篇关于运行我的android代码时报错= 13:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文