No issue: when init profiling, remind to enable setting in app.
This commit is contained in:
parent
489ba6ccc4
commit
319883d951
|
@ -41,7 +41,9 @@ def push(id, filename):
|
||||||
print('Pushing {} to device.'.format(filename))
|
print('Pushing {} to device.'.format(filename))
|
||||||
run(['adb', 'push', config.name, os.path.join(PATH_PREFIX, filename)])
|
run(['adb', 'push', config.name, os.path.join(PATH_PREFIX, filename)])
|
||||||
run(['adb', 'shell', 'am', 'set-debug-app', '--persistent', id])
|
run(['adb', 'shell', 'am', 'set-debug-app', '--persistent', id])
|
||||||
print('Startup profiling enabled on all future start ups, possibly even after reinstall. Call script with `deactivate` to disable it.')
|
print('\nStartup profiling enabled on all future start ups, possibly even after reinstall.')
|
||||||
|
print('Call script with `deactivate` to disable it.')
|
||||||
|
print('DON\'T FORGET TO ENABLE \'Remote debugging via USB\' IN THE APP SETTINGS!')
|
||||||
finally:
|
finally:
|
||||||
os.remove(config.name)
|
os.remove(config.name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user