Re: Building an Android app using only Android SDK and development tools already available in Debian
Csányi Pál <csanyipal@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
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
Well, then, what is the solution to this problem?
It is important that I follow the goal stated on the above website:
"building an Android app using only Android SDK and development tools
already available in Debian."
Reply to: