Code Monkey home page Code Monkey logo

aosp_build's Introduction

Open GApps

Getting the latest pre-built Open GApps

The latest version of pre-built Open GApps can be found at https://opengapps.org, hosted on SourceForge.

Support Project Donate
Q&A Forum XDA Q&A
Development Forum XDA Development
Support Chat Gitter
Download OpenGApps Download OpenGApps

Support for the pre-built packages from OpenGApps.org

If you have any questions, check out the Open GApps Wiki, especially the FAQ since it'd answer most of the questions. If you can't find the answer to your question use the XDA Q&A Thread or join us on Gitter to receive support. Don't forget to add at least the Open GApps installer debug log and if experiencing Force Closures also include a logcat.

If you did find a bug in the Pre-built OpenGApps.org packages you can report it at the XDA Open GApps Development Thread. Remember to include at minimum the Open GApps installer debug log and if applicable a logcat.

Please don't file directly any GitHub issues to file problems with the Pre-built packages. The GitHub issues tracker is only used for issues concerning the Open GApps Project scripts themselves.

Build your own Open GApps

The example git commands assume you have a GitHub account and have set-up SSH authentication.

If you want to build your own version of Open GApps, you'll need to fetch the git sources:

To initialize your local repository using the Open GApps source tree, clone the main repository with the command:

git clone [email protected]:opengapps/opengapps.git

Then sync the submodules to get the original APK sources as provided by Google. Take note that these repositories are very large (in the order of GiBs). You can also use this command to update the sources at a later moment to their most recent version:

./download_sources.sh [--shallow] [arch]
  • --shallow will order to fetch only the latest snapshot of the APKs (reduces space used and amount of data to be retrieved by git, by not fetching the APKs' history)
  • arch can be one of the following "arm, arm64, x86, x86_64" to fetch only data required for specified architecture (note that fallback architectures will be fetched too)

To build Open GApps you'll need the Android build tools installed and set-up in your $PATH. If you use Ubuntu you can check out @mfonville's Android build tools for Ubuntu.

To build Open GApps for all platforms and all Android releases:

make

To build Open GApps for a specific Android release on a specific platform, define both the platform and the API level of that release, seperated by a dash and optionally add the variant with another dash.

Two examples (for building for Android 6.0 on ARM):

make arm-23

or

make arm-23-stock

To add updated source APKs to the sources archive (you can add more than one at once):

./add_sourceapp.sh [/path/to/the/files/you/want/to/add.apk]* [beta] [/apps/that/should/be/marked/as/beta.apk...]*

For contributors, updated sources can be uploaded. Either without an argument for every architecture, or with one or more arguments for a subset of architectures:

./upload_sources.sh [archs]*

If you want an overview of the locally available sources:

./report_sources.sh

You can add extra arguments to report_sources to do your more advanced bidding too:

./report_sources.sh ( ([sdk] [archs]*) || [arch-sdk] ) && [hash] || [max*mb] || [min*mb] || [nobeta] || [nohelp] || [noleanback] || [nosig]

License

The Open GApps Project itself is licensed under the GPLv3 with an addendum called the Open GApps installable zip exception.

A short explanation of these license terms and the terms used by the pre-built OpenGApps.org packages:

  • The license and its exception are very comparable to the GNU Compiler Collection.
  • The Open GApps Project itself is like a "compiler" that is licensed under the GPLv3.
  • The "Installable zips" produced by the Open GApps Project is a assorted product of which its components adhere to various different licenses. E.g. the Open GApps installer scripts are still GPLv3 licensed.
  • The author of an "installable zip" can choose the license for this assorted end-product themselves, as long as any changes to the version of The Open GApps Project compiler used during the creation of the "installable zip" are published under the GPLv3 with the "installable zip" too. Also the individual components within the "installable zip" are still licensed under their respective terms.
  • The pre-built packages from OpenGApps.org are made available under the terms that they can be freely used for personal use only, and are not allowed to be mirrored to the public other than OpenGApps.org

aosp_build's People

Contributors

acr92 avatar alviteri avatar anggasp avatar argraur avatar ayufan avatar bkuhls avatar davidtrpchevski avatar dudulle avatar edward-p avatar invisiblek avatar jamuir avatar javelinanddart avatar maniac103 avatar marijns95 avatar nezorflame avatar nicholasbuse avatar pablomh avatar pbellanger avatar peterlolty avatar rashed97 avatar rootinchase avatar scaronni avatar sevenrock avatar sigmadeltasoftware avatar stefanhh0 avatar stellirin avatar tombriden avatar tortel avatar tsubus avatar webgeek1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aosp_build's Issues

Changes for Nougat

The following changes may need to be ported to aosp_build:

  • New config file /etc/sysconfig/google_vr_build.xml (all Android versions)
  • /vendor/pittpatt/ seems to be dropped in Nougat
  • libfacelock_jni.so has been renamed to libfacenet.so (Nougat only)
  • the keyboard swypelibs have been dropped (Nougat only)
  • New app com.google.vr.vrcore (all Android versions)
  • Path of Google Keyboard has changed to LatinIMEGooglePrebuilt (Nougat only)
  • New apps com.google.android.printservice.recommendation, com.google.android.ext.shared and com.google.android.ext.services (Nougat only)

Builds for Archlinux?

Hey, I'm on archlinux which proves unzip but not lunzip.
There's no way to get this working on ArchLinux?

GAPPS_EXCLUDED_PACKAGES doesn't work

I'm trying to build a custom device with only PrebuiltGmsCore and GoogleServicesFramework Gapps and my device.mk looks a bit like this :

GAPPS_VARIANT := pico

GAPPS_EXCLUDED_PACKAGES := \
    GoogleBackupTransport \
    GooglePartnerSetup \
    GoogleOneTimeInitializer \
    GoogleContactsSyncAdapter \
    GoogleFeedback \
    GoogleContactsSyncAdapter \
    GoogleLoginService \
    SetupWizard \
    Phonesky \
    GoogleCalendarSyncAdapter \
    GoogleTTS \
    GooglePackageInstaller

$(call inherit-product, vendor/google/build/opengapps-packages.mk)

But when I build the device, I saw that the supposed excluded packages where embeded in the final image.

I tried to debug it and I saw that the variable PRODUCT_PACKAGES contains exactly what I need so I don't know why I have all theses extra packages.

leanback support

Can you pleas add support to build for leanback
' ' '
ric@ric-ubuntu:~/androidx86tv$ lunch android_x86_64-userdebug
vendor/google/build/config.mk:34: *** GAPPS_VARIANT leanback was not found. Use of one of pico,nano,micro,mini,full,stock,super. Stop.
' ' '

Could not build FEC data! Error: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc & system image is out of space

I am trying to build android N code for flounder device. I am getting the following error. Kindly please help,

[ 88% 40323/45738] Target system fs image: out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img
FAILED: /bin/bash -c "(mkdir -p out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/ out/target/product/flounder/obj/PACKAGING/systemimage_intermediates && rm -rf out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "fs_type=ext4" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "system_size=2782920704" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "userdata_fs_type=f2fs" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "cache_fs_type=ext4" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "cache_size=268435456" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "extfs_sparse_flag=-s" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "squashfs_sparse_flag=-s" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "selinux_fc=out/target/product/flounder/root/file_contexts.bin" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "boot_signer=false" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "verity=true" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "verity_key=build/target/product/security/verity" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "verity_signer_cmd=verity_signer" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "verity_fec=true" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "system_verity_block_device=/dev/block/platform/sdhci-tegra.3/by-name/APP" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "vendor_verity_block_device=/dev/block/platform/sdhci-tegra.3/by-name/VNR" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo "skip_fsck=true" >> out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (PATH=out/host/linux-x86/bin/:$PATH ./build/tools/releasetools/build_image.py out/target/product/flounder/system out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system_image_info.txt out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/flounder/system || ( echo "Out of space? the tree size of out/target/product/flounder/system is (MB): " 1>&2 ; du -sm out/target/product/flounder/system 1>&2; if [ "ext4" == "ext4" ]; then maxsize=2782920704; if [ "" == "true" ]; then maxsize=$((maxsize - 4096 * 4096)); fi; echo "The max is $(( maxsize / 1048576 )) MB." 1>&2 ; else echo "The max is $(( 2782920704 / 1048576 )) MB." 1>&2 ; fi; mkdir -p out/dist; cp out/target/product/flounder/installed-files.txt out/dist/installed-files-rescued.txt; exit 1 ) )"

error: failed to build out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/flounder/system
Running: mkuserimg.sh -s out/target/product/flounder/system out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 2739474432 -D out/target/product/flounder/system -L system out/target/product/flounder/root/file_contexts.bin
make_ext4fs -s -T -1 -S out/target/product/flounder/root/file_contexts.bin -L system -l 2739474432 -a system out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/flounder/system out/target/product/flounder/system
Creating filesystem with parameters:
Size: 2739474432
Block size: 4096
Blocks per group: 32768
Inodes per group: 7968
Inode size: 256
Journal blocks: 10450
Label: system
Blocks: 668817
Block groups: 21
Reserved block group size: 167
Created filesystem with 2133/167328 inodes and 233530/668817 blocks
build_verity_tree -A aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img /tmp/tmphjpKsV_verity_images/verity.img
system/extras/verity/build_verity_metadata.py 2739474432 /tmp/tmphjpKsV_verity_images/verity_metadata.img afeb5dcc51a79493469bc5557de66090066d65223224d17f54b99a034c78a550 aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 /dev/block/platform/sdhci-tegra.3/by-name/APP verity_signer build/target/product/security/verity.pk8
cat /tmp/tmphjpKsV_verity_images/verity_metadata.img >> /tmp/tmphjpKsV_verity_images/verity.img
fec -e out/target/product/flounder/obj/PACKAGING/systemimage_intermediates/system.img /tmp/tmphjpKsV_verity_images/verity.img /tmp/tmphjpKsV_verity_images/verity_fec.img
Could not build FEC data! Error: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Aborted (core dumped)
Out of space? the tree size of out/target/product/flounder/system is (MB):
827 out/target/product/flounder/system
The max is 2654 MB.
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

make failed to build some targets (12:12:56 (hh:mm:ss))

How to exclude multiple packages?

Hello, I successfully built a nexus 6 aosp rom with the stock package. However, I am unable to complete a dist build (I am experimenting with signing the rom), it says that system.img runs out of space. I am new to makefiles and would like to know how to exclude multiple packages from the build, in order to free up more space in /system.

Thanks in advance.

SetupWizard Crashes Immediately

Any ideas welcome!

Not sure what would cause this, I have tried with GAPPS_FORCE_MATCHING_DPI := true and GAPPS_FORCE_MATCHING_DPI := false .

E/AndroidRuntime( 1981): FATAL EXCEPTION: main
E/AndroidRuntime( 1981): Process: com.google.android.setupwizard, PID: 1981
E/AndroidRuntime( 1981): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.setupwizard/com.google.android.setupwizard.WelcomeActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x1110038
E/AndroidRuntime( 1981):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2358)
E/AndroidRuntime( 1981):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
E/AndroidRuntime( 1981):    at android.app.ActivityThread.access$900(ActivityThread.java:154)
E/AndroidRuntime( 1981):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
E/AndroidRuntime( 1981):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1981):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1981):    at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 1981):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1981):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1981):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 1981):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime( 1981): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x1110038
E/AndroidRuntime( 1981):    at android.content.res.Resources.getValue(Resources.java:1343)
E/AndroidRuntime( 1981):    at android.content.res.Resources.getValue(Resources.java:1323)
E/AndroidRuntime( 1981):    at android.content.res.Resources.getBoolean(Resources.java:1055)
E/AndroidRuntime( 1981):    at com.google.android.setupwizard.WelcomeActivity.initViews(WelcomeActivity.java:543)
E/AndroidRuntime( 1981):    at com.google.android.setupwizard.WelcomeActivity.onCreate(WelcomeActivity.java:215)
E/AndroidRuntime( 1981):    at android.app.Activity.performCreate(Activity.java:5990)
E/AndroidRuntime( 1981):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 1981):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)
E/AndroidRuntime( 1981):    ... 10 more

