"adb kill" - does it need a root'ed device?
mingw android
mingw.android at gmail.com
Tue Jun 21 23:09:46 CEST 2011
Hi,
I guess that's when you kill the process from the java side, as
there's also androidrunner.cpp. Espen, did you try pressing the stop
debugging button?
...
void AndroidRunner::killPID()
I think that's what gets called when you press stop in QtCreator:
We need to change it to from:
m_killProcess.start(AndroidConfigurations::instance().adbToolPath(),QStringList()<<"-s"<<m_deviceSerialNumber<<"shell"<<"kill"<<"-9"<<QString::number(m_gdbserverPID));
to something like:
m_killProcess.start(AndroidConfigurations::instance().adbToolPath(),QStringList()<<"-s"<<m_deviceSerialNumber<<"shell"<<"kill"<<"run-as"<<m_packageName<<"-9"<<QString::number(m_gdbserverPID));
(may need to re-order the kill order to gdbserver, then then our
process, I'm not sure).
On Tue, Jun 21, 2011 at 9:23 PM, Christian Kuester <c.kuester at tarent.de> wrote:
> On Tue, Jun 21, 2011 at 09:35:30PM +0200, Espen Riskedal wrote:
>> Tried it, didn't work. Neither using the app_XXX name, nor using the
>> PID of the process that gdbserver belongs to.
>
> I checked the QtActivity Code and I think we need to check why the
> onDestroy-Method is not called, because it's responsible for killing
> the child gdbserver process.
>
> ck
> --
> Dipl.-Inform. Christian Küster
>
> tarent solutions GmbH
> Heilsbachstraße 24, D-53123 Bonn * http://www.tarent.de/
> Tel: +49 228 52675-0 * Fax: +49 228 52675-25
> Mobil: +49 171 7673249
> HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
> Geschäftsführer: Boris Esser, Elmar Geese
>
> _______________________________________________
> Necessitas-devel mailing list
> Necessitas-devel at kde.org
> https://mail.kde.org/mailman/listinfo/necessitas-devel
>
More information about the Necessitas-devel
mailing list