Skip to content

Conversation

@auto-submit
Copy link
Contributor

@auto-submit auto-submit bot commented Mar 15, 2024

Reverts: #145224

Initiated by: hellohuanlin

Reason for reverting: breaks the tree

Original PR Author: hellohuanlin

Reviewed By: {gmackall, jmagman}

This change reverts the following previous change:
Reland #144745, which got reverted due to Android lockfile. Fixed by dart dev/tools/bin/generate_gradle_lockfiles.dart

List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.

Fixes #143534
Fixes #143257

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@auto-submit auto-submit bot added the revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests. label Mar 15, 2024
@github-actions github-actions bot added the f: scrolling Viewports, list views, slivers, etc. label Mar 15, 2024
@auto-submit auto-submit bot merged commit ca2d486 into master Mar 15, 2024
@auto-submit auto-submit bot deleted the revert_da4d0e4fab675c2716bd4933094f29fbe33cb230 branch March 15, 2024 20:09
@jmagman
Copy link
Member

jmagman commented Mar 15, 2024

--------- beginning of crash
03-15 12:33:10.713 15338 15338 E AndroidRuntime: FATAL EXCEPTION: main
03-15 12:33:10.713 15338 15338 E AndroidRuntime: Process: dev.benchmarks.platform_views_layout, PID: 15338
03-15 12:33:10.713 15338 15338 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: ******************************************************************************
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * should follow the instructions here:                                       *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * https://googlemobileadssdk.page.link/admob-android-update-manifest         *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * to add a valid App ID inside the AndroidManifest.                          *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * Google Ad Manager publishers should follow instructions here:              *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: ******************************************************************************
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.installProvider(ActivityThread.java:7513)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.installContentProviders(ActivityThread.java:7019)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6790)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2132)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7918)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: Caused by: java.lang.IllegalStateException: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: ******************************************************************************
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * should follow the instructions here:                                       *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * https://googlemobileadssdk.page.link/admob-android-update-manifest         *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * to add a valid App ID inside the AndroidManifest.                          *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * Google Ad Manager publishers should follow instructions here:              *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
03-15 12:33:10.713 15338 15338 E AndroidRuntime: ******************************************************************************
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at com.google.android.gms.ads.internal.client.zzek.attachInfo(com.google.android.gms:play-services-ads-lite@@22.5.0:26)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@22.5.0:1)
03-15 12:33:10.713 15338 15338 E AndroidRuntime: 	at android.app.ActivityThread.installProvider(ActivityThread.java:7508)

This seems to be missing the com.google.android.gms.ads.APPLICATION_ID meta-data
https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk. I will add and put this out for re-review.

auto-submit bot pushed a commit that referenced this pull request Mar 16, 2024
Reland #144745, which was reverted due to a the Android app ads not being set up correctly, crashing on launch: #145228

Add the missing [`com.google.android.gms.ads.APPLICATION_ID` `meta-data` tag](https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk) to the manifest.

Validated both `platform_views_scroll_perf__timeline_summary` and `platform_views_scroll_perf_impeller__timeline_summary` ran locally on an Android emulator.

Successful presubmit runs:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf__timeline_summary/4/overview
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf_impeller__timeline_summary/4/overview

Original commit message:
_________
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue #144339

Fixes #143534
Fixes #143257
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 16, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 16, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: scrolling Viewports, list views, slivers, etc. revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests.

Projects

None yet

3 participants