Android Studio Robotium Recorder Plugin Compatibility issue

好久不见. 提交于 2021-02-18 18:53:35

问题


New Robotium Test

I have Android API Levels 15,19,20,21 and Android Studio 1.0.1.

Robotium Recorder needs API 15 or higher version. Information about Robotium API support

I follow that guide from Robotium's page and also I tried many things like those (all following steps were tested separately from each other);

  • I created emulators that's API level 15 and 19, Than I tried to start Robotium,It did not work.
  • I connected my Android phone which is API level 19,that did not work again.
  • I started Android Studio with administrator permission everytime.
  • I downloaded robotium.jar here It did not work.

I tried every method in my mind.

My minimum sdk version and target sdk version is also 19. But when I clicked "New Robotium Test" button, immediately appears warning text that is "Please install a compatible Android API level (15 or higher)"

There is a screenshot about problem. Any advice?


回答1:


You probably have two Android SDK:s installed in your computer. If you go to settings (on the left side of "New Robotium Test") you can change the SDK to be used by Robotium Recorder.

http://robotium.com/pages/user-guide-android-studio



来源:https://stackoverflow.com/questions/27511881/android-studio-robotium-recorder-plugin-compatibility-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!