Name for modules

Hello,

I would like to finish contributing the remaining overrides for the other Google modules.
I'm a bit confused about the module names. I'm looking at the following locations:

The names inside the aosp_build do not match with the ones in the "normal" opengapps installer. I see "PrebuiltXXX", "GoogleXXXPrebuilt" or "GoogleXXX" names.

As an example, the calculator is missing and I would like to add it; how should I name it under the modules directory? Any pointer?

Thanks,
--Simone

typos in calls to get-allowed-api-levels

vendor/google/build$ git diff

diff --git a/modules/FaceLock/Android.mk b/modules/FaceLock/Android.mk
index 043cfac..a86f289 100644
--- a/modules/FaceLock/Android.mk
+++ b/modules/FaceLock/Android.mk
@@ -1,5 +1,5 @@
 # libfacelock_jni.so was renamed to libfacenet.so in Nougat+
-ifeq ($(filter $(call-get-allowed-api-levels),24),)
+ifeq ($(filter $(call get-allowed-api-levels),24),)
 FACELOCK_JNI_NAME := libfacelock_jni
 else
 FACELOCK_JNI_NAME := libfacenet
diff --git a/opengapps-files.mk b/opengapps-files.mk
index 3b6515b..f57cd66 100644
--- a/opengapps-files.mk
+++ b/opengapps-files.mk
@@ -4,7 +4,7 @@ PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,etc framework)
 # Pico and higher
 ifneq ($(filter $(TARGET_GAPPS_VARIANT),pico),)
 # vendor/pittpatt seems to be removed on N+ (so only copy it to older than N)
-ifeq ($(filter $(call-get-allowed-api-levels),24),)
+ifeq ($(filter $(call get-allowed-api-levels),24),)
   PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,vendor/pittpatt)
 endif
   PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,usr/srec)

The Tycho build module is missing

There are apks for Tycho in the opengapps projects, but there is no build module:

