APK 文件(APK files)是用于打包应用程序的文件。现在我们有了一种新的文件格式,称为XAPK格式。
您可以像下载APK文件一样下载XAPK文件,但如果您尝试安装一个,则会遇到错误。我们将解释什么是XAPK文件,它们与常规APK(APKs)有何不同,以及如何使用以下教程之一将它们安装在手机上。
APK(Recap)文件(APK Files)和侧载回顾
绝大多数Android操作系统用户通过Google Play应用商店获取他们的应用。安装应用程序就像点击按钮并等待应用程序下载然后再打开它一样简单。
后台发生的事情是应用商店正在下载并执行一个带有.apk文件扩展名的文件。APK是Android Package Kit的缩写,功能类似于Windows和 macOS 上的安装程序包。
与 iOS 和 iPhone 不同,Android是一个开放平台。您可以从任何您喜欢的来源下载和安装APK文件。(APK)这是一种称为旁加载的做法,在典型的Android设备上执行起来很简单。您所要做的就是启用来自未知来源的应用程序的安装,下载APK,然后点击它以通过包安装程序运行它。
侧载软件包文件可能很危险,因为来源不明的应用程序可能包含恶意软件。不过,如果您对此很明智并且拥有出色的Android防病毒包,那么这在很大程度上是一种低风险的做法。
APK 文件的限制
APK有一个明显的限制。如果您想让您的应用获准在Google Play 商店上架(Google Play Store),它的大小不得超过 100MB。
按照现代标准,这是相对较小的,但通过压缩,大多数当前的应用程序都可以适应这个大小。或者,基本应用程序一旦安装在您的手机上,就可以简单地下载其他资源。
“但是等等,”你可能会说,“当我下载像PUBG Mobile这样的游戏时,它的大小比 100MB 大得多!”。确实如此,这是因为Google允许开发人员在压缩后捆绑两个最大为 2GB 的扩展文件。APK文件的文件大小仍为 100MB,Play 商店支持的替代(Play Store)ABB文件类型最高可达到 150MB。
如果您从Play 商店(Play Store)获取应用程序,这不是问题,因为Google会托管这些大型扩展文件并自动将它们集成到应用程序中。但是,如果您从第三方来源提取APK文件,则这些扩展文件不属于交易的一部分,这就是 X (APK)APK文件出现的地方。
XAPK文件如何解决(Files Solve)大小问题(Size Problem)
XAPK文件只是一个存档,其中包含APK (XAPK)、(APK)包含其他资产的OBB文件以及应用程序需要完成的任何其他文件。当您访问APKpure(APKpure)等第三方应用程序源时,您会看到PUBG Mobile等游戏作为单个XAPK应用程序包提供。
如果您下载XAPK文件,则无需额外上传即可安装和运行应用程序所需的资源。这不包括PUBG等游戏需要下载以允许在线玩的小更新。
查找和下载 XAPK 文件
使用 XAPK 文件的第一步是下载它。我们已经提到APKPure作为第三方应用程序来源,但您可以找到许多提供此类下载的网站。
您不能特别选择获取应用程序的XAPK版本。如果应用程序的附加数据超出了APK的容量,它将以XAPK的形式提供。
下载APK(APK)或 X APK文件时应小心谨慎。在将应用程序安装到手机之前,使用 PC 上
的Android模拟器加载应用程序甚至可能是一个好主意。
安装 XAPK 文件
安装APK文件通常就像在文件管理应用程序中点击它然后批准所需的安装权限一样简单。尝试对XAPK文件做同样的事情只会导致错误。
有几种方法可以在您的设备上安装XAPK文件,但我们只会介绍最流行的方法。
APKPure 提供了一个自动安装XAPK文件的Android应用程序。(Android)它适用于任何有效的 XAPK(XAPK)文件。
XAPK Installer(XAPK Installer)应用程序扫描和预览您手机上的所有APK和XAPK文件,无论它们是在您手机的内部存储空间还是 SD 卡上。您还可以使用此应用程序从APKPure浏览和下载(APKPure)APK和XAPK文件。
使用安装程序打开 XAPK 文件
APK Pure XAPK 安装程序(APK Pure XAPK Installer)不在Google Play 商店(Google Play Store)中。这不是一个大问题,因为如果您想首先安装XAPK文件,您可能对侧载感到满意。
但是, Google Play Store(Google Play Store)中有XAPK安装程序应用,例如MTV Mobile 的 XAPK Installer(MTV Mobile’s XAPK Installer)。您不能使用此应用程序来查找 XAPK 文件,但是一旦下载了它,您就可以安装它。
从 Windows PC 安装
XAPK文件的一大优势是它可以轻松地将应用程序部署到多个设备,而无需重复下载。Pure APK Install for Windows可以通过USB调试将应用程序安装到任何Android设备。查看我们的Android USB 调试指南(Android USB Debugging Guide),了解有关激活此功能的具体说明。
- 在手机或平板电脑上启用USB调试后,您必须在 Windows PC 上安装并打开Pure APK Install 。使用USB数据线将手机连接到 PC。然后选择打开 APK 文件(Open APK File)。
- 浏览(Browse)到文件的位置并打开它。您也可以将XAPK文件拖到安装程序窗口而不是使用按钮。您将看到应用程序的预览,包括其名称、版本号和Android 操作系统(Android OS)要求。
- 在“您要安装此XAPK ”下,选择是将其安装到手机的内部存储器还是SD 卡(SD card)。
现在您需要等待安装完成。这需要多长时间取决于文件的大小以及您的手机是否具有快速的USB 3连接或使用较慢的标准(如USB 2)。
安装完成后,断开设备。您应该在其他应用程序中看到该应用程序。使用Android(Android)防病毒应用程序运行病毒扫描。然后运行您的新应用程序以查看它是否正常工作。
如果您对安装感到满意,请禁用USB调试模式,因为出于安全原因将其保持打开状态并不是一个好主意。
手动安装 XAPK 应用程序
因此,您的手机上有一个XAPK文件,但您不想使用任何类型的应用程序来安装它。有一种方法可以做到这一点。
根据应用程序的详细信息,此手动方法不能保证每次都有效,但您仍然可以尝试。
1. 使用文件资源管理器将.xapk文件扩展名重命名为 .zip。尝试打开文件。您的手机应该有一个存档实用程序。如果没有,请在Play 商店中查找可以解压缩(Play Store)ZIP文件
的应用程序。
2.解压后的文件夹应该包含APK文件和一个Android文件夹。在这个文件夹中,应该还有另一个文件夹。将该文件夹复制到Internal Storage > Android > OBB。
3. 这是应用程序期望找到其应用程序数据文件的地方。复制文件后,像其他任何操作一样完成APK安装。您可能必须批准安装来自未知来源的应用程序。
4. 应用程序应照常安装,并在完成后删除您复制的字段。如果您不再需要解压文件和原始 XAPK,请不要忘记删除它们
。(Don)
注意:Android 11 及更高版本的问题
如果您使用的是Android 11或更高版本,则可能无法将任何内容复制到 OBB文件夹中。尝试在手机上使用Google 文件(Google Files)应用程序或文件管理器。许多用户似乎在这方面取得了成功。XAPK 安装程序在新版本的Android上也可能存在问题,在这种情况下,这种手动方法可能是您唯一的选择。
What Is an XAPK File in Android (and How Do I Open One)?
APK files are files that are used to package apps. Now we have a new file format known as the XAPK format.
You can download XAPK files the same way you’d download an APK file, but if you try to install one, you’ll run into errors. We’ll explain what XAPK files are, how they differ from regular APKs, and how you can install them on your handset using one of the tutorials below.
A Recap on APK Files and Sideloading
The vast majority of Android operating system users get their apps through the Google Play apps store. Installing an application is as easy as tapping a button and waiting for an app to download before you open it.
What’s happening in the background is that the app store is downloading and executing a file with the .apk file extension. APK is short for Android Package Kit and is similar in function to installer packages on Windows and macOS.
Unlike iOS and iPhone, Android is an open platform. You can download and install APK files from any source you like. This is a practice known as sideloading, and it’s simple to perform on a typical Android device. All you have to do is enable the installation of apps from unknown sources, download the APK, and then tap on it to run it through the package installer.
Sideloading a package file can be dangerous since apps of unknown origin can have malware. Still, it’s broadly a low-risk practice if you’re sensible about it and have an excellent Android antivirus package.
The Limits of APK Files
APK has one significant limitation. If you want to have your app approved for listing on the Google Play Store, it must be no larger than 100MB.
This is relatively tiny by modern standards, but with compression, most current apps manage to fit into this size. Alternatively, the base app can simply download additional resources once installed on your phone.
“But wait,” you might say, “when I download a game like PUBG Mobile, it’s much larger than 100MB!”. That’s true, and this is because Google allows developers to bundle two expansion files of up to 2GB each after compression. The APK file still has a file size of 100MB, and the alternative ABB file type that the Play Store supports tops out at a slightly larger 150MB.
This is no issue if you’re getting apps from the Play Store since Google hosts those large expansion files and automates their integration into the app. However, if you’re pulling the APK file from a third-party source, those expansion files aren’t part of the deal, which is where XAPK files come into the picture.
How XAPK Files Solve the Size Problem
An XAPK file is just an archive that contains the APK, the OBB files that contain additional assets, and any other files the app needs to complete. When you go to a third-party app source such as APKpure, you’ll see that a game such as PUBG Mobile is served as a single XAPK app bundle.
If you download the XAPK file, you have the resources you need to install and run the app with no additional uploads. That excludes minor updates that games such as PUBG need to download to allow for online play.
Finding and Downloading XAPK Files
The first step in using an XAPK file is downloading it. We’ve already mentioned APKPure as a third-party source of apps, but you can find many sites that offer such downloads.
You can’t choose to get the XAPK version of an app in particular. If an app has additional data that exceeds what will fit an APK, it will be available as an XAPK.
You should practice caution when downloading an APK or an XAPK file. It may even be a good idea to load the app using an Android emulator on your PC before installing it on your phone.
Installing an XAPK File
Installing an APK file is usually as easy as tapping it in your file management app and then approving the required installation permissions. Trying to do the same thing with an XAPK file will only result in an error.
There are several ways to install XAPK files on your device, but we’ll only cover the most popular ones.
APKPure offers an Android app that automates the installation of XAPK files. It will work with any valid XAPK file.
The XAPK Installer app scans and previews all APK and XAPK files on your phone, regardless of whether they are on your phone’s internal storage or an SD card. You can also use this app to browse and download APK and XAPK files from APKPure.
Open XAPK File With Installer
The APK Pure XAPK Installer isn’t on the Google Play Store. This isn’t a huge issue since you’re probably comfortable with sideloading if you want to install XAPK files in the first place.
However, there are XAPK installer apps in the Google Play Store, such as MTV Mobile’s XAPK Installer. You can’t use this app to find XAPK files, but once you have it downloaded, you can install it.
Installing From a Windows PC
One great advantage of XAPK files is that it makes it easy to deploy an app to multiple devices without repeatedly downloading it. Pure APK Install for Windows makes it possible to install apps to any Android device with USB debugging. Check out our Android USB Debugging Guide for specific instructions on activating this feature.
- After enabling USB debugging on your phone or tablet, you must install and open Pure APK Install on your Windows PC. Connect your phone to the PC using a USB cable. Then select Open APK File.
- Browse to the file’s location and open it. You can also drag the XAPK file onto the installer window instead of using the button. You’ll see a preview of the app, including its name, version number, and Android OS requirement.
- Under “You want to install this XAPK,” choose whether to install it to your phone’s internal storage or SD card.
Now you need to wait for the installation to complete. How long this takes depends on how large the files are and whether your phone has a fast USB 3 connection or uses a slower standard like USB 2.
After the installation completes, disconnect your device. You should see the app among your other apps. Run a virus scan with an Android antivirus app. Then run your new app to see if it works correctly.
If you are happy with the installation, disable USB debugging mode since it’s not a good idea to leave it on for security reasons.
Installing XAPK Apps Manually
So you have an XAPK file on your phone, but you don’t want to use an app of any kind to install it. There is a way to do this.
Depending on the app’s details, this manual method isn’t guaranteed to work every time, but you can try it anyway.
1. Use your file explorer to rename the .xapk file extension to .zip. Try to open the file. There should be an archive utility that came with your phone. If not, look on the Play Store for an app that can uncompress ZIP files.
2. The unzipped folder should contain the APK file and an Android folder. Inside this folder, there should be yet another folder. Copy that folder to Internal Storage > Android > OBB.
3. This is where the app expects to find its app data files. Once you’ve copied the files, complete the APK installation as you would any other. You may have to approve the installation of apps from unknown sources.
4. The app should install as usual and delete the field you copied over when it’s done. Don’t forget to delete the unzipped files and the original XAPK if you no longer need them.
NOTE: Android 11 and Higher Problems
If you’re on Android 11 or up, you may have issues copying anything into the OBB folder. Try using the Google Files app or the file manager with your phone. Many users seem to have success with this. XAPK installers may also have issues on new versions of Android, in which case this manual method may be your only option.