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

How do I import AndroidSwipeLayout as a library? #543

Open
xyang5987 opened this issue Dec 9, 2019 · 1 comment
Open

How do I import AndroidSwipeLayout as a library? #543

xyang5987 opened this issue Dec 9, 2019 · 1 comment

Comments

@xyang5987
Copy link

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?

@AyusPokhriyal-18
Copy link

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)

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

2 participants