       encodedJSONIPs = encodeURIComponent(JSON.stringify(ips))
       encodedPort = encodeURIComponent(port)
 
-      launchUrl = "appgyver://?ips=#{encodedJSONIPs}&port=#{encodedPort}"
+      launchUrl = "'appgyver://?ips=#{encodedJSONIPs}\&port=#{encodedPort}'"
 
       cmd = "#{@genymotionBasePath}/tools/adb"
       args = ["shell", "am", "start", "-n", "#{@applicationPackage}/#{@applicationActivity}", "-d", launchUrl]

      @startSession = sbawn
        cmd: cmd
        args: args
        stdout: if opts.stdout? then opts.stdout  else false
        stderr: if opts.stderr? then opts.stderr else false

      @startSession.on "exit", =>

      @unlockSession = sbawn
        cmd: cmd
        args: args
        stdout: if opts.stdout? then opts.stdout else false
        stderr: if opts.stderr? then opts.stderr else false

      @unlockSession.on "exit", =>
