android - UiAutomator inside Java Project -


i'm writing program crawling third party android apps keywords.

i have maven project , trying include uiautomator library provided google. (like described here , here) there issues though. i've done far:

  • switched gradle.
  • included google maven repository.
  • added androidtestcompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' gradle dependencies.

intellij told me not regconize androidtestcompile tried fix copying code on place, did not work.

i understand uiautomator used in android app programming (for example via android studio) testing said apps' ui, fail see why wouldn't able include needed libraries outside of context.

so here questions:

  • can include googles uiautomator library inside non-android maven project?
  • if have switch gradle, needed steps androidtestcompile work?

thanks in advance valuable help.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -