nisrulz / easydeviceinfo

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

Can not build project from console #12

Closed vbauer closed 8 years ago

vbauer commented 8 years ago

I've got the following error during gradlew build:

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

It looks like gradle wrapper jar file was missed in "gradle/wrapper".

nisrulz commented 8 years ago

@vbauer yes, i see the issue. I will update the repository with missing jar files.

nisrulz commented 8 years ago

@vbauer updated the library code.

To build it from console and from Android Studio, just have to do one extra step.

Goto library module > build.gradle.

Comment the below line apply from: 'https://raw.github.com/nisrulz/gradle-mvn-push/master/gradle-mvn-push.gradle'

Thats it. Now you can build the whole project from Android Studio and console.

vbauer commented 8 years ago

Thank you for information.