https://github.com/mingli1/Unlucky
CodePudding user response:
One less sA total change of places:
BuildToolsVersion "29.0.2
"
The Android manifest delete: & lt; USES - SDK android: minSdkVersion="8" android: targetSdkVersion="26"/& gt;
InstrumentTest. SetRoot (' tests') to androidTest. SetRoot (' tests')
From files (sourceSets. Main. Output. ClassesDir) instead of the from files (sourceSets. Main. Output. ClassesDirs) (that is, you above question)
Such as repositories of maven combined with ali move local to the bottom (futile) :
Repositories {
Maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
Maven {url 'https://dl.bintray.com/umsdk/release'}
Maven {url "https://jitpack.io"}
Google ()
Jcenter ()
MavenCentral ()
Maven {url "https://oss.sonatype.org/content/repositories/snapshots/"}
MavenLocal ()
}
Repositories {
Maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
Maven {url 'https://dl.bintray.com/umsdk/release'}
Maven {url "https://jitpack.io"}
Google ()
Jcenter ()
MavenCentral ()
Maven {url "https://oss.sonatype.org/content/repositories/snapshots/"}
Maven {url "https://oss.sonatype.org/content/repositories/releases/"}
MavenLocal ()
}
Dependencies {
The classpath 'com. Android. Tools. Build: gradle: 3.6.1'
}
And then can be directly run
CodePudding user response:
Build gradle post, to include the 18th