On Tue, May 20, 2025 at 02:01:34PM +0200, Csányi Pál wrote:
> Csányi Pál <csanyi...@gmail.com> ezt írta (időpont: 2025. máj. 20., K, 11:13):
> >
> > Hi,
> >
> > on the Debian 12 Bookworm operating system I want to make android apps.
> >
> > I would follow the advice on these websites:
> > https://wiki.debian.org/AndroidTools
> > and
> > https://wiki.debian.org/AndroidTools/IntroBuildingApps
> >
> > Following the latter web page, the following command cannot be
> > executed on Debian 12:
> > apt install android-sdk-platform-23
> >
> > because no such package is in the repository!
> >
> > So, what can I do to achieve my goal?> How can I solve this problem
> 
> So, following the
> https://wiki.debian.org/AndroidTools/IntroBuildingApps page, I skipped
> the installation of the android-sdk-platform-23 package, because it is
> not in the package repository.
> 
> But I ran the following commands:
> 
> $ mkdir ~/Git
> $ cd ~/Git
> $ git clone https://gitlab.com/Matrixcoffee/hello-world-debian-android.git
> $ cd hello-world-debian-android
> $ make

You are obviously missing one or more packages. In this thread,
there were some hints on how to find out which.

> and when I ran make I got the following error message:
> 
> aapt package -f -m -J src -S res -M AndroidManifest.xml -I
> /usr/lib/android-sdk/platforms/android-23/android.jar
> asset W 05-20 10:57:00 68768 68768 Asset path
> /usr/lib/android-sdk/platforms/android-23/android.jar is neither a
> directory nor file (type=1).
> ERROR: Asset package include
> '/usr/lib/android-sdk/platforms/android-23/android.jar' not found.
> make: *** [Makefile:31: src/coffee/source/helloworld/R.java] Error 1

I'd try installing one or more of the packages you see when doing
"apt search android-platform". That said, apt-file-search doesn't
find a file named "android.jar", so there might be something else
amiss.

My hunch is that the "-23" in your package name hints at a version
number which might be obsolete. But I don't know.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to