简体   繁体   中英

Android Studio Robotium Recorder Plugin Compatibility issue

新的机器人测试

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM