D
D
doq2018-01-03 01:04:31
JavaScript
doq, 2018-01-03 01:04:31

What are the ways to troubleshoot problems with adding external libraries to Android Studio?

Greetings! I had the following problem - when I try to add some external library through Project Structure - add library dependency by "keyword", the search finds absolutely nothing. Already reinstalled the studio and added other repositories, nothing helps. Perhaps someone - faced with this and knows how to solve the problem? I understand there are a bunch of other ways to add a library, but I'm still confused by the lack of this functionality. The gradle script for the project and the screen are attached below.
5a4c01d7ca998555155858.png

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

    repositories {
        google()
        jcenter()
        mavenCentral()
        mavenLocal()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        mavenLocal()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sashqa, 2019-10-23
@flexboxer

document.querySelector('h1')- accessing the element - inserts the number 6 What exactly are you trying to do? And what exactly doesn't work?

A
Alexander Varakosov, 2018-01-03
@thelongrunsmoke

Everything is as it should be. This interface is used to search by package name and mainly in the local repository. And what did you expect to see in the sqlite query?
The gradle.build of the project says nothing. The build is described modularly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question