Error: package com.getcapacitor.annotation does not exist

Hi to all.
I’ve several problems with plugins and new capacitor 3.
For instance the new sqlite: capacitor-community/ sqlite

My configuration is:
Capacitor Doctor

*Latest Dependencies: *

  • @capacitor/cli: 2.4.7 *
  • @capacitor/core: 2.4.7 *
  • @capacitor/android: 2.4.7*
  • @capacitor/ios: 2.4.7 *

*Installed Dependencies: *

  • @capacitor/ios: not installed*
  • @capacitor/cli: 3.0.0-rc.0 *
  • @capacitor/core: 3.0.0-rc.0 *
  • @capacitor/android: 2.4.7 *

[success] Android looking great! :ok_hand:

but the Android shows the error in the subject at the below class:


import android.content.Context;
import com.getcapacitor.JSArray;
import com.getcapacitor.JSObject;
import com.getcapacitor.Plugin;
import com.getcapacitor.PluginCall;
import com.getcapacitor.PluginMethod;
import com.getcapacitor.annotation.CapacitorPlugin;
import java.util.Dictionary;
import java.util.Hashtable;
import org.json.JSONArray;
import org.json.JSONObject;

@CapacitorPlugin(name = “CapacitorSQLite”)
public class CapacitorSQLitePlugin extends Plugin {

I read only thing in the web.
There are also other problems, but one at time…

Do you know any solutions for this?

You are using @capacitor/android: 2.4.7, update it to 3.0.0-rc.0

thanks, I will try it soon.