Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Rockbox target 201 compilation for android

Re: Rockbox target 201 compilation for android

From: David Mehler via rockbox <rockbox_at_lists.haxx.se>
Date: Wed, 27 Dec 2023 12:21:50 -0500

Hello,

Thanks. I've tried several sdk targets probably not getting the right
one. I went right for 33 as it's the android version I use, should I
go with another? Which do you use if any? I do have my
ANDROID_SDK_PATH environment set. Here's that configuration:


# set PATH so it includes user's private rockbox-master/bin if it exists
if [ -d "$HOME/rockbox-master/bin" ] ; then
    PATH="$HOME/rockbox-master/bin:$PATH"
fi

export RBDEV_PREFIX=$HOME/rockbox-master
export RBDEV_BUILD=$HOME/rockbox-build
export RBDEV_DOWNLOAD=$HOME/rbdev-dl
export ANDROID_HOME=$HOME/android
export PATH=$ANDROID_HOME/cmdline-tools/tools/bin:$PATH
export PATH=$ANDROID_HOME/emulator:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export ANDROID_SDK_PATH=$HOME/android/
export ANDROID_NDK_PATH=$ANDROID_SDK_PATH/ndk/

In sdkmanager I'm not seeing ndk 10e am I correct I have to grab that
separate and reconfigure this?

Can you send me an sdkmanager --list I'd like to compare your installs to mine?
Thanks.
Dave.


On 12/27/23, Solomon Peachy <pizza_at_shaftnet.org> wrote:
> On Tue, Dec 26, 2023 at 07:29:32PM -0500, David Mehler via rockbox wrote:
>> ls: cannot access
>> '/home/user/android/ndk-bundle/../prebuilts/ndk/current/platforms': No
>> such file or directory
>> Auto-config: --arch=arm
>> ERROR: Failed to create toolchain.
>
>
> You need to use the android sdk manager tool to install the necessary
> SDK target, and set ANDROID_SDK_PATH to the proper place.
>
> You also need version 10e of the NDK, and have ANDROID_NDK_PATH pointing at
> the proper place.
>
> That's all I can suggest right now; I set this up a while back for my
> various builders and it hasn't required any intervention since..
>
> - Solomon
> --
> Solomon Peachy pizza at shaftnet dot org (email&xmpp)
> _at_pizza:shaftnet dot org (matrix)
> Dowling Park, FL speachy (libera.chat)
>
--
Unsubscribe: http://lists.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ:         http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette:   http://www.rockbox.org/mail/etiquette.html
Received on 2023-12-27

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy