8000 Android build "No resource identifier" · Issue #167 · glmark2/glmark2 · GitHub
[go: up one dir, main page]

Skip to content

Android build "No resource identifier" #167

Open

Description

@nighthawk469

A collapsible section with markdown

Click to expand log
create_APK glmark2
res/drawable/ic_launcher_background.xml:2: error: No resource identifier found for attribute 'viewportWidth' in package 'android'
                                                             ^                                
res/drawable/ic_launcher_background.xml:2: error: No resource identifier found for attribute 'viewportHeight' in package 'android'
                                            ^
res/drawable/ic_launcher_background.xml:8: error: No resource identifier found for attribute 'fillColor' in package 'android'          ^
[x86_64] Compile        : glmark2-jpeg <= jmemmgr.c            meter 'output_data' [-Wunused-p
res/drawable/ic_launcher_background.xml:8: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
er 'cinfo' [-Wunused-parameter]
res/drawable/ic_launcher_background.xml:8: error: No resource identifier found for attribute 'pathData' in package 'android'  Wunused-paramet
jni/src/libjpeg-turbo/jquant1.c:248:43: warning: unused parametample (j_compress_ptr cinfo, jp
res/drawable/ic_launcher_foreground.xml:2: error: No resource identifier found for attribute 'viewportWidth' in package 'android'
jni/src/libjpeg-turbo/jquant1.c:262:39: warning: unused paramet
res/drawable/ic_launcher_foreground.xml:2: error: No resource identifier found for attribute 'viewportHeight' in package 'android'
                                      ^
res/drawable/ic_launcher_foreground.xml:8: error: No resource identifier found for attribute 'fillColor' in package 'android'
largest_input_value (j_decompress_ptr cinfo, int ci, int j, int_data)
res/drawable/ic_launcher_foreground.xml:8: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
er 'is_pre_scan' [-Wunused-parameter]
res/drawable/ic_launcher_foreground.xml:8: error: No resource identifier found for attribute 'pathData' in package 'android'                 
                                                    ^          turbo/jsimd_none.c:143:38: warn
res/drawable/ic_launcher_foreground.xml:12: error: No resource identifier found for attribute 'fillColor' in package 'android'_ptr cinfo, jpe
finish_pass_1_quant (j_decompress_ptr cinfo)
res/drawable/ic_launcher_foreground.xml:12: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
[x86_64] Compile        : glmark2-jpeg <= jdmerge.c            le (j_decompress_ptr cinfo, jpe
res/drawable/ic_launcher_foreground.xml:12: error: No resource identifier found for attribute 'pathData' in package 'android'
                    JDIMENSION in_row_groups_avail,            meter 'input_data' [-Wunused-pa
res/drawable/ic_launcher_foreground.xml:16: error: No resource identifier found for attribute 'fillColor' in package 'android'
er 'in_row_groups_avail' [-Wunused-parameter]
res/drawable/ic_launcher_foreground.xml:16: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
er 'out_rows_avail' [-Wunused-parameter]
res/drawable/ic_launcher_foreground.xml:16: error: No resource identifier found for attribute 'pathData' in package 'android'
3 warnings generated.
res/drawable/ic_launcher_foreground.xml:20: error: No resource identifier found for attribute 'fillColor' in package 'android's_ptr cinfo,
er 'cinfo' [-Wunused-parameter]
res/drawable/ic_launcher_foreground.xml:20: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
[x86_64] Compile        : glmark2-jpeg <= jquant2.c
res/drawable/ic_launcher_foreground.xml:20: error: No resource identifier found for attribute 'pathData' in package 'android' a' [-Wunused-pa
                  JSAMPARRAY output_buf, int num_rows)              JSAMPARRAY input_data,
res/drawable/ic_launcher_foreground.xml:24: error: No resource identifier found for attribute 'fillColor' in package 'android'ta_ptr' [-Wunus
ter 'cinfo' [-Wunused-parameter]
res/drawable/ic_launcher_foreground.xml:24: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
[armeabi-v7a] Compile++ thumb: glmark2-android <= gl-headers.cpmeter 'cinfo' [-Wunused-paramet
res/drawable/ic_launcher_foreground.xml:24: error: No resource identifier found for attribute 'pathData' in package 'android'       ^
[x86_64] Compile++      : glmark2-ideas <= table.cc            meter 'compptr' [-Wunused-param
res/mipmap/ic_launcher.xml:2: error: No resource identifier found for attribute 'viewportWidth' in package 'android'
[x86_64] Compile++      : glmark2-ideas <= d.cc
res/mipmap/ic_launcher.xml:2: error: No resource identifier found for attribute 'viewportHeight' in package 'android'
[armeabi-v7a] Compile++ thumb: glmark2-android <= image-reader.                ^
res/mipmap/ic_launcher.xml:8: error: No resource identifier found for attribute 'fillColor' in package 'android'
[armeabi-v7a] Compile++ thumb: glmark2-android <= gl-visual-con
res/mipmap/ic_launcher.xml:8: error: No resource identifier found for attribute 'strokeWidth' in package 'android'            Wunused-paramet
pp
res/mipmap/ic_launcher.xml:8: error: No resource identifier found for attribute 'pathData' in package 'android'                           ^
[x86_64] Compile++      : glmark2-ideas <= t.cc
res/mipmap/ic_launcher.xml:12: error: No resource identifier found for attribute 'fillColor' in package 'android'             component_info 
y.cpp
res/mipmap/ic_launcher.xml:12: error: No resource identifier found for attribute 'strokeWidth' in package 'android'           .c:179:39: warn
[armeabi-v7a] Compile++ thumb: glmark2-android <= benchmark-col
res/mipmap/ic_launcher.xml:12: error: No resource identifier found for attribute 'pathData' in package 'android'                    ^
[x86_64] Compile++      : glmark2-ideas <= a.cc
res/mipmap/ic_launcher_round.xml:2: error: No resource identifier found for attribute 'viewportWidth' in package 'android'    ARRAY *output_d
[armeabi-v7a] Compile++ thumb: glmark2-android <= android.cpp                         ^
res/mipmap/ic_launcher_round.xml:2: error: No resource identifier found for attribute 'viewportHeight' in package 'android'
[armeabi-v7a] Compile++ thumb: glmark2-android <= scene-conditi
res/mipmap/ic_launcher_round.xml:8: error: No resource identifier found for attribute 'fillColor' in package 'android'        [-Wunused-param
[armeabi-v7a] Compile++ thumb: glmark2-android <= scene-bump.cp           jpeg_component_info 
res/mipmap/ic_launcher_round.xml:8: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
p
res/mipmap/ic_launcher_round.xml:8: error: No resource identifier found for attribute 'pathData' in package 'android'         ARRAY input_dat
[armeabi-v7a] Compile thumb  : glmark2-png <= pnggccrd.c                             ^
res/mipmap/ic_launcher_round.xml:12: error: No resource identifier found for attribute 'fillColor' in package 'android'
[armeabi-v7a] Compile thumb  : glmark2-png <= pngerror.c
res/mipmap/ic_launcher_round.xml:12: error: No resource identifier found for attribute 'strokeWidth' in package 'android'     Wunused-paramet
[x86_64] Compile        : glmark2-jpeg <= jchuff.c             d_upsample (j_decompress_ptr ci
res/mipmap/ic_launcher_round.xml:12: error: No resource identifier found for attribute 'pathData' in package 'android'        .c:206:40: warn
[armeabi-v7a] Compile thumb  : glmark2-png <= png.c
res/mipmap/ic_launcher_round.xml:16: error: No resource identifier found for attribute 'fillColor' in package 'android'              ^
[armeabi-v7a] Compile++ thumb: glmark2-android <= texture.cpp  meter 'in_row_group_ctr' [-Wunu
res/mipmap/ic_launcher_round.xml:16: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
jsimd_idct_2x2 (j_decompress_ptr cinfo, jpeg_component_info *compptr,                          lmark2-android <= renderer-chaif' [-Wunused-pa
res/mipmap/ic_launcher_round.xml:16: error: No resource identifier found for attribute 'pathData' in package 'android'
ameter]
res/mipmap/ic_launcher_round.xml:20: error: No resource identifier found for attribute 'fillColor' in package 'android'
jni/src/libjpeg-turbo/jsimd_none.c:327:49: warning: unused parameter 'output_buf' [-Wunused-parlmark2-png <= pngvcrd.c                     ^
res/mipmap/ic_launcher_round.xml:20: error: No resource identifier found for attribute 'strokeWidth' in package 'android'
                                                ^
res/mipmap/ic_launcher_round.xml:20: error: No resource identifier found for attribute 'pathData' in package 'android'        oup_ctr' [-Wunu
                JDIMENSION output_col)
res/mipmap/ic_launcher_round.xml:24: error: No resource identifier found for attribute 'fillColor' in package 'android'              ^
r]
res/mipmap/ic_launcher_round.xml:24: error: No resource identifier found for attribute 'strokeWidth' in package 'android'     PARRAY output_b

res/mipmap/ic_launcher_round.xml:24: error: No resource identifier found for attribute 'pathData' in package 'android'

res/mipmap/ic_launcher_round.xml:28: error: No resource identifier found for attribute 'fillColor' in package 'android'

res/mipmap/ic_launcher_round.xml:28: error: No resource identifier found for attribute 'strokeWidth' in package 'android'

res/mipmap/ic_launcher_round.xml:28: error: No resource identifier found for attribute 'pathData' in package 'android'

res/mipmap/ic_launcher_round.xml:32: error: No resource identifier found for attribute 'fillColor' in package 'android'

res/mipmap/ic_launcher_round.xml:32: error: No resource identifier found for attribute 'strokeWidth' in package 'android'

res/mipmap/ic_laun
5BED
cher_round.xml:32: error: No resource identifier found for attribute 'pathData' in package 'android'

Seeing No resource identifier when running android/build.sh. This is because vector drawables are not available until API 21.
https://stackoverflow.com/questions/34018593/android-nor-resource-identifier-found

Therefore there should be some mention about installing a Support library (androidx ?). Or updating the min api to 21

Activity

  1. nighthawk469 commented on Mar 13, 2022

    @nighthawk469
    Author

    Current workaround is to edit build.sh to change the ANDROID_JAR variable to at least platform 21.

    Android documentation on vector drawables
    https://developer.android.com/guide/topics/graphics/vector-drawable-resources#vector-drawables-backward-solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0