fix: resolve Android build issues and create proper plugin module

- Fix capacitor.build.gradle to comment out missing Capacitor integration file
- Create separate plugin module with proper build.gradle configuration
- Copy plugin source code to android/plugin/src/main/java/
- Update settings.gradle to include plugin module
- Fix plugin build.gradle to remove Kotlin plugin dependency
- Successfully build plugin AAR: android/plugin/build/outputs/aar/plugin-release.aar
- Update BUILDING.md with correct build commands and troubleshooting

This resolves the Android Studio build issues by creating a proper
plugin library module separate from the test app.
This commit is contained in:
Matthew Raymer
2025-10-12 06:09:07 +00:00
parent fbf9a80b22
commit 300bd7f01f
9 changed files with 1201 additions and 13 deletions

View File

@@ -7,7 +7,8 @@ android {
}
}
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
// Plugin development project - no Capacitor integration files needed
// apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {