Git Product home page Git Product logo

flutter_tencentad's Introduction

flutter_tencentad's People

Contributors

gstory0404 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

Watchers

 avatar  avatar  avatar

flutter_tencentad's Issues

激励视频点击<跳过>后的错误: Application attempted to call on a destroyed WebView

感谢作者的无私奉献!

插件版本 ^1.2.2

日志

W/cr_AwContents( 6725): Application attempted to call on a destroyed WebView
W/cr_AwContents( 6725): java.lang.Throwable
W/cr_AwContents( 6725): 	at org.chromium.android_webview.AwContents.t(chromium-TrichromeWebViewGoogle.apk-stable-410410683:2)
W/cr_AwContents( 6725): 	at Mt.loadingStateChanged(chromium-TrichromeWebViewGoogle.apk-stable-410410683:2)
W/cr_AwContents( 6725): 	at android.os.MessageQueue.nativePollOnce(Native Method)
W/cr_AwContents( 6725): 	at android.os.MessageQueue.next(MessageQueue.java:339)
W/cr_AwContents( 6725): 	at android.os.Looper.loop(Looper.java:199)
W/cr_AwContents( 6725): 	at android.app.ActivityThread.main(ActivityThread.java:8292)
W/cr_AwContents( 6725): 	at java.lang.reflect.Method.invoke(Native Method)
W/cr_AwContents( 6725): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
W/cr_AwContents( 6725): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

flutter doctor -v

$ flutter doctor -v                                                                                             
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel unknown, 2.10.5, on Manjaro Linux 5.15.60-1-MANJARO, locale zh_CN.UTF-8)
    • Flutter version 2.10.5 at /home/peng/dev-tools/flutter
    • Upstream repository unknown
    • Framework revision 5464c5bac7 (4 个月前), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/peng/dev-tools/Android/Sdk/
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/peng/dev-tools/Android/Sdk
    • Java binary at: /home/peng/dev-tools/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/peng/dev-tools/android-studio
    • Flutter plugin version 69.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio
    • Android Studio at /home/peng/dev-tools/android-studio/
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /home/peng/dev-tools/android-studio/
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/peng/dev-tools/idea-IU-212.5457.46
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • PCNM00 (mobile) • 9b844f5 • android-arm64  • Android 11 (API 30)
    • Chrome (web)    • chrome  • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

我升级1.0.5版本时候编译失败

