Skip to content

MissingPluginException(No implementation found for method initialize on channel mixpanel_flutter) on Android #206

@tringuyen53

Description

@tringuyen53

I am having exception when call Mixpanel.init(..)

Here is my flutter doctor:
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.26200.7171], locale en-US)
• Flutter version 3.19.6 on channel stable at C:\Users\ADMIN\fvm\versions\3.19.6
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e66469a9 (1 year, 7 months ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc1)
• Android SDK at C:\Users\ADMIN\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.9.34728.123
• Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2025.2.1)
• Android Studio at C:\Program Files\Android\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
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)

[√] VS Code (version 1.106.0)
• VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.122.0

[√] Connected device (4 available)
• sdk gphone16k x86 64 (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator)

[√] Network resources
• All expected network resources are available.

In build.gradle:
kotlin_version = '2.0.21'
ndkVersion = "28.2.13676358"
classpath 'com.android.tools.build:gradle:8.5.1'

Everything is worked fine when i set:
kotlin_version = '1.9.0'
ndkVersion = "26.1.10909125"
classpath 'com.android.tools.build:gradle:8.2.1'

I need to update those version because of the Problem support 16KB page size when release android application.

Please help me resolve the issue. Thank you.

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