vendor/google/build$ mgrep Tycho
./opengapps-packages.mk:109:    Tycho \
vendor/google/build$ cd ../../opengapps/sources/
vendor/opengapps/sources$ find . -type d -iname "*tycho*"
./all/app/com.google.android.apps.tycho
vendor/opengapps/sources$ find ./all/app/com.google.android.apps.tycho
./all/app/com.google.android.apps.tycho
./all/app/com.google.android.apps.tycho/22
./all/app/com.google.android.apps.tycho/22/nodpi
./all/app/com.google.android.apps.tycho/22/nodpi/31180.apk
./all/app/com.google.android.apps.tycho/22/160
./all/app/com.google.android.apps.tycho/22/160/31182.apk
./all/app/com.google.android.apps.tycho/22/480
./all/app/com.google.android.apps.tycho/22/480/31188.apk
./all/app/com.google.android.apps.tycho/22/240
./all/app/com.google.android.apps.tycho/22/240/31184.apk
./all/app/com.google.android.apps.tycho/22/320
./all/app/com.google.android.apps.tycho/22/320/31186.apk

Chrome crashing because cannot load libchrome.so

Any clue where I could look to figure out why libchrome.so isn't loaded?

I'm doing a build based off of CM 12 ( Android 5.0.2 ).

I/cr_LibraryLoader(10337): Using linker: org.chromium.base.library_loader.LegacyLinker
I/cr_LibraryLoader(10337): Loading chrome from within /system/app/Chrome/Chrome.apk
E/cr_ChromiumAndroidLinker(10337): Open: Could not open libchrome.so in zip file /system/app/Chrome/Chrome.apk: (null)
E/cr_LibraryLoader(10337): Unable to load library: libchrome.so, in: /system/app/Chrome/Chrome.apk
E/NativeInitializationController(10337): Unable to load native library.
E/NativeInitializationController(10337): org.chromium.base.library_loader.ProcessInitException
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:271)
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.LibraryLoader.ensureInitialized(LibraryLoader.java:123)
E/NativeInitializationController(10337):        at org.chromium.chrome.browser.init.NativeInitializationController$1.run(NativeInitializationController.java:84)
E/NativeInitializationController(10337): Caused by: java.lang.UnsatisfiedLinkError: Unable to load library: libchrome.so, in: /system/app/Chrome/Chrome.apk
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.LegacyLinker.loadLibraryImpl(LegacyLinker.java:500)
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.Linker.loadLibrary(Linker.java:569)
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.LibraryLoader.loadLibrary(LibraryLoader.java:205)
E/NativeInitializationController(10337):        at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:250)
E/NativeInitializationController(10337):        ... 2 more

WebViewGoogle causes crashes on Nougat

Including WebViewGoogle in N5X Nougat builds causes many apps to crash.

Google Setup wizard crashes and other apps that require webview crash.

There is logcat output below. Note the following line:

