Skip to content

Карта отображается, как сетка, именно на Андроид #36

@ValeriusGC

Description

@ValeriusGC

Карта отображается на симуляторе, но не хочет отображаться на Андроид железе/эмуляторе. Только сетка.

На железе (Realme 12)

I/PlatformViewsController(21967): Hosting view in view hierarchy for platform view: 1
I/PlatformViewsController(21967): PlatformView is using SurfaceProducer backend
D/BufferQueueConsumer(21967): [](id:55cf00000005,api:0,p:-1,c:21967) connect: controlledByApp=true
D/skia    (21967): setRusSupported enable 0
D/BufferQueueConsumer(21967): [](id:55cf00000006,api:0,p:-1,c:21967) connect: controlledByApp=true
D/skia    (21967): setRusSupported enable 0
D/TextureView(21967): getHardwareLayer, createNewSurface:true
D/BufferQueueConsumer(21967): [](id:55cf00000007,api:0,p:-1,c:21967) connect: controlledByApp=true
D/libMEOW (21967): meow new tls: 0xb400006d8c0f4480
D/libMEOW (21967): applied 1 plugins for [com.mercial.mobile.albagroup]:
D/libMEOW (21967):   plugin 1: [libMEOW_gift.so]:
D/HWUI    (21967): RenderProxy::destroy: this=0xb400006dfed8bd00, mContext=0xb400007080ba9dc0
D/HWUI    (21967): SkiaVulkanPipeline::setSurface: this=0xb400006f03e58180, surface=NULL
D/BufferQueueConsumer(21967): [ImageReader-1x1f22m7-21967-2](id:55cf00000005,api:0,p:-1,c:21967) disconnect

На эмуляторе (Pixel)

I/PlatformViewsController( 3786): Hosting view in view hierarchy for platform view: 0
I/PlatformViewsController( 3786): PlatformView is using SurfaceProducer backend
D/EGL_emulation( 3786): app_time_stats: avg=523.14ms min=2.22ms max=7879.80ms count=16
W/obile.albagroup( 3786): ApkAssets: Deleting an ApkAssets object '<empty> and /product/app/talkback/talkback.apk' with 1 weak references
W/obile.albagroup( 3786): ApkAssets: Deleting an ApkAssets object '/vendor/overlay/EmulatorTalkBackOverlay/EmulatorTalkBackOverlay.apk' with 1 weak references
D/EGL_emulation( 3786): app_time_stats: avg=24.88ms min=14.77ms max=106.11ms count=41
E/FrameTracker( 3786): force finish cuj, time out: J<IME_INSETS_SHOW_ANIMATION::0@[email protected]>
D/EGL_emulation( 3786): app_time_stats: avg=125.65ms min=32.40ms max=391.81ms count=8
D/EGL_emulation( 3786): app_time_stats: avg=48.12ms min=0.80ms max=419.15ms count=22
D/EGL_emulation( 3786): app_time_stats: avg=74.73ms min=16.02ms max=391.23ms count=15
D/EGL_emulation( 3786): app_time_stats: avg=23.03ms min=9.12ms max=116.71ms count=44
E/FrameTracker( 3786): force finish cuj, time out: J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 17942, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 17972, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 17994, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 18016, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 18046, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:UNKNOWN: 80, 18068, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18091, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18113, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18142, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18164, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18200, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18222, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18244, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
W/FrameTracker( 3786): Missed SF frame:PREDICTION_ERROR, 18266, 0, CUJ=J<IME_INSETS_HIDE_ANIMATION::1@[email protected]>
V/PerfettoTrigger( 3786): Not triggering com.android.telemetry.interaction-jank-monitor-81 - not enough time since last trigger
D/EGL_emulation( 3786): app_time_stats: avg=45.56ms min=12.19ms max=1000.21ms count=34
D/EGL_emulation( 3786): app_time_stats: avg=1003.49ms min=1003.49ms max=1003.49ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=1003.42ms min=1003.42ms max=1003.42ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=998.19ms min=993.20ms max=1003.18ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=999.81ms min=999.81ms max=999.81ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=997.74ms min=996.78ms max=998.71ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=1007.12ms min=1007.12ms max=1007.12ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=998.44ms min=996.22ms max=1000.67ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=999.54ms min=995.55ms max=1003.52ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=1002.93ms min=1002.93ms max=1002.93ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=998.34ms min=998.13ms max=998.56ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=1002.24ms min=1002.24ms max=1002.24ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=1007.30ms min=997.10ms max=1017.50ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=992.00ms min=985.00ms max=999.01ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=1001.17ms min=996.47ms max=1005.87ms count=2
I/TRuntime.CctTransportBackend( 3786): Making request to: https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog
D/TrafficStats( 3786): tagSocket(215) with statsTag=0xffffffff, statsUid=-1
D/EGL_emulation( 3786): app_time_stats: avg=998.26ms min=994.44ms max=1002.07ms count=2
I/TRuntime.CctTransportBackend( 3786): Status Code: 200
D/EGL_emulation( 3786): app_time_stats: avg=999.72ms min=998.66ms max=1000.79ms count=2
D/EGL_emulation( 3786): app_time_stats: avg=999.98ms min=999.98ms max=999.98ms count=1
D/EGL_emulation( 3786): app_time_stats: avg=999.43ms min=998.98ms max=999.89ms count=2

Система

pubspec.yaml
yandex_maps_mapkit: ^4.26.1-beta

android/app/build.gradle
implementation "com.google.android.gms:play-services-location:21.1.0"

main.dart
await init.initMapkit(
apiKey: 'YOUR_API_KEY'
);

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.5, on macOS 15.7.1 24G231 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc5)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
    ! Error: Browsing on the local area network for iPhone (Frostyland). Ensure the device is unlocked and attached with a cable or
      associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions