G grafsoft Well-Known Member Licensed User Longtime User Feb 10, 2019 #1 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
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 Feb 10, 2019 #2 grafsoft said: What am I doing wrong? Click to expand... you are using the Android Studio SDK in B4A. They are not compatible. Setup the SDK for B4A as described here: https://www.b4x.com/b4a.html#installation Start with a Blank folder for the SDK. Upvote 0
grafsoft said: What am I doing wrong? Click to expand... you are using the Android Studio SDK in B4A. They are not compatible. Setup the SDK for B4A as described here: https://www.b4x.com/b4a.html#installation Start with a Blank folder for the SDK.
G grafsoft Well-Known Member Licensed User Longtime User Feb 10, 2019 #3 Thank you! I had forgotten all of this. But now the list is empty. What am I doing wrong? Upvote 0
DonManfred Expert Licensed User Longtime User Feb 10, 2019 #4 Watch the Installationvideo (again if you already watched it). Seems you are not following the instructions carefully. Upvote 0
Watch the Installationvideo (again if you already watched it). Seems you are not following the instructions carefully.
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2019 #5 Don't save it under Program Files. It is a restricted folder. Upvote 0
G grafsoft Well-Known Member Licensed User Longtime User Feb 11, 2019 #6 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
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
DonManfred Expert Licensed User Longtime User Feb 11, 2019 #7 You are using the CODE Modules AND the Library in your Project? Remove the Modules or the Library. If you did make any changes in the modules then remove the library and use the Modules. If not then remove the modules and use the library alone. Upvote 0
You are using the CODE Modules AND the Library in your Project? Remove the Modules or the Library. If you did make any changes in the modules then remove the library and use the Modules. If not then remove the modules and use the library alone.