Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25819

Can not launch app an Android - Java exceptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: None
    • Component/s: Android Support
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Qt from 'origin/6.1' branch.

      Just build any default Qml app (template) and try to launch on Android device.

      Exception occurred while executing:
      java.lang.IllegalArgumentException: Argument expected after "force-stop"
      	at android.os.ShellCommand.getNextArgRequired(ShellCommand.java:327)
      	at com.android.server.am.ActivityManagerShellCommand.runForceStop(ActivityManagerShellCommand.java:1028)
      	at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:208)
      	at android.os.ShellCommand.exec(ShellCommand.java:104)
      	at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10729)
      	at android.os.Binder.shellCommand(Binder.java:881)
      	at android.os.Binder.onTransact(Binder.java:765)
      	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4789)
      	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2998)
      	at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:99)
      	at android.os.Binder.execTransactInternal(Binder.java:1021)
      	at android.os.Binder.execTransact(Binder.java:994)
      
      pidof: Needs 1 argument (see "pidof --help")
      Exception occurred while executing:
      java.lang.IllegalArgumentException: Bad component name: /
      	at android.content.Intent.parseCommandArgs(Intent.java:7285)
      	at com.android.server.am.ActivityManagerShellCommand.makeIntent(ActivityManagerShellCommand.java:317)
      	at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:409)
      	at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:172)
      	at android.os.ShellCommand.exec(ShellCommand.java:104)
      	at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10729)
      	at android.os.Binder.shellCommand(Binder.java:881)
      	at android.os.Binder.onTransact(Binder.java:765)
      	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4789)
      	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2998)
      	at com.android.server.am.OppoActivityManagerService.onTransact(OppoActivityManagerService.java:99)
      	at android.os.Binder.execTransactInternal(Binder.java:1021)
      	at android.os.Binder.execTransact(Binder.java:994)
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            portale Alessandro Portale
            Reporter:
            dmitry.sokolov Dmitry Sokolov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes