@stephenklop wrote:
Hey Everyone!
I am trying to add capacitor community plugins to my project but for some reason I keep getting the following error: package com.capacitor.rateApp does not exist
This is my “MainActivity.java” file
import android.os.Bundle; import com.getcapacitor.BridgeActivity; import com.getcapacitor.Plugin; import com.capacitor.rateApp.CapacitorRateApp; import java.util.ArrayList; public class MainActivity extends BridgeActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Initializes the Bridge this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{ // Additional plugins you've installed go here // Ex: add(TotallyAwesomePlugin.class); add(CapacitorRateApp.class); }}); } }
Posts: 1
Participants: 1