Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.apache.cordova.api doesn't exist. PhoneGap 3.0

I'm trying to add VideoPlayer plugin (https://github.com/macdonst/VideoPlayer) to my phonegap Android app.

While compiling I get problem:

VideoPlayer.java:25: error: package org.apache.cordova.api does not exist"

Line 25:

import org.apache.cordova.api.CordovaPlugin;
like image 566
ManFromSiberia Avatar asked Jul 31 '13 11:07

ManFromSiberia


1 Answers

change your import to:

import org.apache.cordova.CordovaPlugin;
like image 150
kcgolden Avatar answered Sep 23 '22 19:09

kcgolden