All Questions
95 questions
1
vote
1
answer
1k
views
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain after installing Firebase in Flutter project
I am encountering an error when trying to build my Flutter project after integrating Firebase into it. Initially, I was trying to install Firebase dependencies (including firebase_core and ...
0
votes
1
answer
48
views
Why can't gradle find the dependency?
I'm not a regular Java programmer.
Here's my build.gradle:
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
}
group = ...
0
votes
0
answers
48
views
Java , firebase-admin module not found
I've just created new java 17 project with gradle 8.5 build system.
added admin sdk dependecy in build.gradle.
Synced project. Dependecy was downloaded. But after i was tried to run main module with ...
1
vote
1
answer
1k
views
Cannot locate tasks that match ':app:testClasses' as task 'testClasses' not found in project ':app'
I try to implement Google instruction to connect Firebase with default project setting to Android Java project.
Google instruction
After I carefully implement step-by-step Google instruction, I have ...
0
votes
0
answers
38
views
What could be causing a hang up when initializing Firestore in java?
I've been trying to set up Firestore in our java application but the application keeps hanging. Here is the code:
public FirestoreDB(AppPlugin plugin) {
this.plugin = plugin;
try {
...
0
votes
4
answers
744
views
How to read google-services.json file from android project in Kotlin/java
I want to read the file during runtime in Kotlin function, the file I want to read is stored
at projectname/app/credentials.json and I want to read credentials.json.
similar case can be how firebase ...
3
votes
2
answers
8k
views
Unable to find method 'com.android.build.api.variant.SourceDirectories$Flat com.android.build.api.variant.Sources.getByName(java.lang.String)'
I'm encountering an issue while working on my Android project. I'm receiving the following error message:
Unable to find method 'com.android.build.api.variant.SourceDirectories$Flat 'com.android.build....
0
votes
1
answer
1k
views
Android Studio: Module not specified
Gradle version: 8.5
Java version: 21.0.2
Android Studio version: 2021.1.1 patch 3
I honestly have no idea what I did its been broken for so long... I can remember trying to setup firebase console for ...
0
votes
1
answer
254
views
Cannot Resolve Symbol 'firebase' when Importing FirebaseOptions in Java Project
I'm working on a Java project and trying to integrate Firebase. I've added the necessary dependencies to my build.gradle file, but I'm encountering an issue when trying to import com.google.firebase....
0
votes
1
answer
376
views
Problem Occurred while adding Classpath dependencies of Firebase
Problem Occurred while adding Classpath dependencies of Firebase
This is my Gradle.project file
plugins {
id "com.android.application" version "7.3.1" apply false
id "com....
0
votes
1
answer
406
views
Can I use both jcenter() and mavenCentral() to implement Firebase in my app?
So I am trying to implement Firebase in my app and I have seen in one step that in the guide it says the following ("Make sure that you have the following two repositories"):
repositories {
...
0
votes
1
answer
558
views
Using the createUserWithEmailAndPassword method
I'm trying to create a web app using java and spring-boot as the backend.
I want to use the createUserWithEmailAndPassword method of FirebaseAuth in order to create a new user in my firebase database.
...
2
votes
1
answer
633
views
How to resolve error Cannot resolve 'ListenableFuture' after adding com.google.gms:google-services:4.3.10
After adding com.google.gms:google-services below, I am getting an error that ListenableFuture cannot be found.
I'm using a method in a class in androidx.camera.lifecycle, which returns a ...
1
vote
1
answer
106
views
Problems with Firebase initialization (android-java)
I want to initialize a Firebase, but I got some problems.
This is the text of an error:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: ...
2
votes
1
answer
1k
views
Could not resolve all files for configuration ':app:debugRuntimeClasspath
I am getting some error
Execution failed for task ':app:desugarDebugFileDependencies'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.guava:...