# Page factory not working in android

**URL:** <https://discuss.appium.io/t/page-factory-not-working-in-android/327>\
**Category:** Issues/Bugs\
**Created:** [September 12, 2014, 6:06am UTC](https://discuss.appium.io/t/page-factory-not-working-in-android/327 "2014-09-12T06:06:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![SergeyTichomirov](https://discuss.appium.io/user_avatar/discuss.appium.io/sergeytichomirov/32/5175_2.png) [@SergeyTichomirov](https://discuss.appium.io/u/SergeyTichomirov)\
**Post date:** [September 12, 2014, 5:43pm UTC](https://discuss.appium.io/t/page-factory-not-working-in-android/327/4 "2014-09-12T17:43:28Z")

</div>

Hi, Priyank\_Shah!

Your exaples are correct!  
But:

- this way you can’t instantiate MobileElement or RemoteWebElement for example.

- you can’t use TouchActions and MultiTouchActions because you will catch ClassCastExeption

- you can’t use some new annotations implemented for Screen Objects. Read [this tread](https://discuss.appium.io/t/java-client-1-6-0-findby-annotations-vs-driver-find/88).

---

_[View the full topic](https://discuss.appium.io/t/page-factory-not-working-in-android/327)._
