{"action":"opened","issue":{"url":"https://api.github.com/repos/marpies/account-kit-ane/issues/3","repository_url":"https://api.github.com/repos/marpies/account-kit-ane","labels_url":"https://api.github.com/repos/marpies/account-kit-ane/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/marpies/account-kit-ane/issues/3/comments","events_url":"https://api.github.com/repos/marpies/account-kit-ane/issues/3/events","html_url":"https://github.com/marpies/account-kit-ane/issues/3","id":196217663,"number":3,"title":"AppCompat issue with ADOBE AIR SDK 24.0 despite your patched adt.jar & runtimeClasses.jar used.","user":{"login":"appearance","id":404603,"avatar_url":"https://avatars.githubusercontent.com/u/404603?v=3","gravatar_id":"","url":"https://api.github.com/users/appearance","html_url":"https://github.com/appearance","followers_url":"https://api.github.com/users/appearance/followers","following_url":"https://api.github.com/users/appearance/following{/other_user}","gists_url":"https://api.github.com/users/appearance/gists{/gist_id}","starred_url":"https://api.github.com/users/appearance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appearance/subscriptions","organizations_url":"https://api.github.com/users/appearance/orgs","repos_url":"https://api.github.com/users/appearance/repos","events_url":"https://api.github.com/users/appearance/events{/privacy}","received_events_url":"https://api.github.com/users/appearance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-17T11:37:40Z","updated_at":"2016-12-17T11:37:40Z","closed_at":null,"body":"Hi marpies,\r\n\r\nI am appearance. This is with regard to appcompat issue with AIR SDK 24.  We have had a conversation on [adobe forum](https://forums.adobe.com/thread/2206903).\r\n\r\nBelow is the message I wrote on the forum:\r\n\r\nHi mar.pies​,\r\n\r\nI created a file in my resources named \"provider_paths.xml\" and finally it compiled without error.\r\nBut when the app is launched and Activity is launched I got following error:\r\n\r\n12-17 16:48:27.362 21469-21469/? E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                   Process: air.mazhar.testane.android, PID: 21469\r\n                                                   java.lang.NoSuchFieldError: No static field AppCompatTheme of type [I in class Landroid/support/v7/appcompat/R$styleable; or its superclasses (declaration of 'android.support.v7.appcompat.R$styleable' appears in /data/app/air.mazhar.testane.android-1/base.apk)\r\n                                                       at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:339)\r\n                                                       at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312)\r\n                                                       at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:277)\r\n                                                       at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)\r\n                                                       at com.trendyworks.ane.SugarMaths.TestActivity.onCreate(TestActivity.java:16)\r\n                                                       at android.app.Activity.performCreate(Activity.java:6010)\r\n                                                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)\r\n                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)\r\n                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)\r\n                                                       at android.app.ActivityThread.access$800(ActivityThread.java:155)\r\n                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)\r\n                                                       at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                       at android.os.Looper.loop(Looper.java:135)\r\n                                                       at android.app.ActivityThread.main(ActivityThread.java:5343)\r\n                                                       at java.lang.reflect.Method.invoke(Native Method)\r\n                                                       at java.lang.reflect.Method.invoke(Method.java:372)\r\n                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)\r\n                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)\r\n\r\n\r\nHere's the xml for TestActivity (activity_test.xml):\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<android.support.design.widget.CoordinatorLayout\r\n   xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n   xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n   xmlns:tools=\"http://schemas.android.com/tools\"\r\n   android:layout_width=\"match_parent\"\r\n   android:layout_height=\"match_parent\"\r\n   android:fitsSystemWindows=\"true\"\r\n   tools:context=\"com.trendyworks.ane.SugarMaths.TestActivity\">\r\n\r\n  <android.support.design.widget.AppBarLayout\r\n   android:layout_width=\"match_parent\"\r\n   android:layout_height=\"wrap_content\"\r\n   android:theme=\"@style/SM_AppTheme.AppBarOverlay\">\r\n\r\n  <android.support.v7.widget.Toolbar\r\n   android:id=\"@+id/toolbar\"\r\n   android:layout_width=\"match_parent\"\r\n   android:layout_height=\"?attr/actionBarSize\"\r\n   android:background=\"?attr/colorPrimary\"\r\n   app:popupTheme=\"@style/SM_AppTheme.PopupOverlay\"/>\r\n\r\n  </android.support.design.widget.AppBarLayout>\r\n\r\n  <include layout=\"@layout/content_test\"/>\r\n\r\n  <android.support.design.widget.FloatingActionButton\r\n   android:id=\"@+id/fab\"\r\n   android:layout_width=\"wrap_content\"\r\n   android:layout_height=\"wrap_content\"\r\n   android:layout_gravity=\"bottom|end\"\r\n   android:layout_margin=\"@dimen/fab_margin\"\r\n   app:srcCompat=\"@android:drawable/ic_dialog_email\"/>\r\n\r\n</android.support.design.widget.CoordinatorLayout>\r\n```\r\n\r\n-------------------------------------------------------------------------------------------------\r\nHere's the xml for fragment (content_test.xml):\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<RelativeLayout\r\n   android:id=\"@+id/content_test\"\r\n   xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n   xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n   xmlns:tools=\"http://schemas.android.com/tools\"\r\n   android:layout_width=\"match_parent\"\r\n   android:layout_height=\"match_parent\"\r\n   android:paddingBottom=\"@dimen/activity_vertical_margin\"\r\n   android:paddingLeft=\"@dimen/activity_horizontal_margin\"\r\n   android:paddingRight=\"@dimen/activity_horizontal_margin\"\r\n   android:paddingTop=\"@dimen/activity_vertical_margin\"\r\n   app:layout_behavior=\"@string/appbar_scrolling_view_behavior\"\r\n   tools:context=\"com.trendyworks.ane.SugarMaths.TestActivity\"\r\n   tools:showIn=\"@layout/activity_test\">\r\n\r\n  <TextView\r\n   android:layout_width=\"match_parent\"\r\n   android:layout_height=\"wrap_content\"\r\n   android:textAppearance=\"?android:attr/textAppearanceLarge\"\r\n   android:text=\"@string/app_name\"\r\n   android:gravity=\"center\"\r\n   android:layout_centerInParent=\"true\"\r\n   android:textSize=\"30sp\"\r\n   android:textStyle=\"bold\"\r\n   />\r\n</RelativeLayout>\r\n```\r\n-----------------------------------------------------------------------------------------\r\n\r\nHere's the TestActivity.java:\r\n\r\n```\r\npackage com.trendyworks.ane.SugarMaths;\r\n\r\nimport android.os.Bundle;\r\nimport android.support.design.widget.FloatingActionButton;\r\nimport android.support.design.widget.Snackbar;\r\nimport android.support.v7.app.AppCompatActivity;\r\nimport android.support.v7.widget.Toolbar;\r\nimport android.view.View;\r\n\r\npublic class TestActivity extends AppCompatActivity {\r\n\r\n   @Override\r\n   protected void onCreate (Bundle savedInstanceState) {\r\n        super.onCreate (savedInstanceState);\r\n       setContentView (R.layout.activity_test);\r\n\r\n       Toolbar toolbar = (Toolbar) findViewById (R.id.toolbar);\r\n       setSupportActionBar (toolbar);\r\n\r\n       FloatingActionButton fab = (FloatingActionButton) findViewById (R.id.fab);\r\n       fab.setOnClickListener (new View.OnClickListener () {\r\n             @Override\r\n             public void onClick (View view) {\r\n                 Snackbar.make (view, \"Replace with your own action\", Snackbar.LENGTH_LONG)\r\n                      .setAction (\"Action\", null).show ();\r\n                 }\r\n            });\r\n       }\r\n}\r\n```\r\n\r\n--------------------------------------------------------------------------------\r\n\r\nI have used your PATCHED AIR SDK 24.  I have bundled my ane with same sdk's adt command.\r\n\r\nKindly tell me what's causing this error.\r\n\r\nThank you.\r\n"}}
{"actor":{"display_login":"appearance"}}