There are several reasons why the apk compiled by Android suddenly becomes larger. One is that your package contains more resources, such as adding a lot of pictures or audio or other files to the assets. There are also references to many third-party libraries, and your code is not confused (confusion can simplify many unused methods and make apk smaller)
If you haven't answered your question, please go to Baidu.
Search Android apk fitness