ArrowOS / android_packages_apps_Email

Other
0 stars 1 forks source link

packages/apps/Email/AndroidManifest.xml:79 & 361: error: resource style/UnifiedEmailTheme (aka com.android.email:style/UnifiedEmailTheme) not found #1

Open sdembis opened 1 year ago

sdembis commented 1 year ago

[ 80% 53664/66851] AAPT2 link /media/s...PS/Email_intermediates/package-res.apk FAILED: /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/product/peregrine/obj/APPS/Email_intermediates/package-res.apk /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/common/obj/APPS/Email_intermediates/aapt2.srcjar /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/common/obj/APPS/Email_intermediates/extra_packages /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/common/obj/APPS/Email_intermediates/src/R.stamp /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/common/obj/APPS/Email_intermediates/proguard_options /bin/bash /media/steve/Backup_ext4/lost_found/ArrowOS_9.X_Moto_G_LTE/out/target/product/peregrine/obj/APPS/Email_intermediates/package-res.apk.rsp warn: removing resource com.android.email:plurals/message_view_attachment_bytes without required default value. warn: removing resource com.android.email:plurals/message_view_attachment_gigabytes without required default value. warn: removing resource com.android.email:plurals/message_view_attachment_kilobytes without required default value. warn: removing resource com.android.email:plurals/message_view_attachment_megabytes without required default value. warn: removing resource com.android.email:string/account_folder_list_summary_drafts without required default value. warn: removing resource com.android.email:string/account_folder_list_summary_outbox without required default value. warn: removing resource com.android.email:string/account_folder_list_summary_starred without required default value. warn: removing resource com.android.email:string/done_action without required default value. warn: removing resource com.android.email:string/exchange_name without required default value. warn: removing resource com.android.email:string/next_action without required default value. packages/apps/Email/AndroidManifest.xml:79: error: resource style/UnifiedEmailTheme (aka com.android.email:style/UnifiedEmailTheme) not found. packages/apps/Email/AndroidManifest.xml:361: error: resource style/UnifiedEmailTheme (aka com.android.email:style/UnifiedEmailTheme) not found. error: failed processing manifest. [ 80% 53666/66851] AAPT2 link /media/s...Receiver_intermediates/package-res.apk packages/apps/CellBroadcastReceiver/res/layout/cell_broadcast_disallowed_preference_screen.xml:33: warn: generated id 'android:id/empty' for external package 'android'. [ 80% 53667/66851] AAPT2 link /media/s...essaging_intermediates/package-res.apk packages/apps/Messaging/res/layout/apn_preference_layout.xml:48: warn: generated id 'android:id/summary' for external package 'android'. packages/apps/Messaging/res/layout/apn_preference_layout.xml:40: warn: generated id 'android:id/title' for external package 'android'. [ 80% 53669/66851] target StaticLib: l...LIBRARIES/libv8_intermediates/libv8.a) ninja: build stopped: subcommand failed. 14:09:44 ninja failed with: exit status 1

380583067 commented 1 year ago

我也遇到同样的问题,我的解决方法是:克隆arrow-10的Email替换,编译的时候设置:export ALLOW_MISSING_DEPENDENCIES=true

380583067 commented 1 year ago

或者补充prebuilts/misc/common/androidx-test文件,需要注释一些冲突