[Samsung Galaxy S8 & S8+ Cross Device Development] smallville7123:
is ANYONE able to install Gapps in AOSP Extended (AEX) as every time I try to finish setup I get a black screen after Checking Info, cant even sign into play store cus its required to finish setup

---------- Post added at 11:41 PM ---------- Previous post was at 10:59 PM ----------

OK so I managed to install Gapps in AEX

Flash a Gapps compatible GSI

Reboot into recovery

Tap WIPE

Tap advanced

Tap system

Tap resize or repair

It will fail with error 1

Tap resize

It will succeed

Flash Gapps

Might need to wipe data to correctly install Gapps

Boot into system

Setup google play and such

Once google play is confirmed accessible

Reboot into recovery

Flash AEX (AOSP Extended)

Reboot into recovery otherwise gapps will complain about Android 7.0.2 being installed

Tap WIPE

Tap advanced

Tap system

Tap resize or repair

It will fail with error 1

Tap resize

It will succeed

Flash Gapps

Reboot into system

Google play should be working

If you get the finish setup prompt this one will not result in a black screen and is completable

NOTE; it appears GMAIL would appear to need to be set up this way aswell, HOWEVER even if it is setup it keeps crashing, inspection of the logcat shows that it fails to load WebView provider

10815-10815/? E/WebViewFactory: Chromium WebView package does not exist

android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed

at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:376)

at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:439)

at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:251)

at android.webkit.WebView.getFactory(WebView.java:2467)

at android.webkit.WebView.ensureProviderCreated(WebView.java:2462)

at android.webkit.WebView.setOverScrollMode(WebView.java:2527)

at android.view.View.<init>(View.java:4807)

...

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

10815-10815/? D/AndroidRuntime: Shutting down VM

--------- beginning of crash

10815-10815/? E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.google.android.gm, PID: 10815

android.view.InflateException: Binary XML file line #30: Binary XML file line #30: Error inflating class com.android.mail.browse.ConversationWebView

Caused by: android.view.InflateException: Binary XML file line #30: Error inflating class com.android.mail.browse.ConversationWebView

Caused by: java.lang.reflect.InvocationTargetException

...

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed

at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:471)

at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:251)

at android.webkit.WebView.getFactory(WebView.java:2467)

at android.webkit.WebView.ensureProviderCreated(WebView.java:2462)

at android.webkit.WebView.setOverScrollMode(WebView.java:2527)

at android.view.View.<init>(View.java:4807)

...

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)*

Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed

at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:376)

at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:439)

at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:251)*

at android.webkit.WebView.getFactory(WebView.java:2467)*

at android.webkit.WebView.ensureProviderCreated(WebView.java:2462)*

at android.webkit.WebView.setOverScrollMode(WebView.java:2527)*

at android.view.View.<init>(View.java:4807)*

...

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)*

IMPORTANT: Via will not work due to it complaining "Android System WebView isn't installed correctly" and will NOT go away even if it is installed from google play, other web browser applications will not complain however and seem to work fine

---------- Post added 20th August 2019 at 12:24 AM ---------- Previous post was 19th August 2019 at 11:41 PM ----------

you can fix that by resizing it, see my previous post about how to install Gapps on AEX (correctly since on AEXit is impossible to install without dirty flashing)