skydoves / PowerMenu

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

error run app in emulator #25

Closed SadeghRahmaniB closed 5 years ago

SadeghRahmaniB commented 6 years ago

Hi. When I add 'implementation "com.github.skydoves:powermenu:2.0.5"' build or running app become failed with this error : "Compilation failed; see the compiler error output for details." what should I do?? I use android studio 3.1.3 / min_sdk = 18/target_sdk=27 / buildToolsVersion= '27.0.3' Thank you.

skydoves commented 6 years ago

@dante7191 Hello :) try '27.1.1' support library version & buildToolsVersion. Thank you.

SadeghRahmaniB commented 6 years ago

Thank you for your reply :) There is no buildToolsVersion 27.1.1, and 27.0.3 is last release in google android developer site!! By the way I change both support library version & buildToolsVersion but I recieve this error: All packages are not available for download!
The following packages are not available: - Package id build-tools;27.1.1

skydoves commented 6 years ago

please check out below developer site! https://developer.android.com/topic/libraries/support-library/packages or https://developer.android.com/topic/libraries/support-library/revisions#27-1-1

If you can not resolve support library version 27.1.1, then you can use implementation "com.github.skydoves:powermenu:2.0.4" than 2.0.5. Thank you!

SadeghRahmaniB commented 6 years ago

@skydoves Not worked :( Same error again (Compilation failed) with 2.0.4!!!!! Something weird happened and that is when I commented the "implementation" row the error still was there!!! when remove hole row the error gone!!

SadeghRahmaniB commented 6 years ago

actually I developed custom keyboard and I want to create popup menu on one of keyboard key. Keyboard keys haven't view and I can't work with anchor view, I think PowerMenu can solve my issue. So I did some work for this PowerMenu but still problem exist!! what should I do?