{"action":"closed","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/379","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/379/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/379/events","html_url":"https://github.com/RobotiumTech/robotium/issues/379","id":101983071,"number":379,"title":"Using protected members (e.g. clicker) in Solo subclass causes \"The type [...] is not visible\" error","user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/wontfix","name":"wontfix","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T19:50:13Z","updated_at":"2015-08-19T19:50:19Z","closed_at":"2015-08-19T19:50:19Z","body":"_From [Frozenmo...@gmail.com](https://code.google.com/u/109250607565873217884/) on August 06, 2012 09:57:15_\n\nWhat steps will reproduce the problem? Here's an example code which reproduces this problem:\r\n\r\npublic class MySolo extends Solo {\r\n    public MySolo(Instrumentation instrumentation, Activity activity) {\r\n        super(instrumentation, activity);\r\n    }\r\n\r\n    public void clickOnSpinner(int index) {\r\n        clicker.clickOn(Spinner.class, index);  // ERROR: The type Clicker is not visible\r\n    }\r\n} What version of the product are you using? On what operating system? robotium: 3.3 Please provide any additional information below. This issue is related to issue #248 , which suggests making some private field protected. In robotium 3.3, those field have been made protected, and subclasses can reference them. However, subclasses still can't access public interfaces of those type.\r\n\r\nSimilar problem was discussed in this stackoverflow question: http://stackoverflow.com/questions/5821546 According to it's best answer, the error is caused by using a non-public class in different package.\r\nMaking the class public may fix the problem.\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=300_"}}