AndroidSwipeLayout icon indicating copy to clipboard operation
AndroidSwipeLayout copied to clipboard

How do I import AndroidSwipeLayout as a library?

Open xyang5987 opened this issue 5 years ago • 1 comments

When I tried to import AndroidSwipeLayout to a project in Android Studio, I got the following message

Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':library' of type org.gradle.api.Project.

Does anyone have any idea?

xyang5987 avatar Dec 09 '19 08:12 xyang5987

The answer is pretty simple: In your 'defaultConfig' section put a Version name in it. eg- versionName "1.2.3" After this, if you still getting error. provide a 'project.VERSION_CODE' under the version name. eg- versionCode Integer.parseInt(project.VERSION_CODE)

AyusPokhriyal-18 avatar May 10 '20 15:05 AyusPokhriyal-18