我已尝试找出最近3个小时的解决方案,但没有找到任何解决方案。 我可以构建gradle,但是无法编译以构建apk文件。
代码快照
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.0'
defaultConfig {
applicationId "com.xerstech.test"
minSdkVersion 16
targetSdkVersion 28
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
...
dependencies {
implementation "com.android.support:cardview-v7:28.0.0"
implementation "com.android.support:appcompat-v7:28.0.0"
implementation "com.android.support:recyclerview-v7:28.0.0"
implementation "com.android.support:design:28.0.0"
implementation "com.android.support:support-v4:28.0.0"
implementation "com.android.support:support-core-utils:28.0.0"
implementation "com.android.support:support-media-compat:28.0.0"
implementation "com.google.android.gms:play-services-maps:28.0.0"
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation files('libs/YouTubeAndroidPlayerApi.jar')
}