H hamid rza Member Jan 2, 2025 #1 Hello i have a simple firebase project and when i compile it the apk file size is 6.7 mb but it shouldn't be like this i unzipped the apk and there is two classes.dex file and thats increase the size i think the compiled apk size should maximum 2 mb not 6.7 mb Attachments b4a.zip b4a.zip 12.5 KB · Views: 354
Hello i have a simple firebase project and when i compile it the apk file size is 6.7 mb but it shouldn't be like this i unzipped the apk and there is two classes.dex file and thats increase the size i think the compiled apk size should maximum 2 mb not 6.7 mb
Solution Erel Jan 2, 2025 The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days.
The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days.
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2025 #2 The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days. Upvote 0 Solution
The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days.
AnandGupta Expert Licensed User Longtime User Jan 2, 2025 #3 hamid rza said: Hello i have a simple firebase project and when i compile it the apk file size is 6.7 mb but it shouldn't be like this i unzipped the apk and there is two classes.dex file and thats increase the size i think the compiled apk size should maximum 2 mb not 6.7 mb Click to expand... As G releases new SDK with new policies, expect bloated APK. But keep in mind you upload AAB at GStore and it itself determines and creates the APK for the device to download, so size will vary device to device. Upvote 0
hamid rza said: Hello i have a simple firebase project and when i compile it the apk file size is 6.7 mb but it shouldn't be like this i unzipped the apk and there is two classes.dex file and thats increase the size i think the compiled apk size should maximum 2 mb not 6.7 mb Click to expand... As G releases new SDK with new policies, expect bloated APK. But keep in mind you upload AAB at GStore and it itself determines and creates the APK for the device to download, so size will vary device to device.
H hamid rza Member Jan 2, 2025 #4 Erel said: The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days. Click to expand... Thanks Erel there is no way to decrease the size? Upvote 0
Erel said: The dex files are the compiled SDK + code. Firebase is not a small dependency, though 7mb is not too much these days. Click to expand... Thanks Erel there is no way to decrease the size?
H hamid rza Member Jan 2, 2025 #5 AnandGupta said: As G releases new SDK with new policies, expect bloated APK. But keep in mind you upload AAB at GStore and it itself determines and creates the APK for the device to download, so size will vary device to device. Click to expand... Thanks for your help Upvote 0
AnandGupta said: As G releases new SDK with new policies, expect bloated APK. But keep in mind you upload AAB at GStore and it itself determines and creates the APK for the device to download, so size will vary device to device. Click to expand... Thanks for your help
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2025 #6 hamid rza said: there is no way to decrease the size? Click to expand... Only if you remove Firebase. Upvote 0
hamid rza said: there is no way to decrease the size? Click to expand... Only if you remove Firebase.