Gradle 为 Android 应用程序创建资产包时出错
Gradle error when creating asset packs for Android app
我已经按照 the steps here 为 Android 应用程序创建资产包,除了在第 8 步我收到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:assetPackDebugPreBundleTask'.
> Could not resolve all task dependencies for configuration ':app:assetPackFiles'.
> Could not resolve project :installtime_assetpack.
Required by:
project :app
> Project :app declares a dependency from configuration 'assetPackFiles' to configuration 'packElements' which is not declared in the descriptor for project :installtime_assetpack.
Gradle 正在报告版本 6.5。有什么变化需要我添加其他东西吗?
我本来打算删除这个问题,但我认为有人可能会犯和我一样的愚蠢错误,即其中一项资产的文件夹名称错误,即我有 installtime_asset_pack
应该是 installtime_assetpack
我已经按照 the steps here 为 Android 应用程序创建资产包,除了在第 8 步我收到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:assetPackDebugPreBundleTask'.
> Could not resolve all task dependencies for configuration ':app:assetPackFiles'.
> Could not resolve project :installtime_assetpack.
Required by:
project :app
> Project :app declares a dependency from configuration 'assetPackFiles' to configuration 'packElements' which is not declared in the descriptor for project :installtime_assetpack.
Gradle 正在报告版本 6.5。有什么变化需要我添加其他东西吗?
我本来打算删除这个问题,但我认为有人可能会犯和我一样的愚蠢错误,即其中一项资产的文件夹名称错误,即我有 installtime_asset_pack
应该是 installtime_assetpack