09-28 09:56:31.714 E/WebViewFactory( 4825): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/system/app/Chrome/Chrome.apk!/lib/armeabi-v7a/libmonochrome.so" is 32-bit instead of 64-bit
09-28 09:56:31.714 E/WebViewFactory( 4825): u0 : error instantiating provider
09-28 09:56:31.714 E/WebViewFactory( 4825): java.lang.reflect.InvocationTargetException
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.lang.reflect.Constructor.newInstance0(Native Method)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:198)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at android.webkit.CookieManager.getInstance(CookieManager.java:39)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.search.core.d.Ud(Cookies.java:1256)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.search.core.d.Ue(Cookies.java:506)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.extradex.backgroundtasks.a.run(RefreshSearchDomainAndCookiesTask.java:4286)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.search.core.tasks.b.a$3.run(LegacySearchBackgroundTaskFactory.java:614)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.shared.util.concurrent.a.ag.run(TaskRunnerFutureTask.java:122)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.shared.util.concurrent.a.ar.run(ThrottlingExecutor.java:139)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.shared.util.concurrent.a.ar.run(ThrottlingExecutor.java:139)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.lang.Thread.run(Thread.java:761)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.google.android.apps.gsa.shared.util.concurrent.a.aa$1.run(GsaThreadFactory.java:85)
09-28 09:56:31.714 E/WebViewFactory( 4825): Caused by: java.lang.RuntimeException: Cannot load WebView
09-28 09:56:31.714 E/WebViewFactory( 4825):     at org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:54)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:147)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:115)
09-28 09:56:31.714 E/WebViewFactory( 4825):     ... 19 more
09-28 09:56:31.714 E/WebViewFactory( 4825): Caused by: org.chromium.base.library_loader.ProcessInitException
09-28 09:56:31.714 E/WebViewFactory( 4825):     at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:308)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:168)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:48)
09-28 09:56:31.714 E/WebViewFactory( 4825):     ... 21 more
09-28 09:56:31.714 E/WebViewFactory( 4825): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/system/app/Chrome/Chrome.apk!/lib/armeabi-v7a/libmonochrome.so" is 32-bit instead of 64-bit
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.lang.Runtime.loadLibrary0(Runtime.java:977)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at java.lang.System.loadLibrary(System.java:1530)
09-28 09:56:31.714 E/WebViewFactory( 4825):     at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:294)
09-28 09:56:31.714 E/WebViewFactory( 4825):     ... 23 more
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): u0 : Background task refresh_search_domain_then_send_gsa_home_request failed
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:204)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at android.webkit.CookieManager.getInstance(CookieManager.java:39)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.search.core.d.Ud(Cookies.java:1256)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.search.core.d.Ue(Cookies.java:506)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.extradex.backgroundtasks.a.run(RefreshSearchDomainAndCookiesTask.java:4286)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.search.core.tasks.b.a$3.run(LegacySearchBackgroundTaskFactory.java:614)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.shared.util.concurrent.a.ag.run(TaskRunnerFutureTask.java:122)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.shared.util.concurrent.a.ar.run(ThrottlingExecutor.java:139)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.shared.util.concurrent.a.ar.run(ThrottlingExecutor.java:139)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.lang.Thread.run(Thread.java:761)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.google.android.apps.gsa.shared.util.concurrent.a.aa$1.run(GsaThreadFactory.java:85)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): Caused by: java.lang.reflect.InvocationTargetException
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.lang.reflect.Constructor.newInstance0(Native Method)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:198)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    ... 16 more
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): Caused by: java.lang.RuntimeException: Cannot load WebView
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:54)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.android.webview.chromium.WebViewChromiumFactoryProvider.initialize(WebViewChromiumFactoryProvider.java:147)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:115)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    ... 19 more
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): Caused by: org.chromium.base.library_loader.ProcessInitException
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:308)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at org.chromium.base.library_loader.LibraryLoader.loadNow(LibraryLoader.java:168)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:48)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    ... 21 more
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/system/app/Chrome/Chrome.apk!/lib/armeabi-v7a/libmonochrome.so" is 32-bit instead of 64-bit
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.lang.Runtime.loadLibrary0(Runtime.java:977)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at java.lang.System.loadLibrary(System.java:1530)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    at org.chromium.base.library_loader.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:294)
09-28 09:56:31.718 E/VelvetBackgroundTasksIm( 4825):    ... 23 more

There are some comments/references in #78 that may be relevant.

GBoard Preferences app keeps crashing

I have a Nexus 5 device and I've installed Android 7.1.1 AOSP and a customized opengapps aroma package via TWRP.
Everything plays well together except the GBoard not having Russian (Cyrillic) input. In order to fix this I headed to Settings > Languages & input > Virtual keyboard > GBoard and then I see a list of options (like Languages, Preferences, etc.). Tapping on any of them results in the GBoard application crash with the following stacktrace:

01-06 18:29:49.857	2256	5539	I	Icing	Usage reports 0 indexed 0 rejected 0 imm upload false
01-06 18:29:50.316	917	2394	I	ActivityManager	START u0 {act=android.intent.action.MAIN cmp=com.android.inputmethod.latin/com.google.android.apps.inputmethod.latin.preference.SettingsActivity (has extras)} from uid 10018 on display 0
01-06 18:29:50.372	7938	7938	D	AndroidRuntime	Shutting down VM
01-06 18:29:50.376	7938	7938	E	AndroidRuntime	FATAL EXCEPTION: main
01-06 18:29:50.376	7938	7938	E	AndroidRuntime	Process: com.android.inputmethod.latin, PID: 7938
01-06 18:29:50.376	7938	7938	E	AndroidRuntime	java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.inputmethod.latin/com.google.android.apps.inputmethod.latin.preference.SettingsActivity}: java.lang.RuntimeException: Preference xml file not specified
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread.-wrap12(ActivityThread.java)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.os.Handler.dispatchMessage(Handler.java:102)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.os.Looper.loop(Looper.java:154)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread.main(ActivityThread.java:6119)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at java.lang.reflect.Method.invoke(Native Method)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime	Caused by: java.lang.RuntimeException: Preference xml file not specified
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at com.google.android.apps.inputmethod.libs.framework.preference.CommonPreferenceFragment.onCreate(PG:26)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.Fragment.performCreate(Fragment.java:2336)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:949)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.BackStackRecord.setLastIn(BackStackRecord.java:860)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.BackStackRecord.calculateFragments(BackStackRecord.java:900)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.BackStackRecord.run(BackStackRecord.java:728)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.FragmentController.execPendingActions(FragmentController.java:371)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.Activity.performStart(Activity.java:6695)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2628)
01-06 18:29:50.376	7938	7938	E	AndroidRuntime		... 9 more
01-06 18:29:50.380	917	1133	W	ActivityManager	  Force finishing activity com.android.inputmethod.latin/com.google.android.apps.inputmethod.latin.preference.SettingsActivity
01-06 18:29:50.387	917	1133	W	ActivityManager	  Force finishing activity com.android.inputmethod.latin/com.google.android.apps.inputmethod.latin.preference.SettingsActivity

There are other people experiencing the same problem: (1), (2), (3). I'm using another keyboard as a workaround but I would like to know what's the cause of this problem.

Make targets fail due to GAPPS_VARIANT not being set

When OpenGApps is part of the source tree, several make targets fail, e.g. make clean. This is due to the fact that BoardConfig.mk or device.mk is not included when making these targets, thus GAPPS_VARIANT is undefined.

I would suggest the the following patch for vendor/google/build/config.mk:

# Device should define their GAPPS_VARIANT in device/manufacturer/product/BoardConfig.mk
ifeq ($(GAPPS_VARIANT),)
  #$(error GAPPS_VARIANT must be configured)
  # If GAPPS_VARIANT is not set, default to variant 'stock'
  GAPPS_VARIANT := stock
endif
GAPPS_VARIANT_EVAL := $(call get-gapps-variant,$(GAPPS_VARIANT))

Also, it should probably print a note stating that GAPPS_VARIANT was not set and now defaults to 'stock'. Since 'stock' is the recommended variant anyway, I think this something people can live with.

BUILD_PREBUILT issue on Copperhead OS on N

Hello there,

I'm trying to integrate opengapps into AOSP N (CopperheadOS) and I'm encountering the following issue:

build/core/Makefile:34: *** Prebuilt apk found in PRODUCT_COPY_FILES: vendor/opengapps/sources/all/app/com.google.android.gm/14/nodpi/58454699.apk:system/app/com.google.android.gm/14/nodpi/58454699.apk, use BUILD_PREBUILT instead!.

I did try to naively edit vendor/googlel/build/opengapps-files.mk to change from PRODUCT_COPY_FILES to BUILD_PREBUILT, but it's not working either:

build/core/prebuilt.mk:88: vendor/opengapps/sources/all/etc/sysconfig/whitelist_com.android.omadm.service.xml:system/etc/sysconfig/whitelist_com.android.omadm.service.xml: No such file or directory

Any idea on this?

App availability in Play Store

I don't think this is an actual issue with OpenGApps, but I think this is the right place to ask so I give it a try.

I integrated OpenGApps in my AOSP build for Play Store support. But when I run my build on the target device (hardware very similar to Nexus 5x), only very few apps show up in the Play Store and most of them are marked as 'incompatible with your device'

I tried several how-tos which describe this problem, I tried to alter the build.prop, cleared the caches of Play Services and Play Store but there's no change at all.

What am I missing?

Phone recognized as Pixel in Google Photos

Nexus 6 build with stock OpenGapps package. There are no build.prop tweaks, yet the phone is recognized as a Pixel in Google Photos, which doesn't let me change the backup type. My Google Drive storage gets depleted every time I backup a photo.

It is a user build, so I have no root. Any suggestions?

Check for PRODUCT_AAPT_* value in device.mk required

I think opengapps should check if PRODUCT_AAPT_* values are present/set in device.mk.

I integrated opengapps in my AOSP build for the HiKey reference board (device/linaro/hikey) and encountered strange build errors because the device.mk for that device lacks those values. If they are missing, vendor/google/build/core/find_apk.sh receives wrong arguments and fails to locate packages.

Running into an overlay issue with 6.0.1

build/core/tasks/vendor_module_check.mk:58: *** Error: Product "aosp_hammerhead" cannot have overlay in vendor tree: vendor/google/build/overlay/stock. Stop.

Cleanup unnecessary extracted .lz files

We now extract .lz files and keep them for old APKs. We'll properly select the new APK, but we should delete the old APKs, otherwise the vendor/opengapps/sources dirs will grow for each new updated version.

See PR #90 for a discussion on this topic.

Build errors if ${ANDROID_BUILD_TOP} contains spaces

At first I put my Android sources in a path containing spaces (Android AOSP). This results in build errors. I'm not entirely sure if this is a problem with OpenGApps or the AOSP build system itself.

Either this is fixed or the README is updated with a note regarding this.

Build problem with Nexus 5X (possibly Nexus 6P too) due to new vendor partition

Hello there,

I did follow the instructions on the readme to integrate opengapps into my AOSP build but I'm encountering problems:

Target system fs image: out/target/product/bullhead/obj/PACKAGING/systemimage_intermediates/system.img Non-symlink out/target/product/bullhead/system/vendor detected! You cannot install files to out/target/product/bullhead/system/vendor while building a separate vendor.img! make: *** [out/target/product/bullhead/obj/PACKAGING/systemimage_intermediates/system.img] Error 1 make: *** Waiting for unfinished jobs....

I guess it has to do with the new partition layout of N5X/N6P:

http://forum.xda-developers.com/nexus-6p/general/developer-discussion-flashing-vendor-t3246767

I did try to edit every scripts from this repo mentioning /system/vendor, to point to /vendor instead, but it wasn't enough.

I'm not a git guru nor an Android one (first AOSP build attempt here), so I'll be glad to receive some help here ;)

Thanks again for your work!

Possible missing parts from GApps N

09-12 23:17:37.782: E/Icing(3577): dlopen failed: library "/data/data/com.google.android.gms/files/libAppDataSearchExt_arm64_v8a.so" not found
09-12 23:17:37.782: E/Icing(3577): Loading extension /data/data/com.google.android.gms/files/libAppDataSearchExt_arm64_v8a.so failed

That sounds like something which should come from GApps?

"Cannot have overlay in vendor tree"

Building the latest CopperheadOS with OpenGapps stock variant for the Nexus 6P results in the following error:

build/core/tasks/vendor_module_check.mk:58: *** Error: Product "aosp_angler" cannot have overlay in vendor tree: vendor/google/build/overlay/pico vendor/google/build/overlay/webview/24 vendor/google/build/overlay/browser vendor/google/build/overlay/dialer vendor/google/build/overlay/mms. make: *** [build/core/ninja.mk:164: out/build-aosp_angler-dist.ninja] Error 1

libfilterpack_facedetect.so, libfrsdk.so does not exist

Hi,

I am following your instructions to include open gapps to my aosp build but when I try to make I receive the following errors. Any suggestions?

Thanks a lot

target Unpacked: libfilterpack_facedetect (out/target/product/bullhead/obj/SHARED_LIBRARIES/libfilterpack_facedetect_intermediates/PACKED/libfilterpack_facedetect.so)
target Unpacked: libfacelock_jni (out/target/product/bullhead/obj/SHARED_LIBRARIES/libfacelock_jni_intermediates/PACKED/libfacelock_jni.so)
target Unpacked: libfrsdk (out/target/product/bullhead/obj/SHARED_LIBRARIES/libfrsdk_intermediates/PACKED/libfrsdk.so)
acp: file 'out/target/product/bullhead/obj/SHARED_LIBRARIES/libfacelock_jni_intermediates/LINKED/libfacelock_jni.so' does not exist
make: *** [out/target/product/bullhead/obj/SHARED_LIBRARIES/libfacelock_jni_intermediates/PACKED/libfacelock_jni.so] Error 1
make: *** Waiting for unfinished jobs....
acp: file 'out/target/product/bullhead/obj/SHARED_LIBRARIES/libfilterpack_facedetect_intermediates/LINKED/libfilterpack_facedetect.so' does not exist
make: *** [out/target/product/bullhead/obj/SHARED_LIBRARIES/libfilterpack_facedetect_intermediates/PACKED/libfilterpack_facedetect.so] Error 1
acp: file 'out/target/product/bullhead/obj/SHARED_LIBRARIES/libfrsdk_intermediates/LINKED/libfrsdk.so' does not exist
make: *** [out/target/product/bullhead/obj/SHARED_LIBRARIES/libfrsdk_intermediates/PACKED/libfrsdk.so] Error 1

Google Ears removed

Fyi I dropped Google Ears from the regular packages, as they are not found on recent images from Google anymore and it's functionality it is in the Google app nowadays

Could not solve api level

Hi all im triying build them into custom device, my surprise are that libraries are all into subdir and these could not be solved by api lvl when lauch build sistem try to copy libs from sources/arm/lib/(lib_name) but rigth path is under sources/arm/lib/(api level)/(libname), can some one check these issue thanks, regards.

Localization is not working in nougat devices

Locale locale = new Locale("es");
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
getBaseContext().getResources().updateConfiguration(config,
getBaseContext().getResources().getDisplayMetrics());

    Resources.getSystem().updateConfiguration(config, null);

copying to system/vendor not allowed when building separate vendor partition

We hit the following error when building a Marshmallow image for bullhead:

Non-symlink out/target/product/bullhead/system/vendor detected!
You cannot install files to out/target/product/bullhead/system/vendor while building a separate vendor.img!
build/core/Makefile:1030: recipe for target 'out/target/product/bullhead/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [out/target/product/bullhead/obj/PACKAGING/systemimage_intermediates/system.img] Error 1

It is caused by the PRODUCT_COPY_FILES statements generated for "pittpatt" in vendor/google/build/opengapps-files.mk:

# Pico and higher
ifneq ($(filter $(TARGET_GAPPS_VARIANT),pico),)
# vendor/pittpatt seems to be removed on N+ (so only copy it to older than N)
ifeq ($(filter $(call get-allowed-api-levels),24),)
  PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,vendor/pittpatt)
