Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8821515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:52:29+00:00 2026-06-14T05:52:29+00:00

I am looking for methods to run native ARM executable on Android 4.1 (Jelly

  • 0

I am looking for methods to run native ARM executable on Android 4.1 (Jelly Bean). For example, compiling the classical C program

// hello.c
#include <stdio.h>
int main() {
    printf("Hello world");
}

to ARMv7a executable, say hello using the Android NDK and then run it in Android shell. I have tried method suggested on the web such as pushing the executable to /data/local by

adb push hello /data/local

change permission to allow it to be executed by

adb shell chmod 755 /data/local/hello

and then invoke them in the shell using

adb shell /data/local/hello

The last step fails with error:

/data/local/hello: not found

but evidently the file is there. I suspect the problem is that Jelly Bean’s shell does not allow one to execute alien binaries anymore. Can anyone confirm this and give me a solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:52:30+00:00Added an answer on June 14, 2026 at 5:52 am

    If you want to run a native ARM binary in Android you have to compile with -static.

    The libc that you use to build (if using the standard ARM toolchain and not Android NDK) is different from Android’s libc (bionic) and therefore when your binary intends to link dynamically to libc on target it will not because libc doesn’t exist on target.

    With the -static option you link in what you need from libc at build time and don’t have to worry about linking things in dynamically.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im looking to inject a variable into a page before a method is run.
I am looking into methods to inject javascript into any webpage loaded in the
Hey, I'm currently looking for various methods of implementing collision response in 2D video
Can someone recommend a simple c# code generator. I just looking something with methods
I am looking for how the methods like ArrayList#sort(Closure) are implemented in Groovy. I've
I'm looking into the various methods of rate limiting the Django admin login to
I'm looking into providing several methods of visualizing a large volume of data. This
I'm looking for a parser that can extract methods from a java class (static
Looking through decimal.py , it uses NotImplemented in many special methods. e.g. class A(object):
I'm looking for a way to handle calls to undefined methods and properties in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.