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

java.lang.NoClassDefFoundError: com.enrique.mymodule.app.R$string #5

Open
sergii-frost opened this issue Oct 18, 2014 · 5 comments
Open

Comments

@sergii-frost
Copy link

Hi, guys,
I am willing to add your component to my Android project using Android Studio and gradle.
After adding it directly as a dependency in gradle file like:

compile 'com.github.kikoso:AppRate-Android:1.0-RELEASE'

my project successfully compiles and I can import AppRater in my Application class. But as soon as I try to create new AppRater(getApplicationContext()) and run app I am receiving error like:

com.application.appratertest E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.application.appratertest, PID: 30907
    java.lang.NoClassDefFoundError: com.enrique.mymodule.app.R$string
            at com.enrique.apprater.AppRater.showRateDialog(AppRater.java:57)
            at com.enrique.apprater.AppRater.init(AppRater.java:47)

Can you please provide some instructions of how I can add AppRater properly when using Android Studio and gradle ? Thank you!

@melbic
Copy link

melbic commented Oct 22, 2014

I've got the same problem here.

@mzander
Copy link

mzander commented Nov 11, 2014

Same here

@ahmedoid
Copy link

same here

1 similar comment
@claudsan
Copy link

same here

@Maddumage
Copy link

same to me

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

6 participants