note11g / flutter_naver_map

Naver Mobile Dynamic Map SDK for Flutter (unofficial)
BSD 3-Clause "New" or "Revised" License
143 stars 69 forks source link

flutter-gradle-plugin-apply 마이그레이션 support #198

Closed minseok-jeong-gn closed 8 months ago

minseok-jeong-gn commented 8 months ago

Flutter 3.19.x 로 업데이트후 gradle pugin apply를 적용중에 아래와 같이 에러가 발생하였습니다.

네임스페이스 설정이 필요하다고 하여 아래의 링크 첨부합니다. Set the namespace

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':flutter_naver_map'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
note11g commented 8 months ago

1.2.2 버전에서 수정될 예정입니다. 먼저 사용하셔야 하신다면, 아래와 같이 수정사항이 반영된 dev-1.2.2 브랜치를 사용하시면 됩니다. 감사합니다.

flutter_naver_map:
  git:
    url: https://github.com/note11g/flutter_naver_map.git
    ref: dev-1.2.2
note11g commented 8 months ago

먼저 사용하실 수 있도록, 1.2.2-pre.1 버전을 pre-release하였습니다. pub.dev 바로가기 감사합니다.

minseok-jeong-gn commented 8 months ago

빠른 응답 감사합니다.