Why my plugin is not appearing in android app?

I created a capacitor-framework7 app and then installed my plugin using,

npm install ../my_plugin

and then I tried its web implementation in app and it works and then I build it with android using

npm run build-capacitor-android

and copy that plugin to android

npx cap sync

but when I opened it in android studio to register it in MainActivity, my plugin does not appear in directories,

Android
|-app
|-capacitor-android
|-capacitor-android-cordova-plugins
|-Gradle Scripts

I also test my plugin in ionic-capacitor app and it results in following directories:-

Android
|-app
|-capacitor-android
|-capacitor-android-cordova-plugins
|-my_plugin

How can I use custom plugin with framework7