SNNafi / variable_app_icon

A flutter plugin to use multiple app icon on iOS
https://pub.dev/packages/variable_app_icon
MIT License
22 stars 6 forks source link

not work for android 12 #1

Closed junko2013 closed 6 months ago

junko2013 commented 1 year ago

first of all,thanks for your works!!!

It works fine on iOS platform,but doesn't work for android 12 and emulator,shows exception below:

MissingPluginException(No implementation found for method changeAppIcon on channel variable_app_icon):#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:313:7) I/flutter ( 9307): I/flutter ( 9307): #1 MethodChannelVariableAppIcon.changeAppIcon (package:variable_app_icon/variable_app_icon_method_channel.dart:15:21)

SNNafi commented 1 year ago

Thanks for pointing out the issue.And sorry for late reply.

LuisTellez commented 1 year ago

Hi, first of all, thanks for your works

So, I have this error for Android :(

[ +36 ms] package identifier or launch activity not found. [ +1 ms] Please check /Users/peter/dev/github/activity_alias/android/app/src/main/AndroidManifest.xml for errors. [ +3 ms] No application found for TargetPlatform.android_x86. Is your project missing an android/app/src/main/AndroidManifest.xml? Consider running "flutter create ." to create one.

this happen when comment from the Activity Any idea ?

SNNafi commented 1 year ago

@LuisTellez, AFAIK flutter doesn't support mips and x86 architectures. Flutter only supports __x86_64, armeabi-v7a, arm64-v8a__.

LuisTellez commented 1 year ago

Same issue with :(

No application found for TargetPlatform.android_arm64. Is your project missing an android/app/src/main/AndroidManifest.xml? Consider running "flutter create ." to create one.

Emu: Pixel 3a APi 33 arm64-v8a

SNNafi commented 6 months ago

@LuisTellez This is a flutter-related issue. However flutter build apk is working. But an error occurs while running by flutter run. Only happens when activity-alias is used as an android.intent.category.LAUNCHER instead of an activity.

I have given a PR to fix this.

SNNafi commented 6 months ago

@junko2013 , Fixed in the latest version 0.0.3