How to profile Android application without USB connection to device?
up vote
0
down vote
favorite
I want to profile an Android application on a physical Android device without using a USB connection from the device to my computer. The device's USB port is being used by a peripheral that is essential to my application.
I'm using the Android Wifi ADB Android Studio plugin and have successfully connected the device to utilise the bridge to Android Studio 3.2.1
When I attempt to begin a new profiling session using the Android Profiler my connected device appears to have "no debuggable processes."
How can I profile my application without a USB connection to my Android device?
android performance android-studio performance-testing
add a comment |
up vote
0
down vote
favorite
I want to profile an Android application on a physical Android device without using a USB connection from the device to my computer. The device's USB port is being used by a peripheral that is essential to my application.
I'm using the Android Wifi ADB Android Studio plugin and have successfully connected the device to utilise the bridge to Android Studio 3.2.1
When I attempt to begin a new profiling session using the Android Profiler my connected device appears to have "no debuggable processes."
How can I profile my application without a USB connection to my Android device?
android performance android-studio performance-testing
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to profile an Android application on a physical Android device without using a USB connection from the device to my computer. The device's USB port is being used by a peripheral that is essential to my application.
I'm using the Android Wifi ADB Android Studio plugin and have successfully connected the device to utilise the bridge to Android Studio 3.2.1
When I attempt to begin a new profiling session using the Android Profiler my connected device appears to have "no debuggable processes."
How can I profile my application without a USB connection to my Android device?
android performance android-studio performance-testing
I want to profile an Android application on a physical Android device without using a USB connection from the device to my computer. The device's USB port is being used by a peripheral that is essential to my application.
I'm using the Android Wifi ADB Android Studio plugin and have successfully connected the device to utilise the bridge to Android Studio 3.2.1
When I attempt to begin a new profiling session using the Android Profiler my connected device appears to have "no debuggable processes."
How can I profile my application without a USB connection to my Android device?
android performance android-studio performance-testing
android performance android-studio performance-testing
edited Nov 9 at 19:15
asked Nov 9 at 14:37
esarkis
838
838
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You need to enable adb integration
,
Go to Tools-->Android-->Check Enable ADB Integration
It was a default feature a few versions ago but now it has been disabled by default.
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with theFind Action
tool. I'm on Android Studio 3.2.1
– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
add a comment |
up vote
0
down vote
accepted
I've found a solution thanks to Unity's list of Android profilers.
At this time on Android Studio version 3.2.1 ADB and the Android Profiler do not work together over WiFi.
For my case I've found simpleperf
to be acceptable, a tool which includes functionality to generate CPU flame graphs. I used run_simpleperf_without_usb_connection.py
specifically, as documented in the simpleperf README available here.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need to enable adb integration
,
Go to Tools-->Android-->Check Enable ADB Integration
It was a default feature a few versions ago but now it has been disabled by default.
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with theFind Action
tool. I'm on Android Studio 3.2.1
– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
add a comment |
up vote
0
down vote
You need to enable adb integration
,
Go to Tools-->Android-->Check Enable ADB Integration
It was a default feature a few versions ago but now it has been disabled by default.
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with theFind Action
tool. I'm on Android Studio 3.2.1
– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
add a comment |
up vote
0
down vote
up vote
0
down vote
You need to enable adb integration
,
Go to Tools-->Android-->Check Enable ADB Integration
It was a default feature a few versions ago but now it has been disabled by default.
You need to enable adb integration
,
Go to Tools-->Android-->Check Enable ADB Integration
It was a default feature a few versions ago but now it has been disabled by default.
edited Nov 9 at 19:59
rdj7
7031718
7031718
answered Nov 9 at 14:41
omair issa
14
14
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with theFind Action
tool. I'm on Android Studio 3.2.1
– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
add a comment |
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with theFind Action
tool. I'm on Android Studio 3.2.1
– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with the
Find Action
tool. I'm on Android Studio 3.2.1– esarkis
Nov 9 at 14:55
Great to hear! I've searched Tools but can't find Android and I can't find Enable ADB Integration searching with the
Find Action
tool. I'm on Android Studio 3.2.1– esarkis
Nov 9 at 14:55
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/V4PKndj.png see here
– omair issa
Nov 9 at 15:10
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
i.imgur.com/3O5ofeX.png on Android Studio 3.2.1 I don't have the option. stackoverflow.com/a/49625983/7015599 suggests it was removed from Android Studio 3.2
– esarkis
Nov 9 at 15:25
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Preferences > Build, Execution & Deployment > Debugger Then check or uncheck the box Use libusb backendhttps://stackoverflow.com/questions/47904505/android-studio-3-1-does-not-showing-android-option-under-tools-menu
– omair issa
Nov 9 at 20:48
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
Thank you but I've attempted that fix already and still no success. This is a lot of comments so I've created another post: stackoverflow.com/q/53229325/7015599
– esarkis
Nov 9 at 20:56
add a comment |
up vote
0
down vote
accepted
I've found a solution thanks to Unity's list of Android profilers.
At this time on Android Studio version 3.2.1 ADB and the Android Profiler do not work together over WiFi.
For my case I've found simpleperf
to be acceptable, a tool which includes functionality to generate CPU flame graphs. I used run_simpleperf_without_usb_connection.py
specifically, as documented in the simpleperf README available here.
add a comment |
up vote
0
down vote
accepted
I've found a solution thanks to Unity's list of Android profilers.
At this time on Android Studio version 3.2.1 ADB and the Android Profiler do not work together over WiFi.
For my case I've found simpleperf
to be acceptable, a tool which includes functionality to generate CPU flame graphs. I used run_simpleperf_without_usb_connection.py
specifically, as documented in the simpleperf README available here.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I've found a solution thanks to Unity's list of Android profilers.
At this time on Android Studio version 3.2.1 ADB and the Android Profiler do not work together over WiFi.
For my case I've found simpleperf
to be acceptable, a tool which includes functionality to generate CPU flame graphs. I used run_simpleperf_without_usb_connection.py
specifically, as documented in the simpleperf README available here.
I've found a solution thanks to Unity's list of Android profilers.
At this time on Android Studio version 3.2.1 ADB and the Android Profiler do not work together over WiFi.
For my case I've found simpleperf
to be acceptable, a tool which includes functionality to generate CPU flame graphs. I used run_simpleperf_without_usb_connection.py
specifically, as documented in the simpleperf README available here.
edited Nov 19 at 13:40
answered Nov 19 at 13:26
esarkis
838
838
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53227785%2fhow-to-profile-android-application-without-usb-connection-to-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown