Back

[SOLVED] The application does not open when I add the SDK

  • 0
  • Android
Drake
17 Dec, 2023, 19:23

Any chance you can figure out what's conflicting?

TL;DR
Title: [SOLVED] Application doesn't open when SDK is added Solution: The issue was resolved by downgrading the Gradle version from 8.2.0 to 8.1.3. Ensure that there are no conflicting versions of Java, Gradle, or Android in the project. Check the complete picture of the build.gradle app module and consider upgrading the Java version if necessary.
Doğaç Tanrıverdi
17 Dec, 2023, 19:28

I'm using Appwrite for the first time, I opened a new project to try it out, so there shouldn't be any conflicts. When I delete the dependency, the application works, but when I add it, I get this error. Is there anything else I need to add other than the dependency shown in the screenshot? The documentation says I don't need to add anything else.

Drake
18 Dec, 2023, 00:10

There are different versions of java, Gradle, android, etc that could lead to conflicts

Gaurav Solanki
18 Dec, 2023, 01:43

Give a complete picture of build.gradle app module

Doğaç Tanrıverdi
18 Dec, 2023, 05:40
Gaurav Solanki
18 Dec, 2023, 05:41

Try upgrading java Version

Doğaç Tanrıverdi
18 Dec, 2023, 05:42

In the settings my java version is 17.0.7, gradle version is 8.2. Should I upgrade the java version in the settings?

Gaurav Solanki
18 Dec, 2023, 05:43

Upgrade in Build.gradle file

Gaurav Solanki
18 Dec, 2023, 05:44
Doğaç Tanrıverdi
18 Dec, 2023, 05:44

The Java version in the project is always 1.8. I tried to make it 17 but the problem is not solved. Generally 17 and 11 are used. Let me try 11

Gaurav Solanki
18 Dec, 2023, 05:46

Also have you checked the stackoverflow answer?

Doğaç Tanrıverdi
18 Dec, 2023, 05:49

Yes, I checked, it says to turn on Toggle Offline Mode, but that doesn't work either.

Doğaç Tanrıverdi
18 Dec, 2023, 05:50

By the way, Java 11 didn't work.

Gaurav Solanki
18 Dec, 2023, 05:50

Invalidate Cache and Restart

Doğaç Tanrıverdi
18 Dec, 2023, 05:51

Okay, I'm trying

Doğaç Tanrıverdi
18 Dec, 2023, 05:54

It didn't work 😦

Doğaç Tanrıverdi
18 Dec, 2023, 05:59

Could there be a problem with that part? Because this is not there in build.gradle(project). It's in the settings.gradle.kts

Doğaç Tanrıverdi
18 Dec, 2023, 06:00
Gaurav Solanki
18 Dec, 2023, 06:02

Try this, maybe it solves the issue

Doğaç Tanrıverdi
18 Dec, 2023, 06:07

not working

Doğaç Tanrıverdi
18 Dec, 2023, 14:02

@Gaurav Solanki @Steven Hello again. I solved the problem, it wasn't working because my Gradle version was 8.2.0. When I downgraded my Gradle version to 8.1.3, the problem was fixed. Thank you for your help 🙂

ideclon
18 Dec, 2023, 15:43

If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title

Doğaç Tanrıverdi
18 Dec, 2023, 16:01

Yeah, I forgot. Thanks

Doğaç Tanrıverdi
18 Dec, 2023, 16:02

[SOLVED] The application does not open when I add the SDK

Drake
18 Dec, 2023, 19:02
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more