fix(android): Auto-detect Java/SDK and fix KAPT Java 17+ compatibility
- Auto-detect Java from Android Studio (JBR/JRE) or system PATH - Auto-detect Android SDK from common locations or local.properties - Auto-write SDK location to local.properties for Gradle - Add KAPT JVM args to gradle.properties for Java 17+ module access - Fix Java version command quoting for paths with spaces - Comment out DailyNotificationPlugin (Java class not implemented) Eliminates manual JAVA_HOME/ANDROID_HOME setup requirements and fixes KAPT compilation errors when using Java 17+. Author: Matthew Raymer
This commit is contained in:
@@ -28,3 +28,6 @@ project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacit
|
||||
|
||||
include ':capawesome-capacitor-file-picker'
|
||||
project(':capawesome-capacitor-file-picker').projectDir = new File('../node_modules/@capawesome/capacitor-file-picker/android')
|
||||
|
||||
include ':timesafari-daily-notification-plugin'
|
||||
project(':timesafari-daily-notification-plugin').projectDir = new File('../node_modules/@timesafari/daily-notification-plugin/android')
|
||||
|
||||
Reference in New Issue
Block a user