buyasort / phonegap-ebookreader-plugin

Automatically exported from code.google.com/p/phonegap-ebookreader-plugin
0 stars 0 forks source link

package com.phonegap.api does not exist #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I tried to install ebookreader plugin

But got following error 

    [javac] Compiling 5 source files to /Users/globaldc/myproj/mvbs/build/MVBS/android/bin/classes
    [javac] /Users/globaldc/myproj/mvbs/build/MVBS/android/src/com/phonegap/plugins/ebookViewer/EbookViewer.java:18: package com.phonegap.api does not exist
    [javac] import com.phonegap.api.Plugin;
    [javac]                        ^

Please help .. what caused this issue.
-Ram

Original issue reported on code.google.com by krampra...@gmail.com on 16 Apr 2013 at 2:55

GoogleCodeExporter commented 9 years ago
change it to 
import org.apache.cordova.api.CordovaPlugin;
import org.apache.cordova.api.PluginResult;

Original comment by iSearc...@gmail.com on 18 Apr 2013 at 3:22

GoogleCodeExporter commented 9 years ago
It doesnt work

Getting different errors

-compile:
    [javac] Compiling 5 source files to /Users/globaldc/myproj/mvbs/build/MVBS/android/bin/classes
    [javac] /Users/globaldc/myproj/mvbs/build/MVBS/android/src/com/phonegap/plugins/ebookViewer/EbookViewer.java:115: cannot find symbol
    [javac] symbol  : variable ctx
    [javac] location: class com.phonegap.plugins.ebookViewer.EbookViewer
    [javac]                 this.ctx.startActivity(intent);

Original comment by krampra...@gmail.com on 18 Apr 2013 at 10:49