CapacitorSQLite „isConnection() ist auf Android nicht implementiert“ in Ionic v8 + Capacitor 7Android

Forum für diejenigen, die für Android programmieren
Anonymous
 CapacitorSQLite „isConnection() ist auf Android nicht implementiert“ in Ionic v8 + Capacitor 7

Post by Anonymous »

Ich entwickle eine App mit Ionic v8 und Capacitor 7 und versuche, das @capacitor-community/sqlite-Plugin zu integrieren.
Wenn ich die App jedoch auf einem Android-Gerät ausführe, erhalte ich die folgende Fehlermeldung:

Code: Select all

Error: CapacitorSQLite.isConnection() is not implemented on Android
Was ich versucht habe
  • Das Plugin installiert:

    Code: Select all

    npm install @capacitor-community/sqlite
    
    
  • Synchronisiert mit Kondensator:

    Code: Select all

    npx cap sync
    
    
  • Überprüft, ob das Plugin in der Synchronisierungsausgabe erscheint.
  • Das Android-Projekt wurde neu erstellt:

    Code: Select all

    cd android && ./gradlew clean && cd ..
    npx cap sync android
    npx cap open android
    
    
Umgebung
  • Ionisches Gerüst: v8
  • Kondensator: v7
  • @capacitor-community/sqlite: neueste Version (z. B. 7.0.2)
  • Plattform: Android

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post