新增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
相關文章
- Bitcode導致的編譯報錯編譯
- java由於越界導致的報錯Java
- MySQL 網路導致的複製報錯案例MySql
- innodb_undo_tablespaces導致Mysql啟動報錯MySql
- import提升導致Fundebug報錯:“請配置apikey”ImportAPI
- idea外掛報錯導致不能啟動的處理技巧Idea
- Oracle 11.2.0.3 Database for AIX bug導致ORA-04030的報錯OracleDatabaseAI
- 版本不當導致的exp出錯
- impdp時parallel=4導致的錯誤Parallel
- 故障分析 | 手動 rm 掉 binlog 導致主從報錯
- pyOpenSSL版本問題導致Scrapy安裝報錯,打補丁
- vim 編輯報錯導致無法正常退出和編輯
- 快應用如何避免讀取undefined變數的屬性導致報錯Undefined變數
- 故障分析 | MySQL convert 函式導致的字符集報錯處理MySql函式
- 【Mysql】vm.overcommit_memory導致的mysql啟動記憶體報錯MySqlMIT記憶體
- 多餘索引導致explain錯誤索引AI
- 新增display:none;導致盒子被擠下去的解決方法None
- MySQL Insert資料量過大導致報錯 MySQL server has gone awayMySqlServerGo
- merge語句導致的ORA錯誤分析
- Lombok 的@ToString導致的Maven編譯錯誤LombokMaven編譯
- 解決git下載的swoft沒有vender目錄而導致報錯的問題Git
- 【ASK_ORACLE】導致ora-29740報錯的可能原因和對應的解決方案Oracle
- 踩坑系列:MySql only_full_group_by配置,竟導致所有應用報錯?MySql
- oracle時間格式記錄異常導致OGG複製程式報錯Oracle
- 修復svn hook導致的字符集錯誤Hook
- sys密碼修改導致的RMAN-00571錯誤密碼
- goldengate命令輸入錯誤導致的血案2Go
- 【CREATE DATABASE】因缺失單引號導致手工建庫命令執行報錯的故障排查Database
- ORA-21561: OID generation failed hostname與/etc/hosts不一致導致安裝報錯AI
- JS · \r\n被轉義導致出錯JS
- xml中有特殊字元,導致解析時出錯XML字元
- ORA-06502報錯導致資料庫所有檢視無法修改。資料庫
- 【MySQL】Last_IO_Errno: 1593 server-uuid重複導致slave報錯MySqlASTServerUI
- srvctl新增資料庫資訊報錯資料庫
- 升級Xcode10導致的編譯錯誤XCode編譯
- 解決 ViewPager 巢狀導致的 Fragment 選單錯亂Viewpager巢狀Fragment
- Node出錯導致執行崩潰的解決方案
- 目標錯位是導致效果不佳的最終原因