Android Question aapt.exe still an issue?

goffretus

Member
Licensed User
Longtime User
I have not been able to get an understandable answer to this issue.

b4a v 2.52
attempting compile of html5wrapper
fails with error -
Cannot find: C:\Program Files\Android\Android Studio\plugins\tools\..\platform-tools\aapt.exe

Current installer puts it here:
C:\Program Files\Android\android-sdk\build-tools\22.0.1\aapt.exe

Tried moving and configuring path to :
C:\Program Files\Android\Android Studio\plugins\tools\22.0.1\platform-tools\aapt.exe

NOT OK

Not sure where it should be!

Help anyone?
 

goffretus

Member
Licensed User
Longtime User
Thanks but that did not fix it. Uninstalled and re-installed the sdk with all packages
windows 7 ultimate
g
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
copy the file in your search path like c:\windows maybe it will find it then
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
Make sure to update the path after you install the SDK (Tools - Configure Paths).
Thanks for suggestions I set system
Path=C:\Program Files\Android\android-sdk\build-tools\
then
Tried each of following in |tools | configure path
C:\Program Files\Android\android-sdk\build-tools\19.1.0
C:\Program Files\Android\android-sdk\build-tools\20.0.0
C:\Program Files\Android\android-sdk\build-tools\21.1.2
C:\Program Files\Android\android-sdk\build-tools\22.0.1
regretably without success
g
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
the ini file contains other setting so I removed the android path entry and tried all versions again with the same result.
I have 64bit win 8.1 available that I could try with but I do not know how to move B4A
g
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
I still recommend you to delete the ini file, install the latest Android SDK and reconfigure it.
Hi Erel,
b4a v2.52
win 7 ultimate 32 bit
I removed the only ini file under C:\program files\anywhere software\
I unistalled and re-installed android studio complete with sdk

I adjusted tools |configure path for additional library to:-
C:\Users\<user>\AppData\Local\Android\sdk1\build-tools\22.0.1\
other paths unchanged

no change to error message on compiling with B4A

regards
g
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
The ini file is in your app-data folder

On MY PC it is:
C:\Users\ManfredSsykor\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
Thank you but the path is incomplete -
C:\Program Files\Android\Android Studio\plugins\tools\..\platform-tools\aapt.exe
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
Thank you, that seems resolved but new error is -
Generating R file. Error
ERROR: Asset package include 'C:\Program Files\Android\Android Studio\plugins\android\lib\android.jar' not found.

And yet that is the correct location and configure paths | browse button finds it exactly there.
g
 
Upvote 0

goffretus

Member
Licensed User
Longtime User
thanks to Manfred Erel and all who assisted

good paths for old B4A with new android studio v22

C:\Users\<user>\AppData\Local\Android\sdk1\platforms\android-22\android.jar
C:\Users\<user>\AppData\Local\Android\sdk1\platform-tools\aapt.exe
C:\Users\<user>\AppData\Local\Android\sdk1\tools\zipalign.exe

g
 
Upvote 0

rtesluk

Member
Licensed User
Longtime User
Mar 14 2016
My experience with Android SDK is that if there is problem with the emulations I think it's a VERSION problem with an app within the SDK, so I reinstall the SDK but I check EVERYTHING so that the various apps within, upgrade in a sequential fashion.
The other thing you can do (I have done this) is to take copy of appt.exe from a previous upgrade and just paste it in the current upgrade overwriting the current appt.exe. It has worked for me when I am too lazy to reinstall the whole SDK.
 
Upvote 0

Awesome Student 123

Member
Licensed User
I tried everything but I still get the error
ERROR: Asset package include 'C:\Program Files\Android\android-studio\plugins\android\lib\android.jar' not found.
Help
 
Upvote 0
Top