aaronk Well-Known Member Licensed User Longtime User Oct 18, 2014 #1 Hi, 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 Click to expand... 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: Oct 19, 2014
Hi, 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 Click to expand... 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)
Erel B4X founder Staff member Licensed User Longtime User Oct 19, 2014 #2 It is probably related to this issue: http://www.b4x.com/android/forum/threads/error-with-the-new-aapt-exe.45787/#content It seems like a bug in the latest build tools. The simplest way to resolve it is to delete the folder of the latest build tools. Upvote 0
It is probably related to this issue: http://www.b4x.com/android/forum/threads/error-with-the-new-aapt-exe.45787/#content It seems like a bug in the latest build tools. The simplest way to resolve it is to delete the folder of the latest build tools.
aaronk Well-Known Member Licensed User Longtime User Oct 19, 2014 #3 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. Upvote 0
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.