Android Question Packaging files Error


Well-Known Member
Licensed User

When I try and compile my app in B4A I am getting a error.

Parsing code. 0.42
Compiling code. 0.75
Compiling layouts code. 0.09
Generating R file. 0.05
Compiling generated Java code. 4.04
Convert byte code - optimized dex. 4.00
Packaging files. Error
I can't seem to find out why this error is happening.

I have tried doing the following:

Try Tools - Clean Project
Deleted all files under Objects\bin.

The only thing I have done since last time I compiled my app is open the Android SDK and update everything in that.

Since updating everything I can't seem to compile my app.

Anyone else have this issue?
(Currently running B4A 3.82)
Last edited:


Well-Known Member
Licensed User
Thanks Erel,

I just copied the aapt file from AppData\Local\Android\android-sdk\build-tools\19.1.0 and copied it to AppData\Local\Android\android-sdk\build-tools\21.0.0

Now its working.