小编Tec*_*evs的帖子

工具:替换在第 19 行为属性 android:appComponentFactory 指定的替换,但没有指定应用程序主清单的新值

我正在尝试编译 6 个月前的代码,但出现此错误:

tools:replace specified at line:19 for attribute android:appComponentFactory, but no new value specified app main manifest (this file), line 18 Error: Validation failed, exiting app main manifest (this file)

为了解决这个问题,我在我的 AndroidManifest.xml

tools:replace="android:appComponentFactory"
Run Code Online (Sandbox Code Playgroud)

但现在我收到了这个错误:

Manifest merger failed with multiple errors, see logs

当我用谷歌搜索这个错误时,它要求我从AndroidManifest.xml我在第一步添加的行中删除该行。所以,这是一种循环。我怎样才能摆脱这个。

我的依赖:

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
implementation files('libs/apache-mime4j-0.6 2.jar')
implementation files('libs/httpmime-4.0.1 .jar')
// this line must be included to integrate with Firebase
implementation 'com.hbb20:ccp:2.0.1' …
Run Code Online (Sandbox Code Playgroud)

java sdk android

5
推荐指数
1
解决办法
9492
查看次数

如何在 Elastic Search 中获得精确匹配过滤结果

我有一个关于弹性搜索的问题,我想在过滤器中搜索完全匹配的内容。例如,如果颜色过滤器仅应用“黑色”,则弹性搜索应仅返回“黑色”产品,而不是在其产品颜色中包含黑色关键字(如“黑灰色”)的其他产品。我尝试过“match_phrase”而不是“match”,但什么也没得到。

请检查我的 JSON 字符串的屏幕截图:https://www.screencast.com/t/wjCcpfQwTxw

在此输入图像描述 提前致谢

php exact-match elasticsearch

4
推荐指数
1
解决办法
7979
查看次数

标签 统计

android ×1

elasticsearch ×1

exact-match ×1

java ×1

php ×1

sdk ×1