Related google issue tracker entry from 2016 (!):
https://issuetracker.google.com/issues/37093233

Most interesting:
* Google has added tests to their Android certification to make sure
this is fixed for future devices.
* There also is some issue with a Pixel C device mentioned there ...
* Not sure if the workaround here:
https://visualgdb.com/tutorials/android/run-as/ would be
possible/worth to implement for Qt ?

Best regards
Markus

Am Di., 5. Feb. 2019 um 01:10 Uhr schrieb René Hansen <[email protected]>:
>
> I have the same problem with a Samsung device. I don't think there's a 
> solution. None that I've come by in any case.
>
> I'm using a different device when debugging instead.
>
>
> /René
>
> On Mon, 4 Feb 2019 at 18:06 Jason H <[email protected]> wrote:
>>
>> So it is a Samsung, and Samsung has disabled run-as.
>>
>>
>> > Sent: Monday, February 04, 2019 at 11:29 AM
>> > From: "Vikas Pachdha" <[email protected]>
>> > To: "Jason H" <[email protected]>, "[email protected]" 
>> > <[email protected]>, qt-creator 
>> > <[email protected]>
>> > Subject: Re: [Android-development] Can't Debug Android app anymore
>> >
>> > This happens when Qt creator is not able to find the directory path of the 
>> > app being debugged. Check if you can run the ‘run-as your_package_name 
>> > pwd’ in the android shell. If not then the device does not support the 
>> > ‘run-as’. command.
>> >
>> > Regards,
>> > Vikas Pachdha.
>> >
>> > On 04.02.19, 17:20, "Android-development on behalf of Jason H" 
>> > <[email protected] on behalf of [email protected]> 
>> > wrote:
>> >
>> >     QtC 4.8.1, Qt 5.12.0
>> >
>> >     Failed to get process path. Reason: The command 
>> > "/Users/jhihn/Library/Android/sdk/platform-tools/adb" terminated with exit 
>> > code 255..
>> >     But it exists, and I can execute it from a shell.
>> >     There is a device plugged in, and I have no problems with it 
>> > not-being-debugged.
>> >
>> >     How do I go about debugging this?
>> >     _______________________________________________
>> >     Android-development mailing list
>> >     [email protected]
>> >     https://lists.qt-project.org/listinfo/android-development
>> >
>> >
>> >
>> _______________________________________________
>> Android-development mailing list
>> [email protected]
>> https://lists.qt-project.org/listinfo/android-development
>
> _______________________________________________
> Android-development mailing list
> [email protected]
> https://lists.qt-project.org/listinfo/android-development
_______________________________________________
Qt-creator mailing list
[email protected]
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to