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

Error when i try run in Android #84

Open
opedrero opened this issue Oct 25, 2015 · 2 comments
Open

Error when i try run in Android #84

opedrero opened this issue Oct 25, 2015 · 2 comments

Comments

@opedrero
Copy link

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

luco commented Jan 26, 2016

+1

1 similar comment
@devfelipereis
Copy link

+1

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

3 participants