bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

I got an error: failed linking file resources. #271

Closed Ayvytr closed 1 year ago

Ayvytr commented 5 years ago

Here is my project: https://github.com/Ayvytr/ModularizationComponent. After I uploaded my project with command 'gradlew install' and 'gradlew bintrayUpload', I use library "com.ayvytr:mvp-rxlifecycle:1.0.3"(layout_list is in this library) in another project, I will got error: Android resource linking failed: Android resource linking failed Output: D:\Code\CodeRepository\Gank\ModularizationGankApp\knowledge\build\intermediates\packaged_res\debug\layout\activity_search.xml:14: error: resource layout/layout_list (aka com.ayvytr.gank:layout/layout_list) not found. D:\Code\CodeRepository\Gank\ModularizationGankApp\knowledge\build\intermediates\packaged_res\debug\layout\fragment_android.xml:7: error: resource layout/layout_list (aka com.ayvytr.gank:layout/layout_list) not found. error: failed linking file resources.

Command: C:\Users\Do.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\5b3a1ec5061e44cd4fa1815d6bab7eab\aapt2-3.2.0-4818971-windows\aapt2.exe link -I\ D:\Program\SDK\platforms\android-27\android.jar\ --manifest\ D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\ -o\ D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\intermediates\processedres\debug\processDebugResources\out\resources-debug.ap\ -R\ @D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\ --auto-add-overlay\ --java\ D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\ --proguard-main-dex\ D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\intermediates\legacy_multidex_aapt_derived_proguard_rules\debug\processDebugResources\manifest_keep.txt\ --custom-package\ com.ayvytr.gank\ -0\ apk\ --output-text-symbols\ D:\Code\CodeRepository\Gank\ModularizationGankApp\app\build\intermediates\symbols\debug\R.txt\ --no-version-vectors Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #0

I can't solve this problum, can you help me?

Ayvytr commented 1 year ago

ignore