How are you trying to "move it into" the apk or aab? You should use the adt command line tool from the AIR SDK to create a new apk or aab.
Don't try to copy the swf into an existing apk or aab. It might actually be possible, but you'd definitely need to do more than that. At the bare minimum, you'd need to sign it again with your code signing certificate.