for module 'MySDK' does not include header 'GDTNativeExpressAdNetworkConnectorProtocol.h' [-Wincomplete-umbrella]
24 warnings generated.
24 warnings generated.
28 warnings generated.
Undefined symbols for architecture arm64:
"OBJC_CLASS$_GDTSDKConfig", referenced from:
objc-class-ref in flutter_tencentad(SwiftFlutterTencentadPlugin.o)
"OBJC_CLASS$_GDTServerSideVerificationOptions", referenced from:
objc-class-ref in flutter_tencentad(RewardedVideoAd.o)
"OBJC_CLASS$_GDTRewardVideoAd", referenced from:
objc-class-ref in flutter_tencentad(RewardedVideoAd.o)
"OBJC_CLASS$_GDTSplashAd", referenced from:
objc-class-ref in flutter_tencentad(SplashAdView.o)
"OBJC_CLASS$_GDTUnifiedInterstitialAd", referenced from:
objc-class-ref in flutter_tencentad(InterstitialAd.o)
"OBJC_CLASS$_GDTUnifiedBannerView", referenced from:
objc-class-ref in flutter_tencentad(BannerAdView.o)
"OBJC_CLASS$_GDTNativeExpressAdView", referenced from:
objc-class-ref in flutter_tencentad(NativeExpressAdView.o)
"OBJC_CLASS$_GDTNativeExpressAd", referenced from:
objc-class-ref in flutter_tencentad(NativeExpressAdView.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel

The plugin `flutter_tencentad` doesn't have a main class defined...

The plugin `flutter_tencentad` doesn't have a main class defined in /home/peng/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.2.1/android/src/main/java/com/gstory/flutter_tencentad/FlutterTencentadPlugin.java or
/home/peng/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.2.1/android/src/main/kotlin/com/gstory/flutter_tencentad/FlutterTencentadPlugin.kt. This is likely to due to an incorrect `androidPackage: com.gstory.flutter_tencentad`
or `mainClass` entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the `androidPackage` entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.
$ flutter doctor                        
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.10.5, on Manjaro Linux 5.15.49-1-MANJARO, locale zh_CN.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Fail to getfactory implement instance for interface:com.qq.e.comm.pi.POFactory

E/gdt_ad_mob( 7394): Fail to getfactory implement instance for interface:com.qq.e.comm.pi.POFactory
E/gdt_ad_mob( 7394): com.qq.e.comm.managers.plugin.e: Fail to getfactory implement instance for interface:com.qq.e.comm.pi.POFactory
E/gdt_ad_mob( 7394): at com.qq.e.comm.managers.plugin.PM.getFactory(:4)
E/gdt_ad_mob( 7394): at com.qq.e.comm.managers.plugin.PM.getPOFactory(Unknown Source:11)
E/gdt_ad_mob( 7394): at com.qq.e.comm.managers.a.run(Unknown Source:6)
E/gdt_ad_mob( 7394): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/gdt_ad_mob( 7394): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/gdt_ad_mob( 7394): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/gdt_ad_mob( 7394): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/gdt_ad_mob( 7394): at java.lang.Thread.run(Thread.java:919)
E/gdt_ad_mob( 7394): Caused by: java.lang.reflect.InvocationTargetException
E/gdt_ad_mob( 7394): at java.lang.reflect.Method.invoke(Native Method)
E/gdt_ad_mob( 7394): ... 8 more
E/gdt_ad_mob( 7394): Caused by: java.lang.ExceptionInInitializerError
E/gdt_ad_mob( 7394): at yaq.pro.getobjresult(Native Method)
E/gdt_ad_mob( 7394): at com.qq.e.comm.plugin.POFactoryImpl.getInstance(Unknown Source:11)
E/gdt_ad_mob( 7394): ... 9 more
E/gdt_ad_mob( 7394): Caused by: java.lang.RuntimeException: load lib error
E/gdt_ad_mob( 7394): at yaq.pro.(pro.java:200)
E/gdt_ad_mob( 7394): ... 11 more

安卓信息流广告的异常: NameNotFoundException: com.tencent.mm

感谢插件作者的辛勤工作!

Exception

W/System.err(21690): android.content.pm.PackageManager$NameNotFoundException: com.tencent.mm
W/System.err(21690):    at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:237)
W/System.err(21690):    at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:204)
W/System.err(21690):    at yaq.pro.getZresult(Native Method)
W/System.err(21690):    at com.qq.e.comm.plugin.N.b.a(Unknown Source:13)
W/System.err(21690):    at com.qq.e.comm.plugin.util.t0.a(A:11)
W/System.err(21690):    at com.qq.e.comm.plugin.util.t0.a(A:18)
W/System.err(21690):    at com.qq.e.comm.plugin.b.d.b(A:21)
W/System.err(21690):    at com.qq.e.comm.plugin.b.d.a(A:130)
W/System.err(21690):    at com.qq.e.comm.plugin.b.d.a(A:63)
W/System.err(21690):    at yaq.pro.getVresult(Native Method)
W/System.err(21690):    at com.qq.e.comm.plugin.F.d.a(Unknown Source:18)
W/System.err(21690):    at yaq.pro.getVresult(Native Method)
W/System.err(21690):    at com.qq.e.comm.plugin.F.d.a(Unknown Source:15)
W/System.err(21690):    at com.qq.e.comm.plugin.gdtnativead.h.loadAd(A:32)
W/System.err(21690):    at com.qq.e.comm.plugin.gdtnativead.h.loadAd(A:1)
W/System.err(21690):    at com.qq.e.comm.plugin.gdtnativead.g.loadAd(A:2)
W/System.err(21690):    at com.qq.e.ads.nativ.NativeExpressAD.a(Unknown Source:86)
W/System.err(21690):    at com.qq.e.ads.nativ.NativeExpressAD.a(Unknown Source:2)
W/System.err(21690):    at com.qq.e.ads.AbstractAD$1$1.run(Unknown Source:73)
W/System.err(21690):    at android.os.Handler.handleCallback(Handler.java:938)
W/System.err(21690):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(21690):    at android.os.Looper.loop(Looper.java:263)
W/System.err(21690):    at android.app.ActivityThread.main(ActivityThread.java:8292)
W/System.err(21690):    at java.lang.reflect.Method.invoke(Native Method)
W/System.err(21690):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
W/System.err(21690):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

