Start a new topic

Missing ressources in example?

Missing ressources in example?


Hi Christoph,
Thx for sharing your findings! We will invesitgate this for our next Native SDK release.

Best regards

Andreas

It turned out that the ressources do exist in folder

WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable

So I copied them to

WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\src\main\res\drawable

Now I can build...

Best regards,

Christoph

 

Hi,

I am new to wikitude and I downloaded the NativeSDKExamples.

When I build them I get complaints about missing ressources (drawable...):

Information:Gradle tasks
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72220Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42220Library UP-TO-DATE
:app:prepareWikitudeNativeSdkLibrary UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources
C:Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_edit_text_material.xml
Error:(24, 63) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_default_mtrl_alpha').
Error:(25, 93) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_default_mtrl_alpha').
Error:(26, 33) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_activated_mtrl_alpha').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_item_background_holo_dark.xml
Error:(20, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_dark').
Error:(21, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_dark').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_item_background_holo_light.xml
Error:(20, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_light').
Error:(21, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_light').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_list_selector_holo_dark.xml
Error:(22, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_dark').
Error:(23, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_dark').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_list_selector_holo_light.xml
Error:(22, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_light').
Error:(23, 118) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_list_selector_disabled_holo_light').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_ratingbar_full_material.xml
Error:(19, 27) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_rating_star_off_mtrl_alpha').
Error:(21, 27) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_rating_star_off_mtrl_alpha').
Error:(23, 27) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_rating_star_on_mtrl_alpha').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_spinner_textfield_background_material.xml
Error:(25, 41) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_default_mtrl_alpha').
Error:(31, 41) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_activated_mtrl_alpha').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_switch_thumb_material.xml
Error:(18, 58) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_switch_to_on_mtrl_00012').
Error:(19, 29) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_switch_to_on_mtrl_00001').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_tab_indicator_material.xml
Error:(18, 59) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_tab_indicator_mtrl_alpha').
C:\Android\Downloads\WikitudeSDK_NativeAPI_Android_1_2_0_2015-12-01\WikitudeSDK_NativeAPI_Android_1_2_0\Examples\NativeSDKExamples\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_textfield_search_material.xml
Error:(18, 87) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_activated_mtrl_alpha').
Error:(19, 89) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_activated_mtrl_alpha').
Error:(20, 58) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_default_mtrl_alpha').
Error:(21, 29) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_textfield_search_default_mtrl_alpha').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Android\sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 3.158 secs
Information:24 errors
Information:0 warnings
Information:See complete output in console

As far as I can see the drawables do not exist so the message seems to be correct.

Any advice?

Best regards,

Christoph

 
Login or Signup to post a comment