usb-debugging

XIomi redmi note adb usb debug drivers

落花浮王杯 提交于 2019-12-11 11:09:02
问题 I tried many ADB Driver Softwares of Xaiomi redmi note but i am unable to use USB-debugging mode while running a real app from android studio 回答1: No need to install external ADB Driver for Redmi,Redmi already Provide with device. The device may not be visible for debugging if it is in MTP mode. Redmi 3S work in charging Mode in win 8. This can be change 1. Go Setting 2. Additional Setting 3. Developers Option 4. Select USB Configuration 5. Select Charging Only 回答2: If you're having problem

android Can't open file for reading

偶尔善良 提交于 2019-12-10 19:29:47
问题 Hi I created my first Hello World app and followed instructions as posted on developer.android but when I connect my sony xperia s with debugging enabled and run my app , i see in the logcat errors saying "E/(4446): Can't open file for reading" I am using the ADT plugin for Eclipse package com.example.myfirstapp; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MyMainActivity extends Activity { @Override protected void onCreate(Bundle

USB Vendor ID for Aakash tablets

梦想的初衷 提交于 2019-12-08 05:06:36
问题 To enable USB debugging(android development using eclipse on ubuntu), we need a USB vendor ID of the device. Does anyone know for Aakash(manufacturer: Datawind), because Datawind is not there on the list by Google. 回答1: 4 Steps: make sure, tablet is unplugged run lsusb and note output plugin tablet run lsusb again the output will differ by one line - this gives you VendorID and DeviceID of the tablet 来源: https://stackoverflow.com/questions/16853005/usb-vendor-id-for-aakash-tablets

Chrome Inspect Device not showing android app

北城余情 提交于 2019-12-07 12:39:26
I am trying to debug this app using chrome://inspect - Devices, but I am not able to see my app in the debug app list. I can see the device name and only Chrome app under it, but not my app. Settings that I have applied Enable USB Debugging (Android Device) Discover USD Devices (Chrome Dev Tools) Select Debug app - App Name Use USB for - File Transfer Added android:debuggable="true" in Manifest file I have also tried using different USB cables, different android device, but no luck. Found answer on Remote Debugging WebViews on Google Developers. This method has been added in API Level 19 ,

USB Vendor ID for Aakash tablets

China☆狼群 提交于 2019-12-07 00:21:29
To enable USB debugging(android development using eclipse on ubuntu), we need a USB vendor ID of the device. Does anyone know for Aakash(manufacturer: Datawind), because Datawind is not there on the list by Google. 4 Steps: make sure, tablet is unplugged run lsusb and note output plugin tablet run lsusb again the output will differ by one line - this gives you VendorID and DeviceID of the tablet 来源: https://stackoverflow.com/questions/16853005/usb-vendor-id-for-aakash-tablets

Unable to install android app via usb debugging

点点圈 提交于 2019-12-05 14:39:32
问题 I know this is an old question but I am trying to install my app the very first time on Redmi note 4. Whenever i try to install it displays a dialog saying.. Installation failed with message Failed to establish session. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WARNING: Uninstalling will remove the application data! And it gives error after this. This app is not installed before,I have cleared cache

no target device found android studio 2.1.1

强颜欢笑 提交于 2019-12-04 14:56:38
问题 i'm using android studio 2.1.1 in ubuntu 14.04.Now my question is,i want to run the program through my phone without emulator. so i chose the target as usb device but whenever i run this,below mentioned error is rasing. Error running app : No target device found. i checked my device by using adb devices command in terminal. adithya@adithya-Lenovo-B460e:~$ adb devices List of devices attached 59V8I7HEJJWGGMK7 device i also tried with selecting of MTP & PTP.but nothing worked out. kindly anyone

Keep screen on in Activity - does not work with FLAG_KEEP_SCREEN_ON

跟風遠走 提交于 2019-12-04 05:10:36
So, for a long time I thought that I knew how to stop the screen from going into sleep mode, I simply used this code in my Activity: getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); However, I realized that this only worked when my phone was in "developer mode", ie when the usb debugging (Settings --> Developer options --> USB debugging) was enabled/checked. Then the above codes indeed stops the screen/device to go to sleep. When that debugging is not checked, then my screen goes to sleep like there's no tomorrow. I am running Android 4.04 on my device, and android

no target device found android studio 2.1.1

旧街凉风 提交于 2019-12-03 09:18:27
i'm using android studio 2.1.1 in ubuntu 14.04.Now my question is,i want to run the program through my phone without emulator. so i chose the target as usb device but whenever i run this,below mentioned error is rasing. Error running app : No target device found. i checked my device by using adb devices command in terminal. adithya@adithya-Lenovo-B460e:~$ adb devices List of devices attached 59V8I7HEJJWGGMK7 device i also tried with selecting of MTP & PTP.but nothing worked out. kindly anyone help me to solve this problem.. Jeremie I already had this problem before. Choose "Run" then "Edit

How to connect multiple android devices with ADB over wifi

自古美人都是妖i 提交于 2019-12-03 08:18:36
ADB is installed in the computer, and usb debugging is enabled on devices. Also I have connected one device over wifi successfully. How to connect more devices without having to mention the serial number of the device for every additional device with the -s flag like: adb -s <serial> tcpip <port> Yes there is a way to do so without having to type the serial number. Say you have 2 devices A (IP: 192.168.1.32) and B (IP: 192.168.1.33) that you want to connect to ADB over wifi: Connect device A with a USB cable to the computer (but not B) adb -d tcpip 5555 adb connect 192.168.1.32 Disconnect