解决刷GApps时的Error 70报错或64

报70表示分区空间不足,谷歌全家桶太大无法安装,可选择安装小点的包

包64表示要安装特定位数的包,如设备arm64安装了arm提示报错

 

解决70

新建一个txt格式文件

命名gapps-config

内容:

# Read more about gapps-config file here:
https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options


# Prevent automatic removal
# +Browser     # Stock Browser
# +CameraStock # Stock Camera
# +Email       # Stock Email
# +Gallery     # Stock Gallery
# +Launcher    # Stock Launcher(s)
# +MMS         # Stock SMS
# +PicoTTS     # the Stock PicoTTS app


# Remove CM/stock apps
(Gello)
(BasicDreams)             # Basic Dreams Wallpaper
# (CMAccount)               # CM Account Application
# (CMAudioFX)               # CM AudioFX
(CMFileManager)           # CM File Manager
# (CMMusic)                 # CM Music
# (CMScreenCast)            # CM ScreenCast app
# (CMSetupWizard)           # CM Setup Wizard (see Notes for CMSetupWizard)
# (CMUpdater)               # CM Updater
# (CMWallpapers)            # CM Wallpapers
# (CMWeatherProvider)       # CM Weather Underground
# (DashClock)               # DashClock Widget (found in certain ROMs)
(Galaxy)                  # Galaxy (also known as BlackHole) Wallpaper
(Hexo)                    # Hexo Libre Theme
(HoloSpiral)              # Holo Spiral Wallpaper
(NoiseField)              # Noise Field Wallpaper
# (OmniSwitch)              # OmniSwitch recent apps switcher replacement
(Phasebeam)               # Phasebeam Wallpaper
(PhotoPhase)              # Photo Phase Wallpaper
(PhotoTable)              # Photo Table Wallpaper
(Browser)                 # Stock Browser
# (CalculatorStock)         # Stock Calculator (automatically removed when Google Calculator is installed)
# (CalendarStock)           # Stock Calendar (automatically removed when Google Calendar is installed)
# (CameraStock)             # Stock Camera
# (ClockStock)              # Stock Desk Clock (automatically removed when Google Desk Clock is installed)
(Email)                   # Stock Email Client
# (ExchangeStock)           # Stock Exchange Services (automatically removed when Google Exchange Services is installed)
# (MzFileManager)           # Stock FlymeOS File Manager
# (MzPay)                   # Stock FlymeOS Pay system (because MzPay services works only in China)
# (MzSetupWizard)           # Stock FlymeOS SetupWizard
# (MzUpdater)               # Stock FlymeOS Updaters
# (MzWeather)               # Stock FlymeOS Weather (because MzWeather service work only in China)
# (FMRadio)                 # Stock FM Radio (not found on all devices or ROMs)
# (Gallery)                 # Stock Gallery
# (KeyboardStock)           # Stock Keyboard (automatically removed when Google Keyboard is installed)
# (Launcher)                # Stock Launcher(s)
(LiveWallpapers)          # Stock Live Wallpapers
# (LockClock)               # Stock Lockscreen Clock Widget
# (Studio)                  # Stock Movie Studio
# (TagStock)                # Stock NFC Tags (automatically removed when Google NFC Tags is installed)
(PicoTTS)                 # Stock PicoTTS
# (PrintServiceStock)       # Stock Print Service Recommendation Service (automatically removed when Google Print Service Recommendation Service is installed)
# (SimToolKit)              # Stock SimToolKit
# (MMS)                     # Stock SMS (automatically removed if Google Messenger and/or Hangouts is installed)
# (StorageManagerStock)     # Stock Storage Manager (automatically removed when Google Storage Manager is installed)
# (Terminal)                # Stock Terminal
# (Themes)                  # Stock Theme Engine (Will break the Settings Entry and can cause unexpected reboots on some ROMs)
(VisualizationWallpapers) # Stock Visualization Wallpapers
(WhisperPush)             # Stock WhisperPush support


# Install GApps
include

# Pico+
DialerFramework        # Dialer Framework
CalSync                # Google Calendar Sync (except if Google Calendar is being installed)
GoogleTTS              # Google Text-to-Speech (Micro+ on 5.0-, Pico+ on 6.0+)
PackageInstallerGoogle # Google Package Installer

# Nano+
# FaceDetect             # FaceUnlock
# FaceUnlock             # FaceUnlock
Search                 # Google Search (including includes Hotword, excluding excludes GoogleNow and PixelLauncher)
Speech                 # Offline Speech Files
# Hotword                # OK Google Hotword Enrollment

# Micro+
# Gmail                  # Gmail
CalendarGoogle         # Google Calendar
ExchangeGoogle         # Google Exchange Services
# GoogleNow              # Google Now Launcher (requires Search)
# GoogleTTS              # Google Text-to-Speech (Micro+ on 5.0-, Pico+ on 6.0+)

# Mini+
CalculatorGoogle       # Google Calculator
ClockGoogle            # Google Clock
# Maps                   # Google Maps
# TagGoogle              # Google NFC Tags
# Photos                 # Google Photos
# GooglePlus             # Google+
# Hangouts               # Hangouts
# YouTube                # YouTube

# Full+
# Chrome                 # Google Chrome Browser
CloudPrint             # Google Cloud Print
# Docs                   # Google Docs
# Drive                  # Google Drive
# Fitness                # Google Fit
# Keep                   # Google Keep
# NewsWidget             # Google News & Weather
# Books                  # Google Play Books
# PlayGames              # Google Play Games
# Movies                 # Google Play Movies & TV
# Music                  # Google Play Music
# NewsStand              # Google Play Newsstand
# Sheets                 # Google Sheets
# Slides                 # Google Slides
# Talkback               # Google TalkBack

