skydoves / PowerMenu

:fire: Powerful and modernized popup menu with fully customizable animations.
Apache License 2.0
1.19k stars 175 forks source link

Release File #30

Closed rkarimi88 closed 6 years ago

rkarimi88 commented 6 years ago

Hi. I can't sync gradle by adding implementation "com.github.skydoves:powermenu:2.0.5". I searched a lot, but i wasn't successful.

Would you please place ZIP or AAR file of your library in releases? Thanks in advance.

skydoves commented 6 years ago

@rkarimi88 I released source code and AAR file. Thanks.!

rkarimi88 commented 6 years ago

Wow... I don't know how to thank you... how fast...

Thanks a million! :)

rkarimi88 commented 6 years ago

I just faced a problem....when i use it in my project, i get this error:

Error:(68, 26) error: cannot access LifecycleObserver
class file for android.arch.lifecycle.LifecycleObserver not found

is there any other lib i should add for this?

rkarimi88 commented 6 years ago

sorry i just read here you've answered before. thanks.

rkarimi88 commented 6 years ago

I still have that Error (two posts above). I even added runtime and viewmodel too, but it still exists....

Do you know how can i fix this problem? I'm so eager to see your menu on my project.....

skydoves commented 6 years ago

@rkarimi88 well.. what is your develop environment? like target sdk version and support library version.

rkarimi88 commented 6 years ago

Here it is:

android {
    compileSdkVersion 25
    defaultConfig {
        applicationId "somename"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
skydoves commented 6 years ago

@rkarimi88 you should use targetSdkVersion more than 27, also support library version. And minSdkVersion is not related.

rkarimi88 commented 6 years ago

OK, I will update and test again... I didn't know it. Thanks for your time.