nisrulz / easydeviceinfo

:iphone: [Android Library] Get device information in a super easy way.
Apache License 2.0
1.76k stars 227 forks source link

import this into android studio #27

Open linzblinzb opened 4 years ago

linzblinzb commented 4 years ago

hi, when import this into studio,have a mistake groovy.lang.MissingPropertyException: Could not get unknown property 'GROUP' for object of type org.gradle.internal.extensibility.DefaultExtraPropertiesExtension.

can you please tell me how to do?thanks very much

raviyadav5951 commented 4 years ago

getting same issue when I forked repo at my end.

nisrulz commented 4 years ago

If you import the lib you need to defined the publishing vars. Those are private secrete info which is used to publish the repo to maven repo.

You have 2 solutions:

  1. Use the published lib from maven repo. (Recommended)
  2. Strip the code of publishing related code and just use the lib as a module. This requires work.
raviyadav5951 commented 4 years ago

thanks @nisrulz actually I have forked the repo to update os code name . and not able to completely setup the project. Anyways I am creating pull request soon to merge those updated changes. Thanks for your comment and time.