Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  help compiling for Android..? (absolute beginner)
« previous next »
  • Print
Pages: [1]

Author Topic: help compiling for Android..? (absolute beginner)  (Read 1485 times)

Offline Ezraghast

  • Member
  • *
  • Posts: 33
help compiling for Android..? (absolute beginner)
« on: March 13, 2011, 10:12:33 AM »
Hi. I want to try to compile a build for my Android phone but I'm not sure how to proceed. (Are there more detailed instructions anywhere? I couldn't find them.) I've installed the SDK and NDK to my PC (Ubuntu derivative), installed an Android platform, installed Eclipse and the ADT plugin, and checked out the source with svn. I've created an new project in Eclipse and imported the manifest file from the Android folder. I'm not clear on where to go from there - for instance where do I set the environment variables to point to the SDK and NDK paths? Any help appreciated
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: help compiling for Android..? (absolute beginner)
« Reply #1 on: March 13, 2011, 04:43:50 PM »
Quote from: Ezraghast on March 13, 2011, 10:12:33 AM
installed Eclipse and the ADT plugin

You don't need that.

Quote
I've created an new project in Eclipse and imported the manifest file from the Android folder.

Also not needed. Building Rockbox does not involve eclipse in any way.

Quote
I'm not clear on where to go from there - for instance where do I set the environment variables to point to the SDK and NDK paths?

In your environment, and depending on your environment. If you're using bash you can add them to your ~/.bashrc. If you want them temporary (or don't want to mess with .bashrc) just "export ANDROID_SDK_PATH=..." and the same for the NDK. Then build Rockbox the same way as you do for other targets (create a build folder, call configure from that folder, run make, make zip, make apk)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Ezraghast

  • Member
  • *
  • Posts: 33
Re: help compiling for Android..? (absolute beginner)
« Reply #2 on: March 14, 2011, 01:46:53 PM »
Thank you! I'm not at all familiar with the shell so wasn't aware i could set or change variables there. The Android Wiki mentioned using Eclipse, so i kinda presumed it was a more 'user-friendly' way of going about things. Anyway, thanks again.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  help compiling for Android..? (absolute beginner)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.065 seconds with 15 queries.