Need command line to start web browser using adb
Running this command will start a web browser in android: adb shell am start -a android.intent.action.VIEW -d http://www.stackoverflow.com
Running this command will start a web browser in android: adb shell am start -a android.intent.action.VIEW -d http://www.stackoverflow.com
Try doing this: Unplug the device Execute adb kill-server && adb start-server(that restarts adb) Re-plug the device Also you can try to edit an adb config file .android/adb_usb.ini and add a line 04e8 after the header. Restart adb required for changes to take effect.
The correct way to do it would be: adb -s 123abc12 shell getprop Which will give you a list of all available properties and their values. Once you know which property you want, you can give the name as an argument to getprop to access its value directly, like this: adb -s 123abc12 shell getprop … Read more
This works for me… go to GenyMotion settings -> ADB tab instead of Use Genymotion Android tools, choose custom Android SDK Tools and then browse your installed SDK.
adb backup will write an Android-specific archive: adb backup -f myAndroidBackup.ab com.corp.appName This archive can be converted to tar format using: dd if=myAndroidBackup.ab bs=4K iflag=skip_bytes skip=24 | openssl zlib -d > myAndroidBackup.tar Reference: http://nelenkov.blogspot.ca/2012/06/unpacking-android-backups.html Search for “Update” at that link. Alternatively, use Android backup extractor to extract files from the Android backup (.ab) file.
You don’t need to specify full path to your activity, but if you want to test whether you react properly to URI in your app just specify app package: adb shell am start -a android.intent.action.VIEW -d “example://gizmos” com.myapp Also there is bug in command you provided – there should be example://gizmos not example:gizmos
Yes, you can install an apk on a particular device. In command, type: adb devices // list of devices and its unique ID… Then type: adb -s “<deviceIDfromlist>” install “<path-to-apk>”
The same trouble with same device has been here. So, it’s Xiaomi trouble, and here is a solution for this problem: Go to the “Security” application and tap “Options” at top right corner Scroll down to “Feature Settings” group, and look for “Permissions” At there switch off “Install via USB” option, which manages installation of … Read more
By design adb root command works in development builds only (i.e. eng and userdebug which have ro.debuggable=1 by default). So to enable the adb root command on your otherwise rooted device just add the ro.debuggable=1 line to one of the following files: /system/build.prop /system/default.prop /data/local.prop If you want adb shell to start as root by … Read more
Try running this: killall -9 adb That should remove all running traces of the daemon Edit: Best solution below This issue may be adb incompatibility with the newest version of the platform SDK. The best solution for this issue with Genymotion is to set the Android SDK within Genymotion to your location. This can be … Read more