• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Missing R.Styleable and app crashes at runtime (Android)

New Here ,
Dec 04, 2015 Dec 04, 2015

Copy link to clipboard

Copied

Hi,

I am using stylables in my custom view. After building, the app crashes at runtime when that custom view is getting instantiated.

Error message is:  E/AndroidRuntime(2451): Caused by: java.lang.NoSuchFieldError: No static field stl_SmartTabLayout of type [I in class Lcom/trendyworks/ane/AirTWShare/R$styleable; or its superclasses (declaration of 'com.trendyworks.ane.AirTWShare.R$styleable' appears in /data/app/air.test.android-2/base.apk).

I am using Adobe Flash CC 2015 with AIR SDK 17.0 (and tried with 19.0), jdk 1.8, Adobe Flash Buidler 4.7 (64bit) (Flex SDK 4.6) and latest android sdk.

(Note: I am using Eclipse to build jar file)

APK includes every resource folder except attr.

Kindly help me how to get this done.

Thank you.

TOPICS
Development

Views

411

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines