On Sun, May 25, 2025 at 9:28 AM Csányi Pál <csanyi...@gmail.com> wrote:
>
> Csányi Pál <csanyi...@gmail.com> ezt írta (időpont: 2025. máj. 21., Sze, 
> 5:44):
> >
> > Alex King <a...@king.net.nz> ezt írta (időpont: 2025. máj. 21., Sze 3:02):
> >>
> >> Please do update the wiki so that when I (and others) come to do the
> >> same (which I'm planning to do soon) we can benefit from your learning.
> >>
> >> Thanks,
> >> Alex
> >
> >
> > I'm happy to do that, I was thinking about it anyway.
> >
> > I just might need help to use the signapk command correctly in the make 
> > file.
>
> I was wrong, we should not use the signapk package, but the
> installable apksigner package.
>
> Now I see only one problem that prevents the make command from running
> successfully:
> when I run make I get following messages:
>
> aapt package -f -m -J src -S res -M AndroidManifest.xml -I
> /usr/lib/android-sdk/platforms/android-23/android.jar
> javac -bootclasspath
> /usr/lib/android-sdk/platforms/android-23/android.jar -classpath src
> -source 1.7 -target 1.7 src/coffee/source/helloworld/HelloWorld.java
> src/coffee/source/helloworld/R.java
> warning: [options] source value 7 is obsolete and will be removed in a
> future release
> warning: [options] target value 7 is obsolete and will be removed in a
> future release
> warning: [options] To suppress warnings about obsolete options, use
> -Xlint:-options.
> 3 warnings
> [ -e dex ] || mkdir dex
> /usr/lib/android-sdk/build-tools/debian/dx --dex --verbose
> --min-sdk-version=19 --output=dex/classes.dex src
> make: /usr/lib/android-sdk/build-tools/debian/dx: No such file or directory
> make: *** [Makefile:25: dex/classes.dex] Error 127
>
> and I can't figure out how to get the dx command, because on my Debian
> Bookworm system there is no such command!
>
> Can this problem be solved so that I can access on my system only
> Android SDK and development tools already available in Debian?

It looks like the various android installers, like
google-android-build-tools-19.1.0-installer, include aapt, aidl,
dexdump, and dx. Or they used to.

See <https://packages.debian.org/stable/allpackages>.

Jeff

Reply via email to