Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facebook_app_id not found #4

Closed
rakhimian opened this issue Nov 1, 2019 · 4 comments
Closed

facebook_app_id not found #4

rakhimian opened this issue Nov 1, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@rakhimian
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':facebook_app_events:verifyReleaseResources'.

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml:10: error: resource string/facebook_app_id (aka id.oddbit.flutter.facebook_app_events:string/facebook_app_id) not found.
error: failed processing manifest.

Command: /Users/air/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/b9d26d654a403566a18950774f712390/aapt2-3.2.1-4818971-osx/aapt2 link -I
/Users/air/Library/Android/sdk/platforms/android-28/android.jar
--manifest\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml
-o\
/var/folders/7y/l2nn5qvj7fn8grvylxjkkkj80000gn/T/aapt-4066758254295938033-out
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout_notification_action_tombstone.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ur_values-ur.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable_notification_icon_background.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-pa_values-pa.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-pt-rBR_values-pt-rBR.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-as_values-as.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-fi_values-fi.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-uk_values-uk.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout_notification_template_part_time.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ka_values-ka.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-iw_values-iw.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-mdpi-v4_notify_panel_notification_icon_bg.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-bs_values-bs.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-mk_values-mk.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable_notification_bg_low.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-in_values-in.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-zu_values-zu.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-mr_values-mr.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-xhdpi-v4_notification_bg_low_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-hr_values-hr.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-en-rAU_values-en-rAU.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sk_values-sk.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout_notification_action.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-v21_notification_action_background.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-th_values-th.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sr_values-sr.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-km_values-km.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-af_values-af.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-pt_values-pt.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-es-rUS_values-es-rUS.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-fr-rCA_values-fr-rCA.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-gl_values-gl.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout-v21_notification_action_tombstone.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-gu_values-gu.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-kk_values-kk.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-zh-rHK_values-zh-rHK.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-te_values-te.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ml_values-ml.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ky_values-ky.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ar_values-ar.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-xhdpi-v4_notify_panel_notification_icon_bg.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-en-rIN_values-en-rIN.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-da_values-da.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-am_values-am.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ms_values-ms.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-zh-rTW_values-zh-rTW.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-en-rGB_values-en-rGB.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-hy_values-hy.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-zh-rCN_values-zh-rCN.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-nl_values-nl.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout_notification_template_part_chronometer.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ro_values-ro.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout-v21_notification_template_icon_group.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-my_values-my.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-lv_values-lv.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-pl_values-pl.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-lo_values-lo.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values_values.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-bg_values-bg.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sl_values-sl.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-v21_values-v21.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-en-rCA_values-en-rCA.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-hu_values-hu.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-vi_values-vi.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-en-rXC_values-en-rXC.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ru_values-ru.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout-v21_notification_template_custom_big.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-hdpi-v4_notification_bg_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-pt-rPT_values-pt-rPT.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-fr_values-fr.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-et_values-et.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-bn_values-bn.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ca_values-ca.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-xhdpi-v4_notification_bg_low_pressed.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-is_values-is.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-hdpi-v4_notification_bg_normal_pressed.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sv_values-sv.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-tl_values-tl.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout_notification_template_icon_group.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-fa_values-fa.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-uz_values-uz.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ko_values-ko.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-hdpi-v4_notify_panel_notification_icon_bg.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-hi_values-hi.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-mdpi-v4_notification_bg_normal_pressed.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-b+sr+Latn_values-b+sr+Latn.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-xhdpi-v4_notification_bg_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-si_values-si.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ne_values-ne.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-it_values-it.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-de_values-de.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout-v21_notification_action.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ta_values-ta.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-es_values-es.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable_notification_bg.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-el_values-el.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-hdpi-v4_notification_bg_low_pressed.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-mn_values-mn.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/layout-v16_notification_template_custom_big.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-eu_values-eu.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable_notification_tile_bg.xml.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-cs_values-cs.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-nb_values-nb.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-mdpi-v4_notification_bg_low_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-az_values-az.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-v16_values-v16.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-be_values-be.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sw_values-sw.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-mdpi-v4_notification_bg_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-tr_values-tr.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-mdpi-v4_notification_bg_low_pressed.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-or_values-or.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-sq_values-sq.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-kn_values-kn.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-lt_values-lt.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-hdpi-v4_notification_bg_low_normal.9.png.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/values-ja_values-ja.arsc.flat
-R\
/Users/air/AndroidStudioProjects/podvezika/build/facebook_app_events/intermediates/res/compiled/release/drawable-xhdpi-v4_notification_bg_normal_pressed.9.png.flat
--auto-add-overlay\
--non-final-ids\
-0\
apk\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0

  • 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 18s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 19,2s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Gradle task assembleRelease failed with exit code 1

@rakhimian rakhimian changed the title Android resource linking failed facebook_app_id not found Nov 1, 2019
@rakhimian
Copy link
Author

rakhimian commented Nov 1, 2019

My String.xml file includes

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">Pod</string>
    <string name="facebook_app_id">254781830542859</string>
    <string name="fb_login_protocol_scheme">fb254781830542859</string>
</resources>

@DennisAlund
Copy link
Member

Is this a duplicate of #2 perhaps?

@DennisAlund
Copy link
Member

  1. Does your debug build target succeed?
  2. Can you confirm that you have declared the string resources in a resource file that is used by both release and debug targets or that you have declared the resource in respective target specific resource files?

@DennisAlund
Copy link
Member

Please follow up further discussion in issue #2 or re-open the issue if you don't think it's a duplicate.

@DennisAlund DennisAlund added the duplicate This issue or pull request already exists label Nov 6, 2019
DennisAlund added a commit that referenced this issue Nov 18, 2019
Fixing issues #2, #4 and #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants