Home > Mobile >  A game of libgdx framework project import deployment problem, and stickers to answer with seconds
A game of libgdx framework project import deployment problem, and stickers to answer with seconds

Time:12-04

This is a lot of projects, I download in AndroidStudio deployment operation, the SDK version, Gradle version that the change is changed, eventually a bunch of mistakes, make a day out, who teach me how to deploy the program to run up, urgent urgent, thank you very much
https://github.com/mingli1/Unlucky

CodePudding user response:

One less s

A 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
  • Related