Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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


On my IDE, i get an error on this line

Java
setContentView(R.layout.main);


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 :)
Posted

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.
 
Share this answer
 
Comments
felineq 18-Apr-12 2:13am    
Hey TorstenH,

I just moved the workspace to my home folder and I still get the same error.
felineq 18-Apr-12 5:00am    
It did not work. I am using fedora 16 32 bit. The SDK is in /usr/android-sdk-linux and I added my account to the root group as well as a 777 on the sdk directory. I have the latest java jdk and jre installed and also configured the java environment not to use openjdk.
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900