Skip to content

GENERATING AAR USING PROJCT TYPE MODULE. #12960

@ajaypuranapanda

Description

@ajaypuranapanda

Page URL

https://docs.flutter.dev/add-to-app/android/project-setup

Page source

https://github.com/flutter/website/blob/main/src/content/add-to-app/android/project-setup.md

Describe the problem

Hi Team,

I have native android code in kotlin to integrate in the Flutter Project. Everytime i create the Flutter project as module it always create the java based module. i convert the code into java and integrated. If i use the flutter clean the code i implemented in the .android folder and files i added in the .android folder is gone. how to make module for Android Kotlin and support 8 and above versions and how to integrate the native android code to the flutter module based project. While creating everytime i see the .iOS and .android folders not iOS and Android folders are there

Expected fix

Provide the provision to the user to select the Java based module or Kotlin based he want. Same in iOS also if possible.

Provide the steps to where the native code to be integrated in flutter Project Module based. I also tried to make aar and SDK in Plugin based ... it is not worked

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from.page-issueReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions