Android Build Error in BB 1.3.6

Discussion in 'Technical Discussion' started by smmsud, Feb 28, 2016.

  1. smmsud

    smmsud Boxer

    Joined:
    Jan 16, 2016
    Messages:
    88
    Likes Received:
    27
    I cant build apk. getting this error in eclispe . Using BB 1.3.6
    Code:
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker] F:\work\game development\Horse Runner\horse runner\android\libs\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
    [2016-02-29 13:23:18 - com.horserunnermiro.ifthaker]
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]     (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*')
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker] F:\work\game development\Horse Runner\horse runner\android\libs\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
    [2016-02-29 13:23:22 - com.horserunnermiro.ifthaker]
    [2016-02-29 13:23:23 - google-play-services_lib] F:\work\game development\Horse Runner\horse runner\android\libs\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
    [2016-02-29 13:23:23 - google-play-services_lib]
    
     
  2. omlbtmxp

    omlbtmxp Boxer

    Joined:
    Feb 24, 2016
    Messages:
    2
    Likes Received:
    0
    hi i get this too every time i have yet to find out how to fix it
     
  3. smmsud

    smmsud Boxer

    Joined:
    Jan 16, 2016
    Messages:
    88
    Likes Received:
    27
    bump for the fix
     
  4. bharath917

    bharath917 Boxer

    Joined:
    Mar 18, 2016
    Messages:
    45
    Likes Received:
    8
    i too have the same problem.. have you guys figured any solution?
     
  5. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    In your eclipse, did you also import google-play-services_lib
     
  6. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    Hello, for BB 1.3.6, use API 23
     
    JustWatchApps likes this.
  7. bharath917

    bharath917 Boxer

    Joined:
    Mar 18, 2016
    Messages:
    45
    Likes Received:
    8
    yes,
    i did
     
  8. bharath917

    bharath917 Boxer

    Joined:
    Mar 18, 2016
    Messages:
    45
    Likes Received:
    8
    i am using buildbox 2 and using api 23 @jcalle
     
  9. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    OK have u tried @jcalle suggestion?
     
  10. bharath917

    bharath917 Boxer

    Joined:
    Mar 18, 2016
    Messages:
    45
    Likes Received:
    8
    @sysads @jcalle thank u for replying.. however it seems to be working now. i am new to buildbox. i will try few more ways and will see how it goes.
    New doubt : I found even a small game of only 2 scenes is having a size of about 8 mb (just exported a file and tested). but games like line zen and other similar with more than 150 unique scenes is only about 8 to 15 mb. are there ways to decrease the size of the file that i am unaware of?
    doubt 2 : is it a good practice to ignore all lint errors?

    thank u in advance.
     
    Last edited: Apr 14, 2016
  11. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    @bharath917 with regards to game size, search forum for lots of recommendation on how to sort that out. One recommendation is to compress your image file using online tools like this one - tinypng.com

    Also reuse images between scenes rather than dropping same image multiple times if this is what you have done.
     
  12. smmsud

    smmsud Boxer

    Joined:
    Jan 16, 2016
    Messages:
    88
    Likes Received:
    27
    Hey guys! Found the solution

    Update the SDK of the eclipe. That's all.
     

Share This Page