-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' #1360
Comments
Have you run the link command? Seems as though it hasn't installed properly. E.g. check https://github.com/invertase/react-native-firebase-starter/blob/master/android/settings.gradle#L2 and other files for comparison. |
yup I have run the link command also still stuck at the same stage from
last 2 days please help me out
…On Wed, Aug 1, 2018 at 3:30 PM, Elliot Hesp ***@***.***> wrote:
Have you run the link command? Seems as though it hasn't installed
properly. E.g. check https://github.com/invertase/
react-native-firebase-starter/blob/master/android/settings.gradle#L2 and
other files for comparison.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1360 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AnzagGfHxiDDlF4Zxw8QR1yDyGYpPxr6ks5uMXxWgaJpZM4Vp4Us>
.
|
I solved this exact same problem by moving build.gradle
|
This issue has been automatically marked as stale because it has not had recent user activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information. |
use this first |
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
|
Can anyone please tell me how to solve this issue? I already tried with ./gradlew clean in android, also delete node module and then npm install and run in android. Nothing work. Please help if any body know any other way. Thanks in advance! |
@SilajitBukaiSil Got the same problem. Do you know how to solve this? |
@SilajitBukaiSil |
1st method, yarn remove (respective command ** for instance react-native-fetch-blob) 2nd method 3rd method |
Everyone, first, try react-native-clean-project and after installing it run |
FAILURE: Build failed with an exception.
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
While creating built it's working fine but when it comes to run the built that is after performing react-native run-android I am getting built got failed with the above message
Here is my built.gradle :
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.0'
// classpath 'com.google.gms:google-services:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "26.1.0"
}
The text was updated successfully, but these errors were encountered: