NightWhistler / PageTurner

Android e-book reader with cloud synchronization
pageturner-reader.org
GNU General Public License v3.0
466 stars 221 forks source link

Unable to compile the project in latest Android Studio gradle. #597

Closed sumanabhi closed 3 years ago

sumanabhi commented 6 years ago

Hi,

I am facing this issue while compilation your repo into the latest android studio 3.0.1 and getting this error - Unsupported method: BaseConfig.getApplicationIdSuffix(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.

while in the android studio version 2.3.3, it is working fine but since my live project is on the newer Gradle version.

So, as I need to import it as a module if I will be able to compile on the newer one.

Please help me out It's Urgent.

ycsghr commented 6 years ago

Same idea, have you solved it?

ycsghr commented 6 years ago

Error:(24, 0) Gradle version 2.2 is required. Current version is 4.4.

Please fix the project's Gradle settings. Fix Gradle wrapper and re-import project
Gradle settings

ycsghr commented 6 years ago

It's urgent to wait online

sumanabhi commented 6 years ago

So have you tried to change your Gradle Settings?

sumanabhi commented 6 years ago

I have customized & migrated it to make successfully build of the project. If you wish I can share the repo to your email id.

P.S. :- if yes , share your mail id.

ycsghr commented 6 years ago

ysam37424@gmail.com

ycsghr commented 6 years ago

Thank You

ycsghr commented 6 years ago

I've changed these places and I'm still compiling tim 20180913144955 tim 20180913145006 tim 20180913145019

ycsghr commented 6 years ago

image I don't know what to write here it always conflicts with apply plugin: 'robolectric'

ycsghr commented 6 years ago

Error:(26, 0) Cannot add a configuration with name 'testCompile' as a configuration with that name already exists. Open File

sumanabhi commented 6 years ago

I have just uploaded the whole customized Project with new Gradle.

Please check it successfully compiled. https://github.com/sumanabhi/PageTurner

ycsghr commented 6 years ago

Computer crashes...

sumanabhi commented 6 years ago

Sorry, what you want to say I don't Understand.

I have uploaded here after checking Successful Compilation on My System. Android Studio:- 3.1.4

ycsghr commented 6 years ago

I am now compiling with Android Studio3.0.1, sorry, my English level may be a bit poor

ycsghr commented 6 years ago

How do you put it into your project?

sumanabhi commented 6 years ago

Just clone it. It works. otherwise you can ping me on live:abhi.suman

ycsghr commented 6 years ago

I am compiling him now. Today, the computer doesn’t know what’s going on.

ycsghr commented 6 years ago

qq 20180913211033 I added this here to solve the problem that it can only display half of the screen after searching.

ycsghr commented 6 years ago

But I have a new problem now. The picture shows the problem. I don't know where he has a problem that caused the bug. qq 20180913214011

ycsghr commented 6 years ago

The picture above is not complete and the pictures overlap.

ycsghr commented 6 years ago

If you are interested in solving this bug, you can leave your email and send me this epub file.

jayesh28589 commented 6 years ago

@NightWhistler : Hello Alex Kuiper, Please update the library for latest android studio 3.1 +, It is taking too much time to update it, If you can update it then It would be great.

thanks.

jeanlinux commented 5 years ago

I have customized & migrated it to make successfully build of the project. If you wish I can share the repo to your email id.

P.S. :- if yes , share your mail id.

@sumanabhi can you please share you fixed repo with me

NightWhistler commented 5 years ago

@sumanabhi I took a look through your repo, hoping to be able to ask you for a pull request.

It looks like your commit contains a lot of different changes as well though. If you could send a pull request with just the Gradle build fixes I would appreciate it a lot.

@jayesh28589 @jeanlinux I'm sorry, but I personally don't have time to work on PageTurner anymore. I will merge pull requests that are sent to me, but I won't do any active development in the near future.

sumanabhi commented 3 years ago

@NightWhistler Sure Sorry actually due to some issue with my account i am not able to use it.

I will create PR for the same even if it goes well with the recent version.

Give me some time.

sumanabhi commented 3 years ago

@sumanabhi can you please share you fixed repo with me... email is jeanlinux5@gmail.co

This is the link where the successfully compiled build was there but i don't have too much time to check with the recent versions.

https://github.com/sumanabhi/PageTurner

Will check once i got free from all this.

sumanabhi commented 3 years ago

Hi @NightWhistler,

I created PR with the only change of Gradle fix so that it can compile successfully and run as well.