{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/642","labels_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/642/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/642/events","html_url":"https://github.com/mapbox/mapbox-android-sdk/issues/642","id":57162797,"number":642,"title":"Mapbox compile error","user":{"login":"Alex424","id":8959178,"avatar_url":"https://avatars.githubusercontent.com/u/8959178?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex424","html_url":"https://github.com/Alex424","followers_url":"https://api.github.com/users/Alex424/followers","following_url":"https://api.github.com/users/Alex424/following{/other_user}","gists_url":"https://api.github.com/users/Alex424/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex424/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex424/subscriptions","organizations_url":"https://api.github.com/users/Alex424/orgs","repos_url":"https://api.github.com/users/Alex424/repos","events_url":"https://api.github.com/users/Alex424/events{/privacy}","received_events_url":"https://api.github.com/users/Alex424/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/labels/support","name":"support","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/milestones/9","html_url":"https://github.com/mapbox/mapbox-android-sdk/milestones/0.7.1","labels_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/milestones/9/labels","id":967197,"number":9,"title":"0.7.1","description":"","creator":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":18,"state":"closed","created_at":"2015-02-05T15:08:39Z","updated_at":"2015-02-23T17:06:50Z","due_on":null,"closed_at":"2015-02-23T17:06:50Z"},"comments":13,"created_at":"2015-02-10T11:30:42Z","updated_at":"2015-04-17T13:29:50Z","closed_at":"2015-02-10T18:56:36Z","body":"I have downloaded the latest mapbox sdk and have imported into Eclipse (not Android Studio) manually and have put some necessary libraries to compile it. Following is libraries list added to my project.\r\n- okhttp-2.1.0.jar\r\n- okhttp-urlconnection-2.0.0.jar\r\n- disklrucache-2.0.2.jar\r\n- guava-17.0.jar\r\nThe latest map box sdk didn't accept the okhttp-2.2.0 so I have put okhttp-2.1.0.jar instead and issues were disappeared and I was able to compile it.\r\n\r\nThe problem is that when I run my android app and opens the map view, the app just crashes saying the following issues.\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): FATAL EXCEPTION: main\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): Process: com.mubadala.app, PID: 25211\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mubadala.app/com.mubadala.app.portfolio.PortfolioHighlightsActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class com.mapbox.mapboxsdk.views.MapView\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread.access$900(ActivityThread.java:169)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.os.Looper.loop(Looper.java:136)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread.main(ActivityThread.java:5479)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat java.lang.reflect.Method.invoke(Method.java:515)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat dalvik.system.NativeStart.main(Native Method)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class com.mapbox.mapboxsdk.views.MapView\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.createView(LayoutInflater.java:626)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.rInflate(LayoutInflater.java:761)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.inflate(LayoutInflater.java:498)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.inflate(LayoutInflater.java:398)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mubadala.app.portfolio.OnlineMapFragment.onCreateView(OnlineMapFragment.java:23)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.Fragment.performCreateView(Fragment.java:1786)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:548)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1177)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.Activity.performStart(Activity.java:5461)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2304)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \t... 11 more\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): Caused by: java.lang.reflect.InvocationTargetException\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat java.lang.reflect.Constructor.constructNative(Native Method)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat android.view.LayoutInflater.createView(LayoutInflater.java:600)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \t... 25 more\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): Caused by: java.lang.NoClassDefFoundError: com.squareup.okhttp.internal.DiskLruCache$2\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.squareup.okhttp.internal.DiskLruCache.<clinit>(DiskLruCache.java:739)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.squareup.okhttp.Cache.<init>(Cache.java:141)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.util.NetworkUtils.getCache(NetworkUtils.java:54)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.tileprovider.tilesource.TileJsonTileLayer.<init>(TileJsonTileLayer.java:39)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.tileprovider.tilesource.MapboxTileLayer.<init>(MapboxTileLayer.java:28)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.tileprovider.tilesource.MapboxTileLayer.<init>(MapboxTileLayer.java:24)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.views.MapView.<init>(MapView.java:217)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \tat com.mapbox.mapboxsdk.views.MapView.<init>(MapView.java:246)\r\n02-10 19:30:15.889: E/AndroidRuntime(25211): \t... 28 more\r\n\r\nIt would be much appreciate that anyone helps me fix this issue.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/comments/93986128","html_url":"https://github.com/mapbox/mapbox-android-sdk/issues/642#issuecomment-93986128","issue_url":"https://api.github.com/repos/mapbox/mapbox-android-sdk/issues/642","id":93986128,"user":{"login":"deepakrokz","id":5031034,"avatar_url":"https://avatars.githubusercontent.com/u/5031034?v=3","gravatar_id":"","url":"https://api.github.com/users/deepakrokz","html_url":"https://github.com/deepakrokz","followers_url":"https://api.github.com/users/deepakrokz/followers","following_url":"https://api.github.com/users/deepakrokz/following{/other_user}","gists_url":"https://api.github.com/users/deepakrokz/gists{/gist_id}","starred_url":"https://api.github.com/users/deepakrokz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepakrokz/subscriptions","organizations_url":"https://api.github.com/users/deepakrokz/orgs","repos_url":"https://api.github.com/users/deepakrokz/repos","events_url":"https://api.github.com/users/deepakrokz/events{/privacy}","received_events_url":"https://api.github.com/users/deepakrokz/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T13:29:50Z","updated_at":"2015-04-17T13:29:50Z","body":"@farfromrefug okay let me check ... m updating you in some time "}}