flutter doctor -v

$ flutter doctor -v                                                         
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel unknown, 2.10.5, on Manjaro Linux 5.15.60-1-MANJARO, locale zh_CN.UTF-8)
    • Flutter version 2.10.5 at /home/peng/dev-tools/flutter
    • Upstream repository unknown
    • Framework revision 5464c5bac7 (4 个月前), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/peng/dev-tools/Android/Sdk/
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/peng/dev-tools/Android/Sdk
    • Java binary at: /home/peng/dev-tools/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Android Studio (version 2021.1)
    • Android Studio at /home/peng/dev-tools/android-studio
    • Flutter plugin version 69.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Android Studio
    • Android Studio at /home/peng/dev-tools/android-studio/
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /home/peng/dev-tools/android-studio/
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/peng/dev-tools/idea-IU-212.5457.46
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
    • PCNM00 (mobile) • 9b844f5 • android-arm64  • Android 11 (API 30)
    • Chrome (web)    • chrome  • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

因为报错, 导致列表卡顿。

flutter pub get

The plugin flutter_tencentad doesn't have a main class defined in /Volumes/Sources/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_tencentad-1.2.7/android/src/main/java/com/gstory/flutter_tencentad/FlutterTencentadPlugin.java or /Volumes/Sources/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_tencentad-1.2.7/android/src/main/kotlin/com/gstory/flutter_tencentad/FlutterTencentadPlugin.kt. This is likely to due to an incorrect androidPackage: com.gstory.flutter_tencentad or mainClass entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the androidPackage entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.
exit code 1

动态信息流/横幅/视频贴片广告 报错

I/flutter (10412): 动态信息流广告显示
W/ContentCatcher(10412): Failed to notify a WebView
E/InputMethodManager(10412): b/117267690: Failed to get fallback IMM with expected displayId=24 actual IMM#displayId=0 view=com.qq.e.c
omm.plugin.I.c{4007378 VFED..C.. ........ 0,0-1079,872}
E/WindowManager(10412): BadTokenException or InvalidDisplayException, clean up.
E/MethodChannel#flutter/platform_views(10412): Failed to handle method call
E/MethodChannel#flutter/platform_views(10412): android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.
Binder@e33aaa8 is not valid; is your activity running?
E/MethodChannel#flutter/platform_views(10412): at android.view.ViewRootImpl.setView(ViewRootImpl.java:991)
E/MethodChannel#flutter/platform_views(10412): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:387)
E/MethodChannel#flutter/platform_views(10412): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:96)
E/MethodChannel#flutter/platform_views(10412): at android.app.Dialog.show(Dialog.java:344)
E/MethodChannel#flutter/platform_views(10412): at android.app.Presentation.show(Presentation.java:260)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.plugin.platform.VirtualDisplayController.resize(VirtualDisplayController
.java:161)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.plugin.platform.PlatformViewsController$1.resizePlatformView(PlatformVie
wsController.java:285)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.resize(PlatformVi
ewsChannel.java:138)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(Plat
formViewsChannel.java:65)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodCh
annel.java:233)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.
java:85)
E/MethodChannel#flutter/platform_views(10412): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
E/MethodChannel#flutter/platform_views(10412): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#flutter/platform_views(10412): at android.os.MessageQueue.next(MessageQueue.java:336)
E/MethodChannel#flutter/platform_views(10412): at android.os.Looper.loop(Looper.java:183)
E/MethodChannel#flutter/platform_views(10412): at android.app.ActivityThread.main(ActivityThread.java:7592)
E/MethodChannel#flutter/platform_views(10412): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#flutter/platform_views(10412): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
E/MethodChannel#flutter/platform_views(10412): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
E/flutter (10412): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(error, Unable to add window --
token android.os.Binder@e33aaa8 is not valid; is your activity running?, null, android.view.WindowManager$BadTokenException: Unable to
add window -- token android.os.Binder@e33aaa8 is not valid; is your activity running?
E/flutter (10412): at android.view.ViewRootImpl.setView(ViewRootImpl.java:991)
E/flutter (10412): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:387)
E/flutter (10412): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:96)
E/flutter (10412): at android.app.Dialog.show(Dialog.java:344)
E/flutter (10412): at android.app.Presentation.show(Presentation.java:260)
E/flutter (10412): at io.flutter.plugin.platform.VirtualDisplayController.resize(VirtualDisplayController.java:161)
E/flutter (10412): at io.flutter.plugin.platform.PlatformViewsController$1.resizePlatformView(PlatformViewsController.java:285)
E/flutter (10412): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.resize(PlatformViewsChannel.java:138)
E/flutter (10412): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:65
)
E/flutter (10412): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (10412): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (10412): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
E/flutter (10412): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (10412): at android.os.MessageQueue.next(MessageQueue.java:336)
E/flutter (10412): at android.os.Looper.loop(Looper.java:183)
E/flutter (10412): at android.app.ActivityThread.main(ActivityThread.java:7592)
E/flutter (10412): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (10412): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
E/flutter (10412): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
E/flutter (10412): )
E/flutter (10412): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:597:7)
E/flutter (10412): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158:18)
E/flutter (10412):
E/flutter (10412): #2 TextureAndroidViewController.setSize (package:flutter/src/services/platform_views.dart:1009:5)
E/flutter (10412):
E/flutter (10412): #3 RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:193:7)
E/flutter (10412):
E/flutter (10412):
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/Zeus/receiver(10412): action[android.intent.action.BATTERY_CHANGED] match success ! invoke onReceiver
I/TeaLog (10412): p worked:true 60000
I/TeaLog (10412): s0 0
I/TeaLog (10412): s worked:true 60000
I/Zeus/receiver(10412): ZeusTransformUtils-registerReceiver-execute
I/Zeus/receiver(10412): ZeusTransformUtils-registerReceiver-execute

加载广告引起崩溃

[Error] [GDTMob:GDTNativeExpressAdImp] AppId is empty.
Unsupported value: Error Domain=GDTAdErrorDomain Code=4021 "appId 错误,未正确注册 [GDTSDKConfig registerAppId:]" UserInfo={NSLocalizedDescription=appId 错误,未正确注册 [GDTSDKConfig registerAppId:]} of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:330
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x193db186c 0x1a8d20c50 0x193cb7000 0x19504b91c 0x10cb6eb28 0x10cb6f014 0x10cb6be88 0x100f62b84 0x100f62ca0 0x10b8cff50 0x10b7b3e38 0x10b7b3ccc 0x10b7b28e8 0x10b8cfb8c 0x100f61464 0x100f60b18 0x100f5ff3c 0x100f65888 0x100f6597c 0x10c2ea298 0x10c2e57ec 0x10cb6c074 0x10c30bb78 0x10c60af5c 0x10c5aa35c 0x10c5aca14 0x193d2dfa0 0x193d2dba0 0x193d2cffc 0x193d26ee4 0x193d2621c 0x1ab82a784 0x196764fe0 0x19676a854 0x10040cc94 0x1939e66b0)
libc++abi.dylib: terminating with uncaught exception of type NSException

  • thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001c1b28414 libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill:
    -> 0x1c1b28414 <+8>: b.lo 0x1c1b28434 ; <+40>
    0x1c1b28418 <+12>: pacibsp
    0x1c1b2841c <+16>: stp x29, x30, [sp, #-0x10]!
    0x1c1b28420 <+20>: mov x29, sp
    Target 0: (Runner) stopped.
    Lost connection to device.

Linux下找不到 FlutterTencentadPlugin.kt

The plugin `flutter_tencentad` doesn't have a main class defined in /home/peng/.pub-cache/hosted/pub.dartlang.org/flutter_tencentad-1.2.1/android/src/main/java/com/gstory/flutter_tencentad/FlutterTencentadPlugin.java or /home/peng/.pub-cache/hosted/pub.dartlang.org/flutter_tencentad-1.2.1/android/src/main/kotlin/com/gstory/flutter_tencentad/FlutterTencentadPlugin.kt. This is likely to due to an incorrect `androidPackage: com.gstory.flutter_tencentad` or `mainClass` entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the `androidPackage` entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile. 

实际路径中文件名为FlutterTencentAdPlugin.kt, 导致报以上错误

如何实现 应用下载弹窗确认?请求实现此功能

https://developers.adnet.qq.com/doc/android/union/union_download_confirm
在广告播放中(广告展示和落地页),点击触发广告下载时对开发者注册的回调函数进行回调,开发者可以使用回调获取应用名称、版本等相关信息,并进行弹窗提示用户是否确认进行下载。
适用场景:在合规的场景,点击下载类广告必须向用户展示应用信息并二次确认是否下载,而sdk的内部弹窗的格式不符合开发者UI要求的时候。

有助于应用更加合理合规

Banner广告不显示,有广告占位,但无广告内容

Banner广告不显示,有广告占位,但无广告内容。不过日志里已经提示成功:

-[TLogUtil print:]
 请求广告条数据成功后调用
flutter: Banner显示 {alias: ylh, androidId: xxxxxxxx, iosId: xxxxxxxx, probability: 10}

广告也没有调用 失败 或者 关闭 的回调,debug和日志可以确认这一点。所以占位会一直在,就是无内容。

最近的测试中,在 iOS 100%复现。

使用时是集成在 GTAds 里使用的,同一个广告位如果是穿山甲的广告正常显示,说明并不是使用的不对。
优量汇里显示该广告位状态正常,优量汇其他广告位显示都正常,加上日志显示广告数据请求成功了,说明广告位本身应该没问题。

信息流广告异常: E/gdt_ad_mob( 9980): ADEvent 参数为空,type:109

部分日志

I/chromium( 9980): [INFO:CONSOLE(31)] "%c[LOG] [1661004506884  Sat Aug 20 2022 22:08:26 GMT+0800 (**标准时间)] 
I/chromium( 9980):  color: green @DSLTagDefine::MSG DSLTagDefine function is runned", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "console.groupEnd", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "err", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "%c[INFO] [1661004506896  Sat Aug 20 2022 22:08:26 GMT+0800 (**标准时间)] 
I/chromium( 9980):  color: blue; @tempMob::updateDownloadInfo [object Object]", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "console.groupEnd", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
E/gdt_ad_mob( 9980): ADEvent 参数为空,type:109
V/InputMethodManager( 9980): b/117267690: Failed to get fallback IMM with expected displayId=547 actual IMM#displayId=0 view=com.qq.e.comm.plugin.L.b{4aa8464 VFED..C.. ........ 0,0-1081,826}
D/ColorViewRootUtil( 9980): initSwipState, isDisplayCompatApp false
D/ColorViewRootUtil( 9980): don't initSwipState because display 548 is not default display
D/WindowManager( 9980): Add to mViews: DecorView@6bffbfc[MainActivity],pkg= com.zerone.sentence
V/OplusZoomWindowDecorViewHelper( 9980): setLastReportedMergedConfiguration mZoomDisplayHeight: 842 getDecorView.DecorView@6bffbfc[MainActivity]
D/ColorViewRootUtil( 9980): initSwipState, isDisplayCompatApp false
D/ColorViewRootUtil( 9980): don't initSwipState because display 549 is not default display
D/WindowManager( 9980): Add to mViews: DecorView@1ed567e[MainActivity],pkg= com.zerone.sentence
V/OplusZoomWindowDecorViewHelper( 9980): setLastReportedMergedConfiguration mZoomDisplayHeight: 840 getDecorView.DecorView@1ed567e[MainActivity]
I/chromium( 9980): [INFO:CONSOLE(31)] "%c[LOG] [1661004508733  Sat Aug 20 2022 22:08:28 GMT+0800 (**标准时间)] 
I/chromium( 9980):  color: green @DSLTagDefine::MSG DSLTagDefine function is runned", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "console.groupEnd", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "err", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "%c[INFO] [1661004508748  Sat Aug 20 2022 22:08:28 GMT+0800 (**标准时间)] 
I/chromium( 9980):  color: blue; @tempMob::updateDownloadInfo [object Object]", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
I/chromium( 9980): [INFO:CONSOLE(31)] "console.groupEnd", source: https://qzs.gdtimg.com/union/res/union_temp_v2/page/ANTempMob/tempMob.c33872e2ec399eef7453219c375d6ffb.1659340444457.html (31)
E/gdt_ad_mob( 9980): ADEvent 参数为空,type:109
V/InputMethodManager( 9980): b/117267690: Failed to get fallback IMM with expected displayId=549 actual IMM#displayId=0 view=com.qq.e.comm.plugin.L.b{5e1285c VFED..C.. ........ 0,0-1081,728}
D/ColorViewRootUtil( 9980): initSwipState, isDisplayCompatApp false
D/ColorViewRootUtil( 9980): don't initSwipState because display 550 is not default display
D/WindowManager( 9980): Add to mViews: DecorView@cb826f4[MainActivity],pkg= com.zerone.sentence
V/OplusZoomWindowDecorViewHelper( 9980): setLastReportedMergedConfiguration mZoomDisplayHeight: 842 getDecorView.DecorView@cb826f4[MainActivity]

$ flutter doctor -v

$ flutter doctor -v                                                                          
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel unknown, 2.10.5, on Manjaro Linux 5.15.60-1-MANJARO, locale zh_CN.UTF-8)
    • Flutter version 2.10.5 at /home/peng/dev-tools/flutter
    • Upstream repository unknown
    • Framework revision 5464c5bac7 (4 个月前), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/peng/dev-tools/Android/Sdk/
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/peng/dev-tools/Android/Sdk
    • Java binary at: /home/peng/dev-tools/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/peng/dev-tools/android-studio
    • Flutter plugin version 69.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio
    • Android Studio at /home/peng/dev-tools/android-studio/
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /home/peng/dev-tools/android-studio/
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/peng/dev-tools/idea-IU-212.5457.46
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • PCNM00 (mobile) • 9b844f5 • android-arm64  • Android 11 (API 30)
    • Chrome (web)    • chrome  • web-javascript • Google Chrome 104.0.5112.79

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

BannerAdView在页面滑动时抛出异常,app退出

BannerAdView在页面滑动时抛出异常,app退出, 在log中发现如下信息:

E/AndroidRuntime(30544): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
E/AndroidRuntime(30544): 	at android.view.ViewGroup.addViewInner(ViewGroup.java:4976)
E/AndroidRuntime(30544): 	at android.view.ViewGroup.addView(ViewGroup.java:4807)
E/AndroidRuntime(30544): 	at android.view.ViewGroup.addView(ViewGroup.java:4747)
E/AndroidRuntime(30544): 	at android.view.ViewGroup.addView(ViewGroup.java:4720)
E/AndroidRuntime(30544): 	at com.gstory.flutter_tencentad.bannerad.BannerAdView.onADReceive(BannerAdView.kt:76)
E/AndroidRuntime(30544): 	at com.qq.e.comm.plugin.banner2.a$1.run(A:87)
E/AndroidRuntime(30544): 	at android.os.Handler.handleCallback(Handler.java:808)
E/AndroidRuntime(30544): 	at android.os.Handler.dispatchMessage(Handler.java:101)
E/AndroidRuntime(30544): 	at android.os.Looper.loop(Looper.java:166)
E/AndroidRuntime(30544): 	at android.app.ActivityThread.main(ActivityThread.java:7529)
E/AndroidRuntime(30544): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(30544): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
E/AndroidRuntime(30544): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

