avivais / phonegap-parse-plugin

Phonegap 3.0.0 plugin for Parse.com push service
195 stars 315 forks source link

Error when i try run in Android #84

Open opedrero opened 8 years ago

opedrero commented 8 years ago

I add App.java file with this code:

package com.editartgroup.ldi;

import android.app.Application;
import org.apache.cordova.core.ParsePlugin;

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        ParsePlugin.initializeParseWithApplication(this);
    }

}

And I add tag in application AndroidManifest.xml:

 <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:name="com.editartgroup.ldi.App" android:supportsRtl="true">

but when i try cordova run android:

platforms/android/src/com/editartgroup/ldi/App.java:11: error: cannot find symbol
        ParsePlugin.initializeParseWithApplication(this);
                   ^
  symbol:   method initializeParseWithApplication(App)
  location: class ParsePlugin
1 error
:compileDebugJava FAILED

Can you help me please?

Thanks 4 all!!!

luco commented 8 years ago

+1

devfelipereis commented 8 years ago

+1