{"action":"created","issue":{"url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/130","repository_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http","labels_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/130/comments","events_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/130/events","html_url":"https://github.com/silkimen/cordova-plugin-advanced-http/issues/130","id":342034791,"node_id":"MDU6SXNzdWUzNDIwMzQ3OTE=","number":130,"title":"java.lang.NoSuchMethodError: No virtual method getHttpUrlChecked","user":{"login":"ihsanberahim","id":1956846,"node_id":"MDQ6VXNlcjE5NTY4NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1956846?v=4","gravatar_id":"","url":"https://api.github.com/users/ihsanberahim","html_url":"https://github.com/ihsanberahim","followers_url":"https://api.github.com/users/ihsanberahim/followers","following_url":"https://api.github.com/users/ihsanberahim/following{/other_user}","gists_url":"https://api.github.com/users/ihsanberahim/gists{/gist_id}","starred_url":"https://api.github.com/users/ihsanberahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihsanberahim/subscriptions","organizations_url":"https://api.github.com/users/ihsanberahim/orgs","repos_url":"https://api.github.com/users/ihsanberahim/repos","events_url":"https://api.github.com/users/ihsanberahim/events{/privacy}","received_events_url":"https://api.github.com/users/ihsanberahim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T18:32:16Z","updated_at":"2018-07-18T07:35:47Z","closed_at":"2018-07-17T19:02:32Z","author_association":"NONE","body":"## Current behavior:\r\nPlatform Android:\r\nIt crash when i do GET request. `HTTP.get`\r\n\r\n\r\nPlatform iOS: \r\n(everything works fine)\r\n\r\n## Error Log:\r\n```\r\n07-18 02:03:40.925 20138-20197/my.app.my E/AndroidRuntime: FATAL EXCEPTION: pool-4-thread-1\r\n    Process: my.app.my, PID: 20138\r\n    java.lang.NoSuchMethodError: No virtual method getHttpUrlChecked(Ljava/lang/String;)Lokhttp3/HttpUrl; in class Lokhttp3/internal/Internal; or its super classes (declaration of 'okhttp3.internal.Internal' appears in /data/app/my.app.my-1/base.apk)\r\n        at okhttp3.internal.huc.OkHttpURLConnection.buildCall(OkHttpURLConnection.java:373)\r\n        at okhttp3.internal.huc.OkHttpURLConnection.getResponse(OkHttpURLConnection.java:435)\r\n        at okhttp3.internal.huc.OkHttpURLConnection.getResponseCode(OkHttpURLConnection.java:491)\r\n        at okhttp3.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106)\r\n        at okhttp3.internal.huc.OkHttpsURLConnection.getResponseCode(OkHttpsURLConnection.java:26)\r\n        at com.github.kevinsawicki.http.HttpRequest.code(HttpRequest.java:1717)\r\n        at com.synconset.cordovahttp.CordovaHttp.returnResponseObject(CordovaHttp.java:284)\r\n        at com.synconset.cordovahttp.CordovaHttpGet.run(CordovaHttpGet.java:30)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n        at java.lang.Thread.run(Thread.java:760)\r\n```\r\n\r\n## My Environment\r\n\r\n```\r\ncli packages: (/usr/local/lib/node_modules)\r\n\r\n    @ionic/cli-utils  : 1.19.2\r\n    ionic (Ionic CLI) : 3.20.0\r\n\r\nglobal packages:\r\n\r\n    cordova (Cordova CLI) : 8.0.0 \r\n\r\nlocal packages:\r\n\r\n    @ionic/app-scripts : 3.1.9\r\n    Cordova Platforms  : android 7.0.0 ios 4.5.4\r\n    Ionic Framework    : ionic-angular 3.9.2\r\n\r\nSystem:\r\n\r\n    Android SDK Tools : 26.1.1\r\n    ios-deploy        : 1.9.2 \r\n    Node              : v6.14.2\r\n    npm               : 3.10.10 \r\n    OS                : macOS High Sierra\r\n    Xcode             : Xcode 9.4.1 Build version 9F2000 \r\n\r\nEnvironment Variables:\r\n\r\n    ANDROID_HOME : /Users/me/Library/Android/sdk\r\n\r\nMisc:\r\n\r\n    backend : pro\r\n```\r\n\r\n### Installed plugins\r\n```\r\ncom.synconset.imagepicker 2.1.10 \"ImagePicker\"\r\ncordova-plugin-actionsheet 2.3.3 \"ActionSheet\"\r\ncordova-plugin-add-swift-support 1.7.2 \"AddSwiftSupport\"\r\ncordova-plugin-advanced-http 1.11.1 \"Advanced HTTP plugin\"\r\ncordova-plugin-app-version 0.1.9 \"AppVersion\"\r\ncordova-plugin-apprate 1.4.0 \"AppRate\"\r\ncordova-plugin-device 2.0.2 \"Device\"\r\ncordova-plugin-dialogs 2.0.1 \"Notification\"\r\ncordova-plugin-email-composer 0.8.15 \"EmailComposer\"\r\ncordova-plugin-facebook4 2.2.0 \"Facebook Connect\"\r\ncordova-plugin-file 5.0.0 \"File\"\r\ncordova-plugin-file-transfer 1.7.1 \"File Transfer\"\r\ncordova-plugin-geolocation 4.0.1 \"Geolocation\"\r\ncordova-plugin-globalization 1.11.0 \"Globalization\"\r\ncordova-plugin-inappbrowser 3.0.0 \"InAppBrowser\"\r\ncordova-plugin-ionic-webview 2.0.0-beta.2 \"cordova-plugin-ionic-webview\"\r\ncordova-plugin-nativegeocoder 3.1.2 \"NativeGeocoder\"\r\ncordova-plugin-nativestorage 2.3.1 \"NativeStorage\"\r\ncordova-plugin-splashscreen 5.0.2 \"Splashscreen\"\r\ncordova-plugin-whitelist 1.3.3 \"Whitelist\"\r\ncordova-sqlite-storage 2.3.3 \"Cordova sqlite storage plugin\"\r\nionic-plugin-keyboard 2.2.1 \"Keyboard\"\r\nuk.co.workingedge.phonegap.plugin.launchnavigator 4.2.1 \"Launch Navigator\"\r\n```"},"comment":{"url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/comments/405838666","html_url":"https://github.com/silkimen/cordova-plugin-advanced-http/issues/130#issuecomment-405838666","issue_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/130","id":405838666,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTgzODY2Ng==","user":{"login":"iamjoyce","id":13122245,"node_id":"MDQ6VXNlcjEzMTIyMjQ1","avatar_url":"https://avatars0.githubusercontent.com/u/13122245?v=4","gravatar_id":"","url":"https://api.github.com/users/iamjoyce","html_url":"https://github.com/iamjoyce","followers_url":"https://api.github.com/users/iamjoyce/followers","following_url":"https://api.github.com/users/iamjoyce/following{/other_user}","gists_url":"https://api.github.com/users/iamjoyce/gists{/gist_id}","starred_url":"https://api.github.com/users/iamjoyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamjoyce/subscriptions","organizations_url":"https://api.github.com/users/iamjoyce/orgs","repos_url":"https://api.github.com/users/iamjoyce/repos","events_url":"https://api.github.com/users/iamjoyce/events{/privacy}","received_events_url":"https://api.github.com/users/iamjoyce/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T07:35:47Z","updated_at":"2018-07-18T07:35:47Z","author_association":"NONE","body":"@ihsanberahim Actually, you can modify the `uk.co.workingedge.phonegap.plugin.launchnavigator` plugin variables instead of changing `project.properties`.\r\n\r\nStep 1: Modify `config.xml` and `package.json`\r\n\r\nIn `config.xml`,\r\n\r\n![1](https://user-images.githubusercontent.com/13122245/42866650-bc4b25e6-8a9f-11e8-9561-89e8a25661ff.PNG)\r\n\r\nIn `package.json`\r\n\r\n![2](https://user-images.githubusercontent.com/13122245/42866654-bef59290-8a9f-11e8-89e7-9e704d039a64.PNG)\r\n\r\nStep 2: Delete and add platform again\r\n\r\n`ionic cordova platform remove android` / `cordova platform remove android` then,\r\n`ionic cordova platform add android` / `cordova platform add android`\r\n\r\nAlternatively, you can just remove and add affected plugin"}}
{"actor":{"display_login":"iamjoyce"}}