ios编译报错

v1.1.4
Could not build the precompiled application for the device.
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

Lexical or Preprocessor Issue (Xcode): 'LogUtil.h' file not found
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.1.4/ios/Classes/splash/SplashAd.m:9:8

Lexical or Preprocessor Issue (Xcode): 'LogUtil.h' file not found
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.1.4/ios/Classes/reward/RewardAd.m:10:8

接入flutter_tencentad: ^1.0.0 iOS编译报错

因为我不太懂iOS望帮忙解答一下谢谢
Xcode's output:

/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:18:34: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
private var interstitialAd : GDTUnifiedInterstitialAd?
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:50:67: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialClicked(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:61:72: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialSuccess(toLoad unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:69:72: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialWillExposure(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:80:73: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialRenderSuccess(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:92:69: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialFail(toLoad unifiedInterstitial: GDTUnifiedInterstitialAd, error: Error) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:105:76: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialDidDownloadVideo(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:113:76: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialDidPresentScreen(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:124:76: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialDidDismissScreen(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:135:77: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialWillPresentScreen(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:142:80: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialWillLeaveApplication(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:150:72: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialFail(toPresent unifiedInterstitial: GDTUnifiedInterstitialAd, error: Error) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:163:70: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialRenderFail(_ unifiedInterstitial: GDTUnifiedInterstitialAd, error: Error) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:176:87: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdDidPresentFullScreenModal(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:183:87: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdDidDismissFullScreenModal(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:190:88: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdWillPresentFullScreenModal(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:197:88: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdWillDismissFullScreenModal(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:204:83: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdViewDidPresentVideoVC(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:211:83: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdViewDidDismissVideoVC(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:218:84: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdViewWillPresentVideoVC(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:225:84: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdViewWillDismissVideoVC(_ unifiedInterstitial: GDTUnifiedInterstitialAd) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:235:80: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAdDidRewardEffective(_ unifiedInterstitial: GDTUnifiedInterstitialAd, info: [AnyHashable : Any]) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:242:62: error: cannot find type 'GDTUnifiedInterstitialAd' in scope
public func unifiedInterstitialAd(_ unifiedInterstitial: GDTUnifiedInterstitialAd, playerStatusChanged status: GDTMediaPlayerStatus) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:242:116: error: cannot find type 'GDTMediaPlayerStatus' in scope
public func unifiedInterstitialAd(_ unifiedInterstitial: GDTUnifiedInterstitialAd, playerStatusChanged status: GDTMediaPlayerStatus) {
^~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:10:40: error: cannot find type 'GDTUnifiedInterstitialAdDelegate' in scope
public class InterstitialAd : NSObject,GDTUnifiedInterstitialAdDelegate{
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/interstitialad/InterstitialAd.swift:25:31: error: cannot find 'GDTUnifiedInterstitialAd' in scope
self.interstitialAd = GDTUnifiedInterstitialAd.init(placementId: self.mCodeId!)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/rewardedvideoad/RewardedVideoAd.swift:117:53: warning: expression implicitly coerced from 'Any?' to 'Any'
"transId":info["GDT_TRANS_ID"],
^~~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/rewardedvideoad/RewardedVideoAd.swift:117:57: note: provide a default value to avoid this warning
"transId":info["GDT_TRANS_ID"],
~~~~^~~~~~~~~~~~~~~~
?? <#default value#>
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/rewardedvideoad/RewardedVideoAd.swift:117:57: note: force-unwrap the value to avoid this warning
"transId":info["GDT_TRANS_ID"],
~~~~^~~~~~~~~~~~~~~~
!
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/rewardedvideoad/RewardedVideoAd.swift:117:57: note: explicitly cast to 'Any' with 'as Any' to silence this warning
"transId":info["GDT_TRANS_ID"],
~~~~^~~~~~~~~~~~~~~~
as Any
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:15:27: error: cannot find type 'GDTSplashAd' in scope
private var splashAd: GDTSplashAd!
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:45:44: error: cannot find type 'GDTSplashAd' in scope
public func splashAdClosed(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:53:45: error: cannot find type 'GDTSplashAd' in scope
public func splashAdClicked(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:61:47: error: cannot find type 'GDTSplashAd' in scope
public func splashAdExposured(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:70:45: error: cannot find type 'GDTSplashAd' in scope
public func splashAdDidLoad(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:83:50: error: cannot find type 'GDTSplashAd' in scope
public func splashAdFail(toPresent splashAd: GDTSplashAd!, withError error: Error!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:94:48: error: cannot find type 'GDTSplashAd' in scope
public func splashAdWillClosed(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:103:58: error: cannot find type 'GDTSplashAd' in scope
public func splashAdSuccessPresentScreen(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:112:68: error: cannot find type 'GDTSplashAd' in scope
public func splashAdApplicationWillEnterBackground(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:119:63: error: cannot find type 'GDTSplashAd' in scope
public func splashAdDidPresentFullScreenModal(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:126:63: error: cannot find type 'GDTSplashAd' in scope
public func splashAdDidDismissFullScreenModal(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:133:64: error: cannot find type 'GDTSplashAd' in scope
public func splashAdWillPresentFullScreenModal(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:141:64: error: cannot find type 'GDTSplashAd' in scope
public func splashAdWillDismissFullScreenModal(_ splashAd: GDTSplashAd!) {
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:10:58: error: cannot find type 'GDTSplashAdDelegate' in scope
public class SplashAdView : NSObject,FlutterPlatformView,GDTSplashAdDelegate{
^~~~~~~~~~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:36:20: error: cannot find 'GDTSplashAd' in scope
splashAd = GDTSplashAd.init(placementId: self.codeId)
^~~~~~~~~~~
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_tencentad-1.0.0/ios/Classes/splashad/SplashAdView.swift:15:27: error: cannot find type 'GDTSplashAd' in scope
private var splashAd: GDTSplashAd!
^~~~~~~~~~~
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
/Users/love/work/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/agora_rtc_engine-4.0.6/ios/Classes/Base/Extensions.swift:121:22: warning: 'delay' is deprecated
"delay": delay,
^
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description

Could not build the precompiled application for the device.

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.