![]() ![]() We should be able to use adb pm install somefile.apks, just like APK file.Ībout the option of Android Studio, I meant not just installing, but the exporting to "apks" file. We should be able to open APKS file (or whatever the file format will be) right on the OS. Now with Android R Google has a chance to publish a file format that the OS can handle on its own. I even requested it on the issue tracker. I really wish there could be one official standard of split APKs that Google publishes, that all can use on both PC and Android, easily, just as we can for stand-alone APK files. Only the main one, and only via file-path. Not only that, but the Android framework itself can't parse split APK files. There is AAB, APKS (here and on SAI app, and both are different), XAPK (of APKPure, and it can hold OBB files too), and APKM (of APK mirror website, which is very inefficient as it's encoded heavily). I really wish I could have one that works for all types that you've noticed that exist: AAB, APKS, and APK files that are in the same folder (example is when you extract the APKS file).Įven the "apks" is supposed to be an official file format, but it is already taken by a third party app (SAI, here), and of course it can't use it (has some issue with it). It should be easy to handle via official API via Android OS too.Ĭurrently I have a batch file to install APK files, but it works only for stand-alone APK files. It should be as easy to install as stand-alone APK file. Seeing that (sadly) Google will force developers to switch to only app-bundle solution on the Play Store (link here and here), I think it's important to make everything that's related to app-bundle to easy to handle, official, standard, that can be installed and launched without any additional tool, on both PC and on Android device. The less files, the less time consumed and the less confusion as there is no need to match between them. If you generate the AAB file and the APKS file, you need to make sure that both are of the exact same version. Creating more files on the way takes time, takes more steps, and you need to be very careful to say that both are of the same version. It should be the exact same that you try on devices. When you upload the app bundle to the Play Store, you upload the AAB file. Why don't we have this option on the IDE, BTW? Why not being able to export the app to multiple formats?Īnd why can't we upload this file to the Play Store instead (signed, of course) ? But how would I install it on the device? After I generate it. Java -jar bundletool.jar build-apks -bundle=theAppBundle.aab -output=theApksFile.apks The command for PC as as written here, as such, right: Sadly the bundletool is quite large to be inserted into an app, so that's another reason to request this as a library (might be smaller). How do I generate this file within Android OS, given an AAB file ? Is this tool available as a library? This was the request, to be able to use this tool as a library within an Android app, within Android. It could be nice to even install the AAB file directly on the device (without the help of a PC and USB), without conversion. Of course, instead of exporting to AAB file, the IDE allows to export to APK, but then you lose the entire testing of the AAB file, because split APK files are supposed to install only a part of what's inside the AAB file. If this is already possible and by the rules of the Play Store, please let me know. I know AAB isn't intended to be used for this purpose of sharing apps installations, but that's the nearest thing we can do to simulate installation from the Play Store, without the Play Store.Ī way to use this tool on Android OS itself, to convert the AAB file into APK file, to be installed&run on it, just as if it was from the Play Store.Īll this without the use of a PC to make a special solution for this specific device. Each person who gets the "AAB" file needs to use this tool to convert the app into APK file. If we generate AAB file to be used by devices right in them, it's impossible. Is your feature request related to a problem? Please describe. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |