Rockbox Development > Starting Development and Compiling
help compiling for Android..? (absolute beginner)
(1/1)
Ezraghast:
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
bluebrother:
--- Quote from: Ezraghast on March 13, 2011, 10:12:33 AM ---installed Eclipse and the ADT plugin
--- End quote ---
You don't need that.
--- Quote ---I've created an new project in Eclipse and imported the manifest file from the Android folder.
--- End quote ---
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?
--- End quote ---
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)
Ezraghast:
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.
Navigation
[0] Message Index
Go to full version