Here are numerous discussions of AAPT issues
https://groups.google.com/forum/#!searchin/mitappinventortest/aapt%7Csort:date . Some of these developers resolved their problems using the Forum provided suggestions. Perhaps you will find a solution too?
Check for 'loose' blocks, block warnings etc. and clear them up. Did you previously build your app with a different compiler and are now trying to run the aia using App Inventor?
Failing a solution after checking for 'obvious' coding errors, consider posting an image of your blocks here in the Forum; otherwise all anyone can do is guess. You might review the stuff here too
monster list of tips and tricks for a possible solution.
Regards,
Steve