{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/1752","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-android","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/1752/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/1752/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/1752/events","html_url":"https://github.com/couchbase/couchbase-lite-android/issues/1752","id":351883563,"node_id":"MDU6SXNzdWUzNTE4ODM1NjM=","number":1752,"title":"2.0 : Android & Couchbase Lite >> Crash on open of Existing Database","user":{"login":"MG-Tawfeek","id":40006122,"node_id":"MDQ6VXNlcjQwMDA2MTIy","avatar_url":"https://avatars3.githubusercontent.com/u/40006122?v=4","gravatar_id":"","url":"https://api.github.com/users/MG-Tawfeek","html_url":"https://github.com/MG-Tawfeek","followers_url":"https://api.github.com/users/MG-Tawfeek/followers","following_url":"https://api.github.com/users/MG-Tawfeek/following{/other_user}","gists_url":"https://api.github.com/users/MG-Tawfeek/gists{/gist_id}","starred_url":"https://api.github.com/users/MG-Tawfeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MG-Tawfeek/subscriptions","organizations_url":"https://api.github.com/users/MG-Tawfeek/orgs","repos_url":"https://api.github.com/users/MG-Tawfeek/repos","events_url":"https://api.github.com/users/MG-Tawfeek/events{/privacy}","received_events_url":"https://api.github.com/users/MG-Tawfeek/received_events","type":"User","site_admin":false},"labels":[{"id":49228361,"node_id":"MDU6TGFiZWw0OTIyODM2MQ==","url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels/reproduce/investigate","name":"reproduce/investigate","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-19T08:04:21Z","updated_at":"2018-08-20T18:55:25Z","closed_at":null,"author_association":"NONE","body":"As far As I understand CBL 2 , \r\nThis Code should create The DB at first run , now if the app is restarted .. This same code should\r\nopen the existing DB . \r\nBut I always get crash after crash\r\n\r\n`\r\nconf = DatabaseConfiguration(applicationContext)\r\nconf.directory = applicationContext.filesDir.absolutePath\r\nmy_DB = Database(\"mydb\", conf)\r\n\r\n`\r\n\r\nI Tested this on android 4.4 GennyMotion emulator & real device .. the same thing . \r\nIs this a Bug ? did I get it all wrong ? "},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/comments/414424655","html_url":"https://github.com/couchbase/couchbase-lite-android/issues/1752#issuecomment-414424655","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/1752","id":414424655,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQyNDY1NQ==","user":{"login":"pasin","id":801454,"node_id":"MDQ6VXNlcjgwMTQ1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/801454?v=4","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T18:55:25Z","updated_at":"2018-08-20T18:55:25Z","author_association":"CONTRIBUTOR","body":"I couldn't configure your project to run with Android Studio 3.1.2 on my Mac. What Android Studio version, Compile Sdk Version and Build Tools Version you are using?\r\n\r\nI'm using the following and android studio keeps asking \"Please configure Android SDK\". There are some compatibility. \r\n\r\nThis is my env:\r\nCompile Sdk Version: API 27: Android 8.1 (Oreo)\r\nBuild Tools Version: 27.0.3"}}
{"actor":{"display_login":"pasin"}}