I'm having this problem when I use this plugin together with Firebase, does anyone know a solution?
Task :app:compileDebugJavaWithJavac FAILED
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:11: error: cannot access zzb
public class MyFirebaseInstanceIDService extends FirebaseInstanceIdService {
^
class file for com.google.firebase.iid.zzb not found
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:15: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:38: error: cannot access zza
if(remoteMessage.getNotification() != null){
^
class file for com.google.android.gms.common.internal.safeparcel.zza not found
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:69: error: no suitable constructor found for Intent(MyFirebaseMessagingService,Class)
Intent intent = new Intent(this, FCMPluginActivity.class);
^
constructor Intent.Intent(String,Uri) is not applicable
(argument mismatch; MyFirebaseMessagingService cannot be converted to String)
constructor Intent.Intent(Context,Class<?>) is not applicable
(argument mismatch; MyFirebaseMessagingService cannot be converted to Context)
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:74: error: incompatible types: MyFirebaseMessagingService cannot be converted to Context
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0 / Request code /, intent,
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:79: error: cannot find symbol
.setSmallIcon(getApplicationInfo().icon)
^
symbol: method getApplicationInfo()
location: class MyFirebaseMessagingService
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:78: error: incompatible types: MyFirebaseMessagingService cannot be converted to Context
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
^
C:\Users\lucas.manerich\Documents\Atende.net\platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseMessagingService.java:87: error: cannot find symbol
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
^
symbol: method getSystemService(String)
location: class MyFirebaseMessagingService
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
31 actionable tasks: 13 executed, 18 up-to-date
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
8 errors
I'm having this problem when I use this plugin together with Firebase, does anyone know a solution?
FAILURE: Build failed with an exception.