{"id":2350,"date":"2022-08-30T15:24:08","date_gmt":"2022-08-30T15:24:08","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/app-crashing-after-adding-a-scrollview-and-imageview-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:08","modified_gmt":"2022-08-30T15:24:08","slug":"app-crashing-after-adding-a-scrollview-and-imageview-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/app-crashing-after-adding-a-scrollview-and-imageview-collection-of-common-programming-errors\/","title":{"rendered":"App crashing after adding a ScrollView and ImageView-Collection of common programming errors"},"content":{"rendered":"<p>I added a scroll element to the main activity of my application along with an <code>ImageView<\/code> but when I ran the project on an emulator it crashes giving me errors stemming from the main activity.The error log is a follows: http:\/\/pastebin.com\/PAYrjHCL<\/p>\n<p>So from going through the errors I found that it was a problem in the main activity.But I don&#8217;t see where I have gone wrong as I only added these two features.Can anyone spot whats wrong in this activity thats causing it to crash?<\/p>\n<p>My main_activity is like this:<\/p>\n<pre><code>\n\n\n\n\n\n    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2014-01-05 22:03:57. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I added a scroll element to the main activity of my application along with an ImageView but when I ran the project on an emulator it crashes giving me errors stemming from the main activity.The error log is a follows: http:\/\/pastebin.com\/PAYrjHCL So from going through the errors I found that it was a problem in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2350","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2350"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2350\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}