martincik/react-native-hockeyapp

Compilation issues with Android Studio

KrishnanSriram opened this issue · 1 comments

// build.gradle(Project: SimpleWebView)
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'net.hockeyapp.android:HockeySDK:4.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

// build.gradle (Module.app)
dependencies {
compile project(':react-native-cookies')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
// compile 'net.hockeyapp.android:HockeySDK:4.1.2'
compile project(":react-native-hockeyapp")
}

The moment I add compile project(":react-native-hockeyapp"), I get Gradle compilation issues
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-hockeyapp.
Unable to resolve dependency for :app@debug/compileClasspath: Could not resolve project :react-native-hockeyapp.

Is anyone having similar issues?

This was more a network issue. Once I fixed the network certificates, this issue went away. I am good now