Android Question Cannot compile

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,

I have configured the paths correctly, android.jar is in C:\Program Files\Android\Android Studio\plugins\android\lib\android.jar

When I try to compile, B4A complains that it does not find aapt.exe. But aapt.exe is in C:\Users\offic\AppData\Local\Android\Sdk\build-tools\28.0.3

What am I doing wrong?

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
Many thanks to both of you.

Now I get the following error (it worked on my old machine):

Kompiliere generierten Java Code. (1.60s)
Byte-Code konvertieren - optimiert dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/samples/httputils2/httpjob;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/samples/httputils2/httputils2service;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/samples/httputils2/httputils2service$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/samples/httputils2/httputils2service$2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lanywheresoftware/b4a/samples/httputils2/httputils2service$httputils2service_BR;
5 errors; aborting
 
Upvote 0
Top