Hi,
I am using Ionic version 1 and facing the issue in creating the Android build.
:mergeDebugJniLibFolders
:CordovaLib:processDebugResources
:processDebugResources
:generateDebugSources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
:javaPreCompileDebug
:compileDebugJavaWithJavac/home/juan/Documents/Work/Players/app_players/platforms/android/src/com/gae/scaffolder/plugin/MyFirebaseInstanceIDService.java:6:
error: cannot find symbol
import com.google.firebase.iid.FirebaseInstanceIdService;
^
symbol: class FirebaseInstanceIdService
location: package com.google.firebase.iid
/home/juan/Documents/Work/Players/app_players/platforms/android/src/com/gae/scaffolder/plugin/MyFirebaseInstanceIDService.java:11:
error: cannot find symbol
public class MyFirebaseInstanceIDService extends FirebaseInstanceIdService {
^
symbol: class FirebaseInstanceIdService
/home/juan/Documents/Work/Players/app_players/platforms/android/src/com/gae/scaffolder/plugin/MyFirebaseInstanceIDService.java:15:
error: method does not override or implement a method from a supertype
@Override
^
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.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILED
FAILURE: Build failed with an exception.
@wilderjva I have tried with this solution as well but still getting the same error. Below is my Ionic info:
Ionic:
ionic (Ionic CLI) : 4.5.0 (/usr/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.3
@ionic/v1-toolkit : 1.0.22
Cordova:
cordova (Cordova CLI) : 7.0.1
Cordova Platforms : android 6.4.0
Cordova Plugins : no whitelisted plugins (17 plugins total)
System:
Android SDK Tools : 26.1.1 (/home/arun/Android/Sdk/)
NodeJS : v8.16.0 (/usr/bin/node)
npm : 2.15.12
OS : Linux 4.15
see https://github.com/arnesson/cordova-plugin-firebase/issues/1057
couldn't find the issue in the given URL.
Most helpful comment
couldn't find the issue in the given URL.