我将我的android工作室更新为3.0我在gradle构建时遇到了错误DexArchiveBuilderException
错误显示这些文件
错误:com.android.builder.dexing.DexArchiveBuilderException:无法处理E:\ Android\Android Studio\gradle\m2repository\com\android\tools\build\gradle-core\2.2.0\gradle-core-2.2.0 .罐
错误:com.android.builder.dexing.DexArchiveBuilderException:dexing com/android/build/gradle/shrinker/AbstractShrinker.class时出错
com.android.build.api.transform.TransformException:com.android.builder.dexing.DexArchiveBuilderException:
com.android.builder.dexing.DexArchiveBuilderException:无法处理E:\ Android\Android Studio\gradle\m2repository\com\android\tools\build\gradle-core\2.2.0\gradle-core-2.2.0.jar
app.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "26.0.2"
dexOptions {
jumboMode = true
javaMaxHeapSize "4g"
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
defaultConfig {
applicationId "com.example.win7.koboclicks"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//Circle …
Run Code Online (Sandbox Code Playgroud) 我将图像作为 base64 字符串发送到 Node Express 服务器,以使用张量流分析对象检测。如何使用 Node js 中的 cocossd 模型将 Base64 图像更改为张量以进行对象检测。
image-processing object-detection node.js tensorflow tensorflow.js