simbiose / Encryption

Encryption is a simple way to encrypt and decrypt strings on Android and Java project.
MIT License
354 stars 79 forks source link

maven can't download this source #18

Closed ELLIEbleu closed 6 years ago

ELLIEbleu commented 7 years ago

I want to use this into my project ,I use maven , so I add encrytion's dependecy ,but maven can't download source . Do you know how to solve this problem?

ademar111190 commented 7 years ago

Have you added jitpack? maven { url 'https://jitpack.io' }

ELLIEbleu commented 7 years ago

@ademar111190 sorry, There was a long time without looking at the issue . thank you reply . I added jitpack,but when i use " Encryption.getDefault() " ,occurred cannot resolve symbol 'Encryption'. I don't know why cause this problem.

ademar111190 commented 7 years ago

It is really strange.

Can you share a sample project with this error occurring?

ELLIEbleu commented 7 years ago

@ademar111190 pic
maven 's dependencies exists mistake with red color so in my project ,I use Encryption.getDefault() .I think Encrytion dependencies are not pull from origin server. but i‘am not sure this cause.

ademar111190 commented 7 years ago

yes it is strange.

To me be able to help you I need you share with me a project where the error is happening.

ELLIEbleu commented 7 years ago

my project is sample . in main.class ,I use " Encryption.getDefault()" ,I added

jitpack.io https://jitpack.io com.github.simbiose Encryption 2.0.0

you can try to write this code in your ideal .

ademar111190 commented 7 years ago

I tried but here it works.

Can you try to run the attached project?

EncryptionIssue18.zip

ELLIEbleu commented 7 years ago

@ademar111190 I use compile software named 'intellij idea ' . but your project is android. I cannot run this project . could you please offer me another project with java

ademar111190 commented 7 years ago

@ELLIEbleu issue18.zip

ademar111190 commented 6 years ago

Closing the issue as it seems to be solved, if not, let me now and I reopen the issue.