The import org.apache.cordova cannot be resolved

后端 未结 7 454
花落未央
花落未央 2020-12-08 15:05

For some reason, after going through Phonegap\'s non-inclusive instructions (it doesn\'t even mention setting up ANT, or the headaches with Ant and JDK), this doesn\'t work

相关标签:
7条回答
  • 2020-12-08 15:57

    Replace your header with some miner changes like bellow

     import com.google.android.gcm.GCMRegistrar;
    import org.apache.cordova.api.CallbackContext;
    import org.apache.cordova.api.CordovaInterface;
    import org.apache.cordova.api.CordovaPlugin;
    
    0 讨论(0)
提交回复
热议问题