When I run the app by clicking on the run button the apk size is 90kb, when I build the apk with proguard enabled the apk size is 600kb, when I build apk with proguard disabled the size is 1mb, using apk analyzer I could see that the dex file grows from 45 kb to 1 mb, why does that happen?, what happens when I click the run button? The only way i can get the app to be 90kb is by clicking the run button.
Strange apk sizes android studio 2.3.3
195 Views Asked by Abaqus At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANDROID-STUDIO
- how do i submit a pastebin or pastee from an android app and get the url back
- Getresource id Error
- Call special fragment in Navigation Drawer Activity from separate Activity
- Debug native code in Android Studio
- How to introduce in this AlertDialog a onBackButtonPressed method?
- Android Studio : All of a sudden cannot resolve symbol 'ActionBarActivity'
- Error connecting to Google Play Games
- Android Studio - Illegal character 8204 error
- Android Studio unable to run the project
- How do I know what is available in minSdkVersion in Android Studio?
- Android Studio update (version 1.2.1.1) - Cannot resolve symbol 'TintCheckBox'
- How to accept cookies when using a webservice - Android?
- How can I always show Android Studios Preview?
- Android Studio cannot recognize "setAdapter()" method
- Error inflating class Android support design
Related Questions in APK
- Can not get the same signature from the keystore
- Android APK filepath layout for NDK binary executables how-to
- Signing an apk with a .dat file
- aggressive adware irremovable apk on android
- Why apk size increase in different android version
- Deploying an Android app on devices without Play Store account
- AIR Google Play Services library classes missing apk
- Android app running fine on emulator but gives error parsing package when made to run on real device
- Cordova: Trouble importing Android Downloader_Library into project
- Reduce apk size with combine java files
- Android - Bypassing install permission programmatically for enterprise apps from third-party sources
- which apk runs on the Android device ionic
- Couldn't load (find) j2v8_android_x86 library
- How would I connect to a MySQL database back-end from an Android device's application?
- Error : duplicate files during packaging of APK
Related Questions in ANDROID-INSTALL-APK
- Deploying an Android app on devices without Play Store account
- Android app running fine on emulator but gives error parsing package when made to run on real device
- Android - Bypassing install permission programmatically for enterprise apps from third-party sources
- Building Android application inside android OS
- which apk runs on the Android device ionic
- Error encountered installing apk to device : INSTALL_FAILED_NO_MATCHING_ABIS
- Intent to install APK file - Android Nougat
- How to install/update/remove APK using "PackageInstaller" class in Android L?
- Identifying an Android application even between builds
- Strange apk sizes android studio 2.3.3
- Android Studio : Error while Installing APKs (Path confusion from Windows to Linux)
- Dismiss android dialog "installing app"
- Parse Error Installing custom built .apk
- apk not listed in app installer in phone
- How to connect a mobile device and install android application in that device?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It's because when you run the app, you build the apk and inside the apk, all dependencies,jar files, assets etc. are compiled.
EDIT:
if you want to understand more on APK's and how to reduce it's size check this link https://developer.android.com/topic/performance/reduce-apk-size.html