新增ijkplayer-java 導致的報錯
Error:FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalDevPackagingOptions'.
> Could not resolve all task dependencies for configuration ':app:devPackagingOptionsRuntimeClasspath'.
> Could not resolve project :ijkplayer-java.
Required by:
project :app
> Unable to find a matching configuration of project :ijkplayer-java:
- Configuration 'debugApiElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Required versionCode 'dev' but no value provided.
- Configuration 'debugRuntimeElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Required versionCode 'dev' but no value provided.
- Configuration 'releaseApiElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Required versionCode 'dev' but no value provided.
- Configuration 'releaseRuntimeElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Required versionCode 'dev' but no value provided.
> Could not resolve project :ijkplayer-exo.
Required by:
project :app
> Unable to find a matching configuration of project :ijkplayer-exo:
- Configuration 'debugApiElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Required versionCode 'dev' but no value provided.
- Configuration 'debugRuntimeElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Required versionCode 'dev' but no value provided.
- Configuration 'releaseApiElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Required versionCode 'dev' but no value provided.
- Configuration 'releaseRuntimeElements':
- Required com.android.build.api.attributes.BuildTypeAttr 'packagingOptions' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Required versionCode 'dev' but no value provided.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
解決方案: 把app 裡面的 buildTypes 複製到有問題的libary
相關文章
- java由於越界導致的報錯Java
- MySQL 網路導致的複製報錯案例MySql
- import提升導致Fundebug報錯:“請配置apikey”ImportAPI
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- 故障分析 | 手動 rm 掉 binlog 導致主從報錯
- 故障分析 | MySQL convert 函式導致的字符集報錯處理MySql函式
- vim 編輯報錯導致無法正常退出和編輯
- Lombok 的@ToString導致的Maven編譯錯誤LombokMaven編譯
- 快應用如何避免讀取undefined變數的屬性導致報錯Undefined變數
- MySQL Insert資料量過大導致報錯 MySQL server has gone awayMySqlServerGo
- asm磁碟組依賴導致資料庫自啟動報錯ASM資料庫
- 新增display:none;導致盒子被擠下去的解決方法None
- ORA-21561: OID generation failed hostname與/etc/hosts不一致導致安裝報錯AI
- 升級Xcode10導致的編譯錯誤XCode編譯
- 解決git下載的swoft沒有vender目錄而導致報錯的問題Git
- 【ASK_ORACLE】導致ora-29740報錯的可能原因和對應的解決方案Oracle
- JS · \r\n被轉義導致出錯JS
- 踩坑系列:MySql only_full_group_by配置,竟導致所有應用報錯?MySql
- ceph mimic 13.2.10 mon 新增報錯
- 12.2.0.1bug導致的Failed to register in OCRLOCAL group.錯誤AI
- 目標錯位是導致效果不佳的最終原因
- eclipse: workspace出錯導致無法啟用的解決Eclipse
- springboot 介面引數型別為LocalDateTime解析失敗導致介面報錯 -解決Spring Boot型別LDA
- ORA-04031錯誤導致當機案例分析
- PostgreSQL DBA(29) - Backup&Recovery#2(日期格式導致的錯誤)SQL
- Session物件改變請求頭值導致的401錯誤Session物件
- 動態建立 @ViewChild 導致執行時錯誤的原因分析View
- 記錄一次homestead意外關閉導致的錯誤
- 歸檔日誌滿導致ORA-13516錯誤,awr報表不能自動收集
- [譯] RxJS: 避免因濫用 switchMap 而導致錯誤JS
- 記一次crontab中date命令錯用導致的問題
- Apache Solr錯誤預設配置導致的RCE(CVE-2019-12409)ApacheSolr
- laravel Route RESTful 因路由先後順序導致的解析錯誤LaravelREST路由
- K3S新增節點報錯
- 導致IP被封的原因
- smt加工這些失誤會導致smt加工出錯
- 【案例】Oracle報錯ORA-01194 ORA-01110 由於資料庫SCN不一致導致無法啟動Oracle資料庫
- SSL證書出錯是怎麼回事?是由哪些原因導致的?