# Stock+
CameraGoogle           # Google Camera
ContactsGoogle         # Google Contacts
DialerGoogle           # Google Dialer
KeyboardGoogle         # Google Keyboard
Messenger              # Google Messenger (except on tablet devices)
# PixelIcons             # Google Pixel Icons
StorageManagerGoogle   # Google Storage Manager
# VRService              # Google VR Services
# WebViewGoogle          # Google Webview
# PixelLauncher          # Pixel Launcher (requires Search and Wallpapers)
PrintServiceGoogle     # Print Service Recommendation Service
Wallpapers             # Wallpapers

# Super+
# AndroidPay             # Android Pay
# DMAgent                # Google Apps Device Policy
GCS                    # Google Connectivity Services (excluding also excludes Project Fi)
# Earth                  # Google Earth
# Indic                  # Google Indic Keyboard
# Japanese               # Google Japanese Input
# Korean                 # Google Korean Input
# Pinyin                 # Google Pinyin Input
# Street                 # Google Street View
# Translate              # Google Translate
# Zhuyin                 # Google Zhuyin Input
# ProjectFi              # Project Fi by Google

#注释掉的表示不安装

然后将这个文件拖到和你GApps安装包同目录

这样就可以正常安装了

  • 11
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: AOSP是Android的开源版本,缺少Google Apps(GApps)。因此,用户安装AOSP过Google Play商店和其他Google服务。为了解决这个问题,用户需要把GApps集成到AOSP中。 首先,用户需要下载和安装AOSP源代码。下载完源代码后,用户可以在AOSP项目中的Packages目录中找到vendor/google目录。用户需要将GApps的ZIP文件复制到vendor/google目录下。 然后,用户需要在vendor/google目录下创建一个脚本来在AOSP中集成GApps。在创建脚本之前,用户需要下载一个叫作Google API的SDK。打开Terminal窗口并切换到vendor/google目录,然后输入以下命令来初始化脚本: source build/envsetup.sh lunch full-eng make -j4 此命令将初始化脚本并编译AOSP源代码,其中“make -j4”指令将以4个线程进行编译,这将加快编译过程。 接下来,用户需要编辑先前创建的脚本。脚本应该包含GApps的适当文件夹路径和其它所需信息。完成编辑后,用户需要保存脚本并运行以下命令来集成GApps: make updatepackage make -j4 这将启动AOSP的集成过程,并将GApps包含在AOSP中。当编译完成后,用户可以将新的AOSP映像入设备中并Enjoy Google Apps的服务。 ### 回答2: AOSP (Android Open Source Project) 是一个开源的 Android 操作系统源代码项目,它提供了 Android 系统的核心功能和基础设施。但是,由于 Google 出于商业考虑并未将 Google 应用程序 (GApps) 包含在 AOSP 中,因此如果您想使用 Google 应用程序和服务,您需要将它们手动集成到 AOSP 中。 集成 GApps 允许 AOSP 用户像使用 Google Play 商店、谷歌地图和 Gmail 等应用程序,从而提供更为完整和便利的使用体验。它的集成步骤也相对简单,有以下几个步骤: 1. 下载 GApps 软件包。您需要根据您的 Android 系统版本和设备架构下载合适的 GApps 软件包。 2. 在 AOSP 中挂载 /system 分区。通过 adb 命令将设备连接到电脑上,并以 root 权限装载 /system 分区。 3. 拷贝 GApps。通过 adb 命令将 GApps 软件包从电脑拷贝到设备上。 4. 安装 GApps。通过在设备上运行相应的 shell 命令来安装所需的 GApps 软件。安装可能需要一段间,具体间因安装包大小和设备性能而定。 5. 重新启动设备。重启设备后,您现在可以在 AOSP 中运行 Google 应用程序并享受相关功能和服务了。 需要注意的是,GApps 软件包不属于 AOSP 的一部分,也不是由 Google 公司提供的官方软件包。因此,在安装 GApps 之前,请确保您从可靠的来源下载软件包,并理解相关法律规定和风险。同,不同版本的 GApps 软件包可能不兼容不同的 AOSP 版本和设备类型,因此请仔细查看官方文档或咨询相关社区的支持人员,以确保安装的正确性和稳定性。 ### 回答3: AOSP即Android Open Source Project,是Android的开源项目。它提供了一套完整的Android源代码,开发人员可以使用这个代码库开发自己的定制版Android系统。 但是AOSP并不包含Google应用和服务(GApps),例如谷歌商店、谷歌地图、Gmail等等。这些应用和服务是Google的专有软件,不能直接加入到AOSP中。 如果我们想在AOSP中使用GApps,就需要进行集成。集成GApps的方法有多种,下面我们简单介绍一下其中一种方法: 1. 下载GApps包 首先需要从可信的第三方网站(如opengapps.org)下载GApps包。我们需要选择支持AOSP版本的GApps包,同要选择与自己的手机对应的CPU架构和安卓版本。 2. 解压GApps包 下载完成后,将GApps包解压缩。得到的文件夹中应该有一些.apk文件(Android应用程序)和一些库文件(包括.so文件)。 3. 将GApps文件复制到系统目录中 将GApps文件复制到系统目录中,例如/system/app、/system/priv-app以及/system/lib等等。复制需要注意文件权限和所有权。 4. 设置权限和所有者 在一些情况下,很可能需要手动设置GApps文件的权限和所有者。通常,这些文件的所有者应该是“system”或“root”,因为它们需要访问系统级的资源。 5. 重启手机 重启手机,等待一段间。一旦手机启动成功,你就可以在应用列表中找到GApps应用。如果你尝试安装Google Play Store,它应该就能正确运行。 综上所述,集成GApps到AOSP中需要一些技术和操作知识,需要仔细阅读相关文档和资料,才能确保集成成功。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值