endif
  PRODUCT_COPY_FILES += $(call gapps-copy-to-system,all,usr/srec)
endif

Since we build a vendor image in our build, the pittpatt files should be copied to "/vendor" rather than "/system/vendor".

Nougat builds fail

acp: missing destination file
FAILED: /bin/bash -c "(out/host/linux-x86/bin/acp -fp  out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk ) && (if (zipinfo out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then rm -rf out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && mkdir out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs; unzip out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' -d out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && zip -d out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk 'lib/*.so' && ( cd out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../package.apk -@ ) && rm -rf out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/uncompressedlibs; fi ) && (if ! out/host/linux-x86/bin/zipalign -c -p 4 out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk >/dev/null ; then mv out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.unaligned; out/host/linux-x86/bin/zipalign -f -p 4 out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.unaligned out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.aligned; mv out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk.aligned out/target/product/tulip-chiphd/obj/APPS/GoogleTTS_intermediates/package.apk; fi )"
acp: missing destination file

not sure what the exact issue is otherwise I would supply a PR.

Setup wizard no detect ethernet network connected

hi all after build with prebuilts gapps setupwizard no detect ethernet conection is properly configured in my framework overlay but always apear wifi configuratión step i think that is application problem.

CalculatorGoogle is now API21

Hey,

CalculatorGoogle used to be API23+ but their newest versions are API21+
It has been tested to work well on Android 5.x devices, and the regular opengapps scripts are already updated now to put the calculator for the 5.x packages too.
It would be nice to also update aosp_build and add CalculatorGoogle to the API21+ builds.

system image is out of space

At the end of make aosp+gapps for nexus 7 device, i got a error about system folder is too large to fit in the allocated size of system image. Can i change the image size safely? how can i find the max image size i can change to, or should i adjust nexus 7's partition table definition?

make_ext4fs -s -T -1 -S out_6.0/aosp/target/product/deb/root/file_contexts -L system -l 880803840 -J -a system out_6.0/aosp/target/product/deb/obj/PACKAGING/systemimage_intermediates/system.img out_6.0/aosp/target/product/deb/system out_6.0/aosp/target/product/deb/system
error: ext4_allocate_best_fit_partial: failed to allocate 1807 blocks, out of space?
Creating filesystem with parameters:
    Size: 880803840
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7680
    Inode size: 256
    Journal blocks: 0
    Label: system
    Blocks: 215040
    Block groups: 7
    Reserved block group size: 55
error: failed to build out_6.0/aosp/target/product/deb/obj/PACKAGING/systemimage_intermediates/system.img from out_6.0/aosp/target/product/deb/system
Out of space? the tree size of out_6.0/aosp/target/product/deb/system is (MB):
1136    out_6.0/aosp/target/product/deb/system
The max is 840 MB.
build/core/Makefile:1018: recipe for target 'out_6.0/aosp/target/product/deb/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [out_6.0/aosp/target/product/deb/obj/PACKAGING/systemimage_intermediates/system.img] Error 1

The size of system dir

# du -h out_6.0/aosp/target/product/deb/system --max-depth=1
660M    out_6.0/aosp/target/product/deb/system/app
5.0M    out_6.0/aosp/target/product/deb/system/etc
69M     out_6.0/aosp/target/product/deb/system/usr
11M     out_6.0/aosp/target/product/deb/system/bin
84M     out_6.0/aosp/target/product/deb/system/lib
166M    out_6.0/aosp/target/product/deb/system/priv-app
3.7M    out_6.0/aosp/target/product/deb/system/xbin
6.8M    out_6.0/aosp/target/product/deb/system/tts
35M     out_6.0/aosp/target/product/deb/system/fonts
57M     out_6.0/aosp/target/product/deb/system/vendor
33M     out_6.0/aosp/target/product/deb/system/framework
11M     out_6.0/aosp/target/product/deb/system/media
1.2G    out_6.0/aosp/target/product/deb/system

fail to build shamu with super on aosp

aosp master branch, shamu builds and boots successfully without open gapps.

Full log attached:
log.txt

frameworks/base/core/res/res/values/public.xml:652: warning: No comment for public symbol android:style/Widget.WebView
nothing matches overlay file eri.xml, for flavor mcc204-mnc4
nothing matches overlay file eri.xml, for flavor mcc310-mnc4
nothing matches overlay file eri.xml, for flavor mcc310-mnc120
nothing matches overlay file eri.xml, for flavor mcc311-mnc480
nothing matches overlay file eri.xml, for flavor mcc311-mnc490
nothing matches overlay file eri.xml, for flavor mcc311-mnc870
nothing matches overlay file eri.xml, for flavor mcc312-mnc530
ninja: build stopped: subcommand failed.
build/core/ninja.mk:146: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

make failed to build some targets (30 seconds)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.