Reputation: 523
I've been following the guide posted here, trying to get this Hello, World program to run on my Samsung Galaxy S3. It's rooted already, and I successfully pushed the "hello" file onto the sdcard. Now when I enter the shell as the superuser (# instead of $), and try to run the file, I get "cannot execute - permission denied". I used chmod 755 hello to see if that would fix it, still nothing.
Is there something I'm missing? This is my first time fiddling around with Android, just got the phone, and wanted to see if I could get this to work. Very new to it all.
Thanks!
Upvotes: 1
Views: 2059
Reputation: 31676
Most likely your SD card is mounted with noexec
option. Copy the file to another partition like /data
and try running it from there
Upvotes: 1