mobileprint / android-print-sdk

Android library that simplifies printing with custom layouts, graphical preview, and more.
215 stars 66 forks source link

aar 404 #13

Closed RanyAlbegWein closed 6 years ago

RanyAlbegWein commented 7 years ago

Hello, I'm unable to reach the aar file. Is there any alternative source?

Thank you!

cie6868 commented 6 years ago

In case anyone else comes across this, it looks like you need to compile it yourself.

Download the source from https://github.com/mobileprint/android-print-sdk/archive/master.zip and open and build in Android Studio.

Then use the fresh aar file and follow the instructions in https://github.com/mobileprint/android-print-sdk/wiki/Install-With-.aar-File . Remember to rename hpprint to mobileprintsdk.

Also the line flatDir { dirs 'libs' } goes in the allprojects configuration in the project build.gradle file. The compile(...) line goes in your app's build.gradle.

If you're using gradle plugin 3.0.0 or higher, you might have to add android.enableAapt2=false to your grade.properties file or your app build will fail.