Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in com.google.firebase.iid.FirebaseInstanceIdService; #1076

Open
arunkatariaoodles opened this issue May 31, 2019 · 4 comments
Open

Issue in com.google.firebase.iid.FirebaseInstanceIdService; #1076

arunkatariaoodles opened this issue May 31, 2019 · 4 comments

Comments

@arunkatariaoodles
Copy link

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
Copy link

@arunkatariaoodles
Copy link
Author

arunkatariaoodles commented Jun 4, 2019

@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

@jitsingfow
Copy link

see https://github.com/arnesson/cordova-plugin-firebase/issues/1057

couldn't find the issue in the given URL.

@willesmar
Copy link

#1057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants