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 8110511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:46:52+00:00 2026-06-06T01:46:52+00:00

I was wondering if I need to build the Android source for an application

  • 0

I was wondering if I need to build the Android source for an application that I am developing. I need to develop an application to control a device using the I2C driver in the Kernel. Can I do this simply using the SDK and NDK? Should I instead use the SDK and NDK from my Android build?

I noticed The SDK does not have a tools directory, and when I try to run ndk/ndk-build I get the following errors.

/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found.

Naturally there are two specific Android sites: source.android.com and developer.android.com and I understand the guides provided in these. There doesn’t appear to be anything that advises what to do with your build or why you would build the source rather than using the downloaded SDK.

  • 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-06T01:46:57+00:00Added an answer on June 6, 2026 at 1:46 am

    One would rebuild android (variously meaning the kernel, userland, runtime system, system apps, and toolchains) if desired to add support for something not supported in the existing build, and not easily supported by modifications to the pre-built files short of rebuilding them.

    i2c support/configuration is likely to be a feature of the kernel and some aspects of runtime configuration such as permissions, module loading, etc. You may well be able to achieve this on a rooted device without re-building the android runtime/userland by simply modifying some system files, though you may end up having to compile a new kernel or at least a kernel module.

    It is unlikely that adding i2c support would require changing the sdk or ndk, unless you want to try to make a formal API for your task as an integrated part of android itself. Most likely whatever capabilities you end up adding to the android installation can be referenced from an app using reflection or app-supplied stub components and constants, rather than needing to change the build system’s idea of what is supported.

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

Sidebar

Related Questions

I need to build a real-time android application. I just wondering, can I use
I am wondering, do you need a specific device driver to read a usb
We are using Hudson to automate our Android build. I need to incorporate the
Wondering if I can speed up the search. I need to build a functionality
I was wondering what do i need to get my asp.net web application installed
I was just wondering if Android had built in code so that I could
I need to build a status dashboard that reads Events (ID, Desc, Time) out
I need to build a small JavaScript library that would only be a couple
We are using SCons for all our build need, and we would like to
I need to build a php app, and I was thinking about using a

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.