简体   繁体   English

Android Studio Robotium Recorder插件兼容性问题

[英]Android Studio Robotium Recorder Plugin Compatibility issue

新的机器人测试

I have Android API Levels 15,19,20,21 and Android Studio 1.0.1. 我有Android API级别15、19、20、21和Android Studio 1.0.1。

Robotium Recorder needs API 15 or higher version. Robotium Recorder需要API 15或更高版本。 Information about Robotium API support 有关Robotium API支持的信息

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); 我遵循Robotium页面上的指南,并且尝试了许多类似的操作(以下所有步骤均经过单独测试);

  • I created emulators that's API level 15 and 19, Than I tried to start Robotium,It did not work. 我创建了API级别为15和19的仿真器,而不是尝试启动Robotium,但没有用。
  • I connected my Android phone which is API level 19,that did not work again. 我连接了API级别为19的Android手机,但该手机无法再次使用。
  • I started Android Studio with administrator permission everytime. 我每次都在获得管理员许可的情况下启动Android Studio。
  • I downloaded robotium.jar here It did not work. 在这里下载了robotium.jar,但无法正常工作。

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)" 我的最低sdk版本和目标sdk版本也都是19。但是,当我单击“新建Robotium测试”按钮时,立即出现警告文本,即“请安装兼容的Android API级别(15或更高)”。

There is a screenshot about problem. 有关于问题的屏幕截图。 Any advice? 有什么建议吗?

You probably have two Android SDK:s installed in your computer. 您可能在计算机中安装了两个Android SDK :。 If you go to settings (on the left side of "New Robotium Test") you can change the SDK to be used by Robotium Recorder. 如果进行设置(在“新Robotium测试”的左侧),则可以更改Robotium Recorder使用的SDK。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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