我用appium连接小米6手机,用wifi连接的,,能正常打开应用,但是不能装应用,不能点击不能act跳转的操作,代码在模拟器上能正常运行,,可以多线程多开,在小米手机就不行了
[debug] [AndroidDriver] Starting package ‘com.tencent.mm’ and activity ‘.plugin.fts.ui.FTSMainUI’
[debug] [ADB] Running ‘E:\install\android\platform-tools\adb.exe -P 5037 -s 192.168.1.21:5556 shell am start -W -n com.tencent.mm/.plugin.fts.ui.FTSMainUI -S’
[debug] [W3C (7d6a6efb)] Encountered internal error running command: Error: Cannot start the ‘com.tencent.mm’ application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: The permission to start ‘.plugin.fts.ui.FTSMainUI’ activity has been denied.Make sure the activity/package names are correct.
[debug] [W3C (7d6a6efb)] at ADB.apkUtilsMethods.startApp (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\node_modules_appium-adb@7.2.0@appium-adb\lib\tools\apk-utils.js:144:11)
[HTTP] <-- POST /wd/hub/session/7d6a6efb-1e67-4fc4-b53a-d125ac0d9a17/appium/device/start_activity 500 690 ms - 1